Skip to content

Repopulate NBS Preprod Data #7

Repopulate NBS Preprod Data

Repopulate NBS Preprod Data #7

Workflow file for this run

name: Repopulate NBS Preprod Data
on:
workflow_dispatch:
jobs:
run-nbs-int-tests:
permissions:
id-token: write
contents: read
runs-on: ubuntu-22.04
environment: preprod
steps:
- name: Checkout main
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
ref: main
- name: Install asdf
uses: asdf-vm/actions/setup@b7bcd026f18772e44fe1026d729e1611cc435d47
with:
asdf_version: 0.18.0
- name: Cache asdf
uses: actions/cache@v5
with:
path: |
~/.asdf
key: ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }}
- name: Install asdf dependencies in .tool-versions
uses: asdf-vm/actions/install@b7bcd026f18772e44fe1026d729e1611cc435d47
with:
asdf_version: 0.18.0
env:
PYTHON_CONFIGURE_OPTS: --enable-shared
- name: Cache Virtualenv
id: cache-venv
uses: actions/cache@v5
with:
path: .venv
key: ${{ runner.os }}-venv-${{ hashFiles('pyproject.toml') }}
- name: Install Dependencies
if: steps.cache-venv.outputs.cache-hit != 'true'
run: make install-python
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@a7f0c828ac76e0d049e34c920172c60f579f9eb3
with:
role-to-assume: arn:aws:iam::${{ secrets.ELID_PREPROD_AWS_ACCOUNT_ID }}:role/Eligibility-Signposting-API-E2E-Regression-Tests
aws-region: eu-west-2
- name: Run NBS Integration Tests
run: make run-nbs-preprod-tests