Bump the root-gradle-deps group with 9 updates (#1511) #56
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: Update Test Images | |
# We should execute only one workflow run at a time | |
concurrency: | |
group: test_images_concurrency | |
cancel-in-progress: false | |
on: | |
workflow_dispatch: | |
push: | |
branches: ['terraform'] | |
# List of paths that should be considered when triggering the workflow | |
paths: ['mocked_servers/**', 'sample-apps/**'] | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
run-image-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Remove cache | |
run: rm -rf /opt/hostedtoolcache | |
- uses: actions/checkout@v4 | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
role-to-assume: ${{ secrets.TEST_FW_ASSUMABLE_ROLE_ARN }} | |
aws-region: us-west-2 | |
role-duration-seconds: 7200 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- uses: gradle/wrapper-validation-action@v1 | |
- name: Build locally with gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: build | |
- name: Set up terraform | |
uses: hashicorp/setup-terraform@v3 | |
- name: run imagebuild | |
working-directory: terraform/imagebuild | |
run: | | |
terraform init && terraform apply --auto-approve |