Skip to content

Commit

Permalink
Fikse matrix mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
torhakon committed Aug 29, 2024
1 parent bc91d86 commit 77277bc
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ciCreatePlatformPool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ jobs:
steps:
- run: echo "poolTag=$(jq --raw-output '.tag' ${{ matrix.poolType.poolConfigPath }})" >> $GITHUB_ENV

- name: Print Vaules
run: |
echo Pool Tag: ${{ env.poolTag }}
echo Pool Type: ${{ matrix.poolType }}
echo Pool Config Path: ${{ matrix.poolConfigPath }}
echo Pool Delete Job Type: ${{ matrix.deleteJobType }}
- uses: actions/checkout@v4
with:
ref: ${{ inputs.gitRef }}
Expand All @@ -75,13 +82,13 @@ jobs:
with:
devhub: "devhub"
poolTag: ${{ env.poolTag }}
deleteJobType: ${{ matrix.poolType.deleteJobType }}
deleteJobType: ${{ matrix.deleteJobType }}

- name: "Create Pool"
uses: navikt/sf-platform/.github/actions/ciCreatePool@main
with:
devhub: "devhub"
poolConfigPath: ${{ matrix.poolType.poolConfigPath }}
poolConfigPath: ${{ matrix.poolConfigPath }}
nodeToken: ${{ secrets.GITHUB_TOKEN }}

- name: "Delete orphans"
Expand Down

0 comments on commit 77277bc

Please sign in to comment.