aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/asset/storage.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/asset: report deprecation figuresAleksandr Nogikh2024-09-271-7/+18
| | | | | Let's have a bit more introspection into the asset storage deprecation code.
* pkg/asset: simplify gcs codeTaras Madan2024-08-121-10/+6
|
* pgk/asset: don't use dashapi.NewMock()Aleksandr Nogikh2023-12-201-2/+7
| | | | Define a pkg-only view of the required dashapi methods.
* all: use errors.As instead of .(type)Taras Madan2023-07-241-2/+4
|
* pkg/asset: support deprecation in the many buckets caseAleksandr Nogikh2023-05-151-1/+6
| | | | | | | | | | | 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.
* syz-manager: upload mounted images from reprosAleksandr Nogikh2022-10-041-0/+12
| | | | | Collect mounted images from repros and upload them to the asset storage. Report the resulting download URLs to the dashboard.
* pkg/asset: don't set encoding by defaultAleksandr Nogikh2022-09-301-5/+1
| | | | | | | | It causes web browsers to decompress archives in place, which makes it more confusing for the users since the file extension remains in place. The only exception is html coverage reports, adjust the code to handle that.
* pkg/asset: return the proper error when a GCS object existsAleksandr Nogikh2022-08-291-2/+0
| | | | The caller expects a FileExistsError error.
* all: hash and ignore duplicate assetsAleksandr Nogikh2022-08-241-25/+63
| | | | | Calculate sha256 values of assets-to-upload and don't upload them if they already exist.
* pkg/asset: use xz compression libraryAleksandr Nogikh2022-08-241-47/+7
| | | | | Calling an external tool imposes multiple OS/version compatibility issues.
* syz-ci: upload build assetsAleksandr Nogikh2022-08-241-0/+368
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.