chore(deps): update docker/setup-buildx-action digest to c47758b #276
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: AWS Regression Suite | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
run_docker: | |
name: Run Docker Container | |
runs-on: ubuntu-latest | |
concurrency: | |
group: aws_regression_suite | |
cancel-in-progress: true | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3 | |
- name: Setup Codespace Container | |
run: | | |
echo "::group::Setup Codespace Container" | |
docker run -d -v $(pwd):/app --workdir /app/tests --rm --name codespaces ghcr.io/glueops/codespaces:v0.49.0 sleep infinity | |
echo "::endgroup::" | |
- name: Running AWS Regression Suite | |
env: | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
run: | | |
docker exec --workdir /app/tests -e AWS_SECRET_ACCESS_KEY -e AWS_ACCESS_KEY_ID=AKIA3COQJC7C2PNUKZV4 -e AWS_DEFAULT_REGION=us-west-2 codespaces sh ./run.sh | |
- name: Run AWS Destroy Only (in case previous step failed) | |
env: | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
run: | | |
docker exec --workdir /app/tests -e AWS_SECRET_ACCESS_KEY -e AWS_ACCESS_KEY_ID=AKIA3COQJC7C2PNUKZV4 -e AWS_DEFAULT_REGION=us-west-2 codespaces sh ./destroy-aws.sh | |
if: always() | |
- name: Delete Codespaces Container | |
run: docker rm -f codespaces | |
if: always() |