terraform apply

This commit is contained in:
Jun-te Kim 2026-02-16 12:30:57 +00:00
parent c1f784b87f
commit a6c827c47f
2 changed files with 25 additions and 27 deletions

View file

@ -117,8 +117,7 @@ jobs:
stage: ${{ needs.determine_stage.outputs.stage }}
ecr_repo: address2uprn-${{ needs.determine_stage.outputs.stage }}
image_digest: ${{ needs.address2uprn_image.outputs.image_digest }}
# terraform_apply: ${{ needs.determine_stage.outputs.terraform_apply }}
terraform_apply: 'true'
terraform_apply: ${{ needs.determine_stage.outputs.terraform_apply }}
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.DEV_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.DEV_AWS_SECRET_ACCESS_KEY }}
@ -159,8 +158,7 @@ jobs:
stage: ${{ needs.determine_stage.outputs.stage }}
ecr_repo: postcode_splitter-${{ needs.determine_stage.outputs.stage }}
image_digest: ${{ needs.postcodeSplitter_image.outputs.image_digest }}
# terraform_apply: ${{ needs.determine_stage.outputs.terraform_apply }}
terraform_apply: 'true'
terraform_apply: ${{ needs.determine_stage.outputs.terraform_apply }}
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.DEV_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.DEV_AWS_SECRET_ACCESS_KEY }}

View file

@ -1,30 +1,30 @@
# name: Run unit tests
name: Run unit tests
# on:
# pull_request:
# branches:
# - "**"
on:
pull_request:
branches:
- "**"
# jobs:
# test:
# runs-on: ubuntu-latest
jobs:
test:
runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
steps:
- name: Checkout code
uses: actions/checkout@v4
# - name: Set up Python 3.11
# uses: actions/setup-python@v4
# with:
# python-version: '3.11'
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
# - name: Install tox via Makefile
# run: |
# make setup
- name: Install tox via Makefile
run: |
make setup
# - name: Run tests with tox via Makefile
# env:
# EPC_AUTH_TOKEN: ${{ secrets.DEV_EPC_AUTH_TOKEN }}
# run: |
# make test
- name: Run tests with tox via Makefile
env:
EPC_AUTH_TOKEN: ${{ secrets.DEV_EPC_AUTH_TOKEN }}
run: |
make test