Skip to content

Commit

Permalink
barely less than n_images (#2940)
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Wolf <[email protected]>
  • Loading branch information
joshrwolf authored Nov 22, 2024
1 parent d5fdc4d commit 0973304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
concurrency: release

env:
TOTAL_SHARDS: 256
TOTAL_SHARDS: 40
TF_VAR_target_repository: cgr.dev/chainguard

permissions:
Expand All @@ -40,7 +40,7 @@ jobs:
name: Shard
shell: bash # bash math foo required
run: |
images=($(find ./images -maxdepth 1 -type d -not -path "./images/TEMPLATE" | awk -F'/' '{print $3}' | sort -u))
images=($(find ./images -maxdepth 1 -type d -not -path "./images/TEMPLATE" | awk -F'/' '{print $3}' | sort -u | shuf))
# n buckets to shard into
n=${{ env.TOTAL_SHARDS }}
Expand Down

0 comments on commit 0973304

Please sign in to comment.