aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/asset/backend_gcs.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/gcs: define Client interfaceTaras Madan2025-03-251-3/+3
| | | | | | Some functions are not the struct members now. Some functions deleted. Client mock generated.
* all: pkg/gcs supports AppEngine contextTaras Madan2024-08-121-1/+2
|
* pkg/asset: simplify gcs codeTaras Madan2024-08-121-13/+2
|
* pkg/asset: support deprecation in the many buckets caseAleksandr Nogikh2023-05-151-4/+10
| | | | | | | | | | | If several syz-cis with different GCS buckets for assets are connected to a single dashboard, we currently face problems during the asset deprecation process. If we receive from the dashboard a valid GCS URL that belong to an unknown bucket, don't abort the process. Just ignore the URL. Test this behavior.
* pkg/asset: fix download URLs formation for duplicate assetsAleksandr Nogikh2022-09-291-2/+2
| | | | | From the upload method, always return the path without the bucket. Always prepend the bucket name in the downloadURL().
* pkg/asset: return the proper error when a GCS object existsAleksandr Nogikh2022-08-291-2/+2
| | | | The caller expects a FileExistsError error.
* all: hash and ignore duplicate assetsAleksandr Nogikh2022-08-241-0/+10
| | | | | Calculate sha256 values of assets-to-upload and don't upload them if they already exist.
* syz-ci: upload build assetsAleksandr Nogikh2022-08-241-0/+112
This commit introduces the syz-ci side of the asset storage functionality. * Intercept assets at various stages of syz-ci operation. * Compress and upload assets to GCS. * Report assets to the dashboard. * Remove no longer needed assets.