Skip to content

Commit ba40f90

Browse files
Fix integration test secrets
1 parent 81211e9 commit ba40f90

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,6 @@ jobs:
8282
uses: ./.github/workflows/integration_test_charms.yaml
8383
with:
8484
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
85+
secrets: inherit
8586
permissions:
8687
contents: write # Needed for Allure Report

.github/workflows/integration_test_charm.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ jobs:
126126
# https://github.com/canonical/charmcraft/issues/2105 and
127127
# https://github.com/canonical/charmcraft/issues/2130 fixed
128128
run: ~/go/bin/spread -vv -artifacts=artifacts '${{ matrix.job.spread_job }}'
129+
env:
130+
UBUNTU_PRO_TOKEN: ${{ secrets.UBUNTU_PRO_TOKEN }}
131+
LANDSCAPE_ACCOUNT_NAME: ${{ secrets.LANDSCAPE_ACCOUNT_NAME }}
132+
LANDSCAPE_REGISTRATION_KEY: ${{ secrets.LANDSCAPE_REGISTRATION_KEY }}
129133
- name: Upload Allure results
130134
timeout-minutes: 3
131135
# Only upload results from one spread system & one spread variant

.github/workflows/integration_test_charms.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
with:
2222
artifact-prefix: ${{ inputs.artifact-prefix }}
2323
path-to-charm-directory: ${{ matrix.path }}
24+
secrets: inherit
2425

2526
allure-report:
2627
# TODO future improvement: use concurrency group for job

0 commit comments

Comments
 (0)