Skip to content

Commit

Permalink
gh-actions: update deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
drjova committed Jun 27, 2023
1 parent 1cf88f5 commit 3461028
Showing 1 changed file with 18 additions and 22 deletions.
40 changes: 18 additions & 22 deletions .github/workflows/test-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,34 +124,30 @@ jobs:

Deploy_Backend:
needs: [backend_build_test]
uses: cern-sis/gh-workflows/.github/workflows/deploy-qa.yml@v1.0.0
uses: cern-sis/gh-workflows/.github/actions/kubernetes-project-new-images@v6
with:
project: cat
application: cat-backend
namespace: cat-qa
image: registry.cern.ch/cern-sis/cat-backend
secrets:
PAT: ${{ secrets.PAT_FIRE_EVENTS_ON_CERN_SIS_KUBERNETES }}
event-type: update
images: |
registry.cern.ch/cern-sis/cat-backend:latest
registry.cern.ch/cern-sis/cat-backend:${{ github.sha }}
token: ${{ secrets.CERN_SIS_BOT_PAT }}

Deploy_UI:
needs: [ui_build_test]
uses: cern-sis/gh-workflows/.github/workflows/deploy-qa.yml@v1.0.0
uses: cern-sis/gh-workflows/.github/actions/kubernetes-project-new-images@v6
with:
project: cat
application: cat-ui
namespace: cat-qa
image: registry.cern.ch/cern-sis/cat-ui
secrets:
PAT: ${{ secrets.PAT_FIRE_EVENTS_ON_CERN_SIS_KUBERNETES }}
event-type: update
images: |
registry.cern.ch/cern-sis/cat-ui:latest
registry.cern.ch/cern-sis/cat-ui:${{ github.sha }}
token: ${{ secrets.CERN_SIS_BOT_PAT }}

Deploy_Harvest:
needs: [harvest_build_test]
uses: cern-sis/gh-workflows/.github/workflows/deploy-qa.yml@v1.0.0
uses: cern-sis/gh-workflows/.github/actions/kubernetes-project-new-images@v6
with:
project: cat
application: cat-harvest
namespace: cat-qa
image: registry.cern.ch/cern-sis/cat-harvest
secrets:
PAT: ${{ secrets.PAT_FIRE_EVENTS_ON_CERN_SIS_KUBERNETES }}

event-type: update
images: |
registry.cern.ch/cern-sis/cat-harvest:latest
registry.cern.ch/cern-sis/cat-harvest:${{ github.sha }}
token: ${{ secrets.CERN_SIS_BOT_PAT }}

0 comments on commit 3461028

Please sign in to comment.