Skip to content

Commit

Permalink
chore: pin aws-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 23, 2025
1 parent 735cb3e commit ca16daf
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ jobs:
merge-multiple: true
- run: echo "${{ secrets.MINISIGN_KEY }}" >minisign.key
- run: ls -R artifacts
- run: scripts/release.sh
- run: mise x -- scripts/release.sh
env:
CLOUDFLARE_ACCESS_KEY_ID: ${{ secrets.CLOUDFLARE_ACCESS_KEY_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
Expand Down
7 changes: 7 additions & 0 deletions mise.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ actionlint-macos-aarch64 = "sha256:baa69aa6ae140310d9d86127d916abd42cd2ad446aef0
"actionlint_1.7.6_darwin_arm64.tar.gz" = "sha256:9a7c9cb2b627bb137ef68742eead2dd5b78f3ddc44876e84c37d323ba28b4710"
"actionlint_1.7.6_linux_amd64.tar.gz" = "sha256:5d1a70d9de15fee5371e6f9e20cc29b284e814d6ee1b882f9749e91caf716eba"

[tools.aws-cli]
version = "2.22.35"
backend = "aqua:aws/aws-cli"

[tools.aws-cli.checksums]
"AWSCLIV2-2.22.35.pkg" = "sha256:878a047ccb7cbccc0b31737a2e2eb6c07d8c0c5d436581f6500bb56bd224acca"

[tools.bun]
version = "1.1.44"
backend = "core:bun"
Expand Down
1 change: 1 addition & 0 deletions mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ _.path = ["./target/debug", "./node_modules/.bin"]

[tools]
"actionlint" = "latest"
aws-cli = "2.22.35" # pinning due to https://www.cloudflarestatus.com/incidents/t5nrjmpxc1cj
bun = "1.1.44"
cargo-binstall = "1.10.17"
"cargo:cargo-edit" = "latest"
Expand Down
2 changes: 2 additions & 0 deletions scripts/publish-s3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ cache_week="max-age=604800,s-maxage=604800,public,immutable"

#aws s3 cp "$RELEASE_DIR/$MISE_VERSION" "s3://$AWS_S3_BUCKET/$MISE_VERSION/" --cache-control "$cache_week" --no-progress --recursive --include "*" --exclude "*.tar.gz" --exclude "*.tar.xz"

which aws
aws --version
aws s3 cp "$RELEASE_DIR" "s3://$AWS_S3_BUCKET/" --cache-control "$cache_day" --no-progress --recursive --exclude "*.tar.gz" --exclude "*.tar.xz" --include "mise-latest-*"
aws s3 cp "$RELEASE_DIR" "s3://$AWS_S3_BUCKET/" --cache-control "$cache_day" --no-progress --content-type "text/plain" --recursive --exclude "*" --include "SHASUMS*"
aws s3 cp "$RELEASE_DIR/VERSION" "s3://$AWS_S3_BUCKET/" --cache-control "$cache_day" --no-progress --content-type "text/plain"
Expand Down

0 comments on commit ca16daf

Please sign in to comment.