Skip to content

Commit

Permalink
backfill: use gsutil (#26487)
Browse files Browse the repository at this point in the history
It doesn't seem to be actually backfilling, and only seems to try for
the first package in the list. This works in the other repo, so maybe
`gcloud alpha storage cp` has different behavior we were relying on.

If this doesn't work I can disable some of the log-quieting stuff and
figure out why it's broken.

Signed-off-by: Jason Hall <[email protected]>
  • Loading branch information
imjasonh authored Aug 16, 2024
1 parent 33ef019 commit c3ed1d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/backfill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
# Get package from GCS, continue if it doesn't exist (e.g., not in the repo)
echo "Downloading ${pkg} from GCS"
gcloud alpha storage cp gs://wolfi-production-registry-destination/os/${arch}/${pkg} ${tmp}/ > /dev/null 2>&1 || continue
gsutil cp gs://wolfi-production-registry-destination/os/${arch}/${pkg} ${tmp}/ > /dev/null 2>&1 || continue
echo "Downloaded ${pkg} from GCS"
echo "Uploading ${pkg} to apk.cgr.dev"
Expand Down

0 comments on commit c3ed1d2

Please sign in to comment.