Skip to content

Commit

Permalink
Merge pull request #743 from bcgov/feat/ci-cd-fix
Browse files Browse the repository at this point in the history
Feat/ci cd fix
  • Loading branch information
nikhila-aot authored Jan 23, 2025
2 parents 48c8eea + 9b8e7a5 commit d62be92
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci-cd-openshift-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: ./.github/workflows/_build.yml
strategy:
matrix:
component: [backend/applications, backend/gateway, backend/legacy, backend/users, frontend]
component: [backend/applications, backend/gateway, backend/legacy, backend/users, backend/sites, frontend]
include:
- component: backend/applications
triggers: ('backend/applications/')
Expand All @@ -32,6 +32,8 @@ jobs:
triggers: ('backend/legacy/')
- component: backend/users
triggers: ('backend/users/')
- component: backend/sites
triggers: ('backend/sites/')
- component: frontend
triggers: ('frontend/')
secrets:
Expand All @@ -48,7 +50,7 @@ jobs:
uses: ./.github/workflows/_code-cov.yml
strategy:
matrix:
component: [backend/applications, backend/gateway, backend/users, frontend]
component: [backend/applications, backend/gateway, backend/users, backend/sites, frontend]
secrets:
gh_token: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -66,7 +68,7 @@ jobs:
uses: ./.github/workflows/_deploy.yml
strategy:
matrix:
component: [backend/applications, backend/gateway, backend/legacy, backend/users, database, frontend]
component: [backend/applications, backend/gateway, backend/legacy, backend/users, backend/sites, database, frontend]
include:
- component: database
overwrite: false
Expand All @@ -88,7 +90,11 @@ jobs:
overwrite: true
template_file: .github/openshift/deploy.backend-users.yml
template_vars: -p PROMOTE=${{ github.repository }}/backend/users -p CONTAINER_PORT=4005 -p ENV=dev -p IMAGE_TAG=dev
- component: frontend
- component: backend/sites
overwrite: true
template_file: .github/openshift/deploy.backend-sites.yml
template_vars: -p PROMOTE=${{ github.repository }}/backend/sites -p CONTAINER_PORT=4007 -p ENV=dev -p IMAGE_TAG=dev
- component: frontend
overwrite: true
template_file: .github/openshift/deploy.frontend.yml
template_vars: -p PROMOTE=${{ github.repository }}/frontend -p CONTAINER_PORT=8080 -p ENV=dev -p IMAGE_TAG=dev
Expand Down

0 comments on commit d62be92

Please sign in to comment.