Skip to content

Commit 67bcf2b

Browse files
Chore: [ELI-811] - Added workflow for nbs preprod data (#278)
* Chore: [ELI-811] - Added run-nbs-int-tests job for NBS integration tests in preprod * Chore: [ELI-811] - Fixed the failing asdf installation step * Chore: [ELI-811] - Fixed the deprecated dependency * Chore: [ELI-811] - Updated AWS secrets * Chore: [ELI-811] - Updated actions/cache * Chore: [ELI-811] - Updated actions/cache * Chore: [ELI-811] - Updated SHA for aws
1 parent a19b41c commit 67bcf2b

1 file changed

Lines changed: 12 additions & 13 deletions

File tree

.github/workflows/nbs-int-tests.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: NBS Int Tests
1+
name: Repopulate NBS Preprod Data
22

33
on:
44
workflow_dispatch:
@@ -13,45 +13,44 @@ jobs:
1313

1414
steps:
1515
- name: Checkout main
16-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
16+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
1717
with:
1818
ref: main
1919

2020
- name: Install asdf
21-
uses: asdf-vm/actions/setup@4f8f7939dd917fc656bb7c3575969a5988c28364
21+
uses: asdf-vm/actions/setup@b7bcd026f18772e44fe1026d729e1611cc435d47
2222
with:
23-
asdf_version: v0.18.0
23+
asdf_version: 0.18.0
2424

2525
- name: Cache asdf
26-
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
26+
uses: actions/cache@v5
2727
with:
2828
path: |
2929
~/.asdf
3030
key: ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }}
3131

32-
- name: Install asdf dependencies
33-
uses: asdf-vm/actions/install@4f8f7939dd917fc656bb7c3575969a5988c28364
32+
- name: Install asdf dependencies in .tool-versions
33+
uses: asdf-vm/actions/install@b7bcd026f18772e44fe1026d729e1611cc435d47
3434
with:
35-
asdf_version: v0.18.0
35+
asdf_version: 0.18.0
3636
env:
3737
PYTHON_CONFIGURE_OPTS: --enable-shared
3838

3939
- name: Cache Virtualenv
4040
id: cache-venv
41-
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
41+
uses: actions/cache@v5
4242
with:
43-
path: |
44-
.venv
43+
path: .venv
4544
key: ${{ runner.os }}-venv-${{ hashFiles('pyproject.toml') }}
4645

4746
- name: Install Dependencies
4847
if: steps.cache-venv.outputs.cache-hit != 'true'
49-
run: make install
48+
run: make install-python
5049

5150
- name: Configure AWS Credentials
5251
uses: aws-actions/configure-aws-credentials@a7f0c828ac76e0d049e34c920172c60f579f9eb3
5352
with:
54-
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/Eligibility-Signposting-API-E2E-Regression-Tests
53+
role-to-assume: arn:aws:iam::${{ secrets.ELID_PREPROD_AWS_ACCOUNT_ID }}:role/Eligibility-Signposting-API-E2E-Regression-Tests
5554
aws-region: eu-west-2
5655

5756
- name: Run NBS Integration Tests

0 commit comments

Comments
 (0)