app: Update template-infra:app
to version 0.15.1.post13.dev0+09d0ede
#19
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: CI Infra Service Checks - app | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- infra/app/service/** | |
- infra/modules/** | |
- infra/test/** | |
- .github/workflows/ci-app-infra-service.yml | |
pull_request: | |
paths: | |
- infra/app/service/** | |
- infra/modules/** | |
- infra/test/** | |
- .github/workflows/ci-app-infra-service.yml | |
workflow_dispatch: | |
inputs: | |
version: | |
required: true | |
default: "main" | |
description: Tag or branch or SHA to test | |
jobs: | |
build-and-publish: | |
name: Build | |
uses: ./.github/workflows/build-and-publish.yml | |
with: | |
app_name: app | |
ref: ${{ inputs.version || github.ref }} | |
infra-test-e2e: | |
name: Test service | |
runs-on: ubuntu-latest | |
needs: [build-and-publish] | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ inputs.version || github.ref }} | |
- name: Set up Terraform | |
uses: ./.github/actions/setup-terraform | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ">=1.19.0" | |
- name: Configure AWS credentials | |
uses: ./.github/actions/configure-aws-credentials | |
with: | |
app_name: app | |
# Run infra CI on dev environment | |
environment: dev | |
- name: Run Terratest | |
run: make infra-test-service APP_NAME=app |