More granular loops, update go-github
This commit adds: * more granular loops for various operations * update go-github to latest version * skip trying to fetch runner info for canceled or skipped jobs * loops use waitgroups to signal exit Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
parent
f84da48f5b
commit
a9cf5127a9
412 changed files with 26323 additions and 4101 deletions
20
vendor/github.com/google/go-github/v48/github/without_appengine.go
generated
vendored
20
vendor/github.com/google/go-github/v48/github/without_appengine.go
generated
vendored
|
|
@ -1,20 +0,0 @@
|
|||
// Copyright 2017 The go-github AUTHORS. All rights reserved.
|
||||
//
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build !appengine
|
||||
// +build !appengine
|
||||
|
||||
// This file provides glue for making github work without App Engine.
|
||||
|
||||
package github
|
||||
|
||||
import (
|
||||
"context"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func withContext(ctx context.Context, req *http.Request) *http.Request {
|
||||
return req.WithContext(ctx)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue