aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/gcs
Commit message (Collapse)AuthorAgeFilesLines
* all/mocks: regenerate with mockery v3Taras Madan2025-07-011-106/+142
|
* pkg/gcs: check errors with errors.IsAleksandr Nogikh2025-05-021-2/+2
| | | | | | After https://github.com/googleapis/google-cloud-go/pull/11519, the cloud storage library wraps the errors which we used to check directly. This has led to multiple asset upload errors.
* pkg/gcs: simplify interface, remove proxy typeTaras Madan2025-04-022-77/+61
|
* all/mocks: updateTaras Madan2025-03-281-0/+205
|
* all: use mockery config instead of go:generateTaras Madan2025-03-281-2/+0
|
* syz-ci/manager.go: compress programs coverage dataTaras Madan2025-03-272-22/+22
| | | | | Each fuzzing session costs 2G-13G now. It looks too much. The data is highly redundant (jsonl) thus compression should help.
* pkg/gcs: define Client interfaceTaras Madan2025-03-252-54/+257
| | | | | | Some functions are not the struct members now. Some functions deleted. Client mock generated.
* syz-ci/manager.go: make CoverProgramsPath target publicTaras Madan2025-03-191-0/+24
| | | | | PublishGCS param now controls the CoverProgramsPath targets too. Previously it controlled only CoverUploadPath and CorpusUploadPath.
* pkg/gcs: func ListObjects supports pathTaras Madan2024-08-121-2/+8
|
* all: pkg/gcs supports AppEngine contextTaras Madan2024-08-121-2/+1
|
* pkg/asset: simplify gcs codeTaras Madan2024-08-121-2/+1
|
* all: use special placeholder for errorsTaras Madan2023-07-241-1/+1
|
* all: hash and ignore duplicate assetsAleksandr Nogikh2022-08-241-0/+14
| | | | | Calculate sha256 values of assets-to-upload and don't upload them if they already exist.
* pkg/gcs: only return paths during listingAleksandr Nogikh2022-08-241-4/+4
| | | | For download URLs we anyway need extra information.
* pkg/gcs: construct download URLs in placeAleksandr Nogikh2022-08-241-13/+11
| | | | We cannot request it using the library, so let's do it ourselves.
* pkg/gcs: add attributes, listing and deletion supportAleksandr Nogikh2022-07-151-3/+67
|
* syz-ci: upload coverage reports to GCSDmitry Vyukov2018-09-201-0/+13
| | | | | Upload coverage reports from all managers to GCS after 6 hours of runtime (to make it more apples-to-apples).
* all: fix gometalinter warningsDmitry Vyukov2018-03-081-4/+2
| | | | Fix typos, non-canonical code, remove dead code, etc.
* vm/gce: accept un-tar-ed imageDmitry Vyukov2017-06-171-6/+16
| | | | | | | | | | vm/gce differs from other VM types in that it accepts image in a weird, GCE-specific format (namely, image named disk.raw is put into .tar.gz file). This makes it impossible to write generic code that creates images for any VM types. Make vm/gce accept just image like e.g. vm/qemu and handle own specifics internally.
* pkg/gcs: remove support for gs:// prefixed pathsDmitry Vyukov2017-06-031-3/+0
| | | | | | | The problem with gs:// is that after any filepath.Join it's transformed to gs:/ which is not recognized. It's safer to not allow specifying them at all, rather than constantly breaking them.
* vm/gce: accept local imageDmitry Vyukov2017-06-031-0/+4
| | | | | | | | | | Currently gce accepts precreated GCE image name as image config param, while all other VM types accept local file path as image. This makes it impossible to write generic code that works with all VM types, i.e. after building a new image it's unclear if it needs to be uploaded to GCE or not, and what needs to be passed as image in config. Eliminate this difference by making gce accept local image file as well.
* pkg/gcs: add new packageDmitry Vyukov2017-06-031-0/+107
Move GCS-related functionality from syz-gce to a separate package.