aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/asset/storage_test.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/asset: report deprecation figuresAleksandr Nogikh2024-09-271-6/+6
| | | | | Let's have a bit more introspection into the asset storage deprecation code.
* tools/syz-linter: check t.Logf/Errorf/Fatalf messagesDmitry Vyukov2024-04-171-6/+6
| | | | | Fix checking of Logf, it has string in 0-th arg. Add checking of t.Errorf/Fatalf.
* pgk/asset: don't use dashapi.NewMock()Aleksandr Nogikh2023-12-201-27/+20
| | | | Define a pkg-only view of the required dashapi methods.
* pkg/asset: support deprecation in the many buckets caseAleksandr Nogikh2023-05-151-1/+52
| | | | | | | | | | | 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.
* all: ioutil is deprecated in go1.19 (#3718)Taras Madan2023-02-231-3/+2
|
* all: hash and ignore duplicate assetsAleksandr Nogikh2022-08-241-1/+32
| | | | | 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-10/+8
| | | | | Calling an external tool imposes multiple OS/version compatibility issues.
* syz-ci: upload build assetsAleksandr Nogikh2022-08-241-0/+325
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.