diff options
| author | Taras Madan <tarasmadan@google.com> | 2024-03-08 15:52:59 +0100 |
|---|---|---|
| committer | Taras Madan <tarasmadan@google.com> | 2024-03-21 16:38:22 +0000 |
| commit | 6af1f94a698da45d69e83632a9a06fae10739d1c (patch) | |
| tree | bd76ec4a5a579e4e9b924927c14060def2d18f26 /syz-ci | |
| parent | 0a84219ec0829db2fb2d804eb0a9cbc0c5e6b4b1 (diff) | |
syz-ci: pipeline coverage from manager to gcs
Diffstat (limited to 'syz-ci')
| -rw-r--r-- | syz-ci/manager.go | 3 | ||||
| -rw-r--r-- | syz-ci/syz-ci.go | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/syz-ci/manager.go b/syz-ci/manager.go index 2f86325e6..77497496c 100644 --- a/syz-ci/manager.go +++ b/syz-ci/manager.go @@ -941,7 +941,8 @@ func (mgr *Manager) uploadFile(dstPath, name string, file io.Reader, allowPublis URL.Path = path.Join(URL.Path, name) URLStr := URL.String() log.Logf(0, "uploading %v to %v", name, URLStr) - if strings.HasPrefix(URLStr, "http") { + if strings.HasPrefix(URLStr, "http://") || + strings.HasPrefix(URLStr, "https://") { return uploadFileHTTPPut(URLStr, file) } return uploadFileGCS(URLStr, file, allowPublishing && mgr.cfg.PublishGCS) diff --git a/syz-ci/syz-ci.go b/syz-ci/syz-ci.go index 9c59870ca..e9e12e0e6 100644 --- a/syz-ci/syz-ci.go +++ b/syz-ci/syz-ci.go @@ -106,7 +106,6 @@ type Config struct { // Supported protocols: GCS (gs://) and HTTP PUT (http:// or https://). CoverUploadPath string `json:"cover_upload_path"` // Path to upload json coverage reports from managers (optional). - // Supported protocol: GCS (gs://) CoverPipelinePath string `json:"cover_pipeline_path"` // Path to upload corpus.db from managers (optional). // Supported protocols: GCS (gs://) and HTTP PUT (http:// or https://). |
