Skip to content

Commit

Permalink
ci: fix matrix name vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Campos committed Nov 2, 2023
1 parent 34e002e commit 921a8f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ jobs:
- name: database
- name: backend
parameters:
-p PROMOTE=${{ github.repository }}/${{ matrix.name }}:test
-p PROMOTE=${{ github.repository }}/backend:test
verification_path: "actuator/health"
- name: frontend
parameters:
-p VITE_USER_POOLS_ID=${{ vars.VITE_USER_POOLS_ID }}
-p VITE_USER_POOLS_WEB_CLIENT_ID=${{ vars.VITE_USER_POOLS_WEB_CLIENT_ID }}
-p PROMOTE=${{ github.repository }}/${{ matrix.name }}:test
-p PROMOTE=${{ github.repository }}/frontend:test
steps:
- uses: bcgov-nr/[email protected]
with:
Expand Down Expand Up @@ -117,10 +117,10 @@ jobs:
- name: database
- name: backend
parameters:
-p PROMOTE=${{ github.repository }}/${{ matrix.name }}:test
-p PROMOTE=${{ github.repository }}/backend:test
- name: frontend
parameters:
-p PROMOTE=${{ github.repository }}/${{ matrix.name }}:test
-p PROMOTE=${{ github.repository }}/frontend:test
paratemeters:
-p VITE_USER_POOLS_ID=${{ vars.VITE_USER_POOLS_ID }}
-p VITE_USER_POOLS_WEB_CLIENT_ID=${{ vars.VITE_USER_POOLS_WEB_CLIENT_ID }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
triggers: ('common/' 'database/' 'backend/' 'frontend/')
verification_path: /actuator/health
parameters:
-p PROMOTE=${{ github.repository }}/${{ matrix.name }}:${{ github.event.number }}
-p PROMOTE=${{ github.repository }}/backend:${{ github.event.number }}
-p MIN_REPLICAS=1
-p MAX_REPLICAS=2
- name: frontend
Expand All @@ -106,7 +106,7 @@ jobs:
parameters:
-p VITE_USER_POOLS_ID=${{ vars.VITE_USER_POOLS_ID }}
-p VITE_USER_POOLS_WEB_CLIENT_ID=${{ vars.VITE_USER_POOLS_WEB_CLIENT_ID }}
-p PROMOTE=${{ github.repository }}/${{ matrix.name }}:${{ github.event.number }}
-p PROMOTE=${{ github.repository }}/frontend:${{ github.event.number }}
-p MIN_REPLICAS=1
-p MAX_REPLICAS=2
steps:
Expand Down

0 comments on commit 921a8f4

Please sign in to comment.