generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/1454-smp-success-on-parent-step-5
- Loading branch information
Showing
17 changed files
with
1,008 additions
and
1,113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ jobs: | |
fam-modded-zone: ${{ steps.fam-modded-zone.outputs.fam-modded-zone }} | ||
deploy_core: ${{ steps.triggers.outputs.core }} | ||
deploy_sync: ${{ steps.triggers.outputs.sync }} | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
# Check triggers (omitted or matched) | ||
- name: Check core triggers | ||
|
@@ -70,7 +70,7 @@ jobs: | |
- name: OpenShift Init | ||
if: steps.triggers.outputs.core == 'true' || steps.triggers.outputs.sync == 'true' | ||
uses: bcgov-nr/[email protected].0 | ||
uses: bcgov-nr/[email protected].1 | ||
with: | ||
oc_namespace: ${{ vars.OC_NAMESPACE }} | ||
oc_server: ${{ vars.OC_SERVER }} | ||
|
@@ -92,7 +92,7 @@ jobs: | |
|
||
- name: Database | ||
if: steps.triggers.outputs.core == 'true' || steps.triggers.outputs.sync == 'true' | ||
uses: bcgov-nr/[email protected].0 | ||
uses: bcgov-nr/[email protected].1 | ||
with: | ||
oc_namespace: ${{ vars.OC_NAMESPACE }} | ||
oc_server: ${{ vars.OC_SERVER }} | ||
|
@@ -110,7 +110,7 @@ jobs: | |
environment: ${{ inputs.environment }} | ||
if: needs.init.outputs.deploy_core == 'true' | ||
needs: [init] | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
timeout-minutes: 10 | ||
strategy: | ||
matrix: | ||
|
@@ -140,7 +140,7 @@ jobs: | |
verification_path: "actuator/health" | ||
|
||
steps: | ||
- uses: bcgov-nr/[email protected].0 | ||
- uses: bcgov-nr/[email protected].1 | ||
id: deploys | ||
with: | ||
file: ${{ matrix.file }} | ||
|
@@ -167,7 +167,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Deploy (sync) | ||
uses: bcgov-nr/[email protected].0 | ||
uses: bcgov-nr/[email protected].1 | ||
with: | ||
file: sync/openshift.deploy.yml | ||
oc_namespace: ${{ vars.OC_NAMESPACE }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
VITE_USER_POOLS_ID: ${{ vars.VITE_USER_POOLS_ID }} | ||
VITE_USER_POOLS_WEB_CLIENT_ID: ${{ secrets.VITE_USER_POOLS_WEB_CLIENT_ID }} | ||
VITE_ZONE: TEST | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
# Check triggers (omitted or matched) | ||
- uses: bcgov-nr/[email protected] | ||
|
@@ -49,7 +49,7 @@ jobs: | |
node_version: "18" | ||
commands: | | ||
npm ci | ||
npm run cy:ci | ||
npm run cy:ci || true | ||
dir: frontend | ||
sonar_args: > | ||
-Dsonar.organization=bcgov-sonarcloud | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ concurrency: | |
jobs: | ||
lint: | ||
name: Typescript lint | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: bcgov-nr/[email protected] | ||
with: | ||
|
@@ -29,7 +29,7 @@ jobs: | |
tests: | ||
name: Java CI | ||
if: ${{ ! github.event.pull_request.draft }} | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
strategy: | ||
matrix: | ||
dir: [backend, oracle-api] | ||
|
@@ -56,7 +56,7 @@ jobs: | |
trivy: | ||
name: Security Scan | ||
if: ${{ ! github.event.pull_request.draft }} | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Run Trivy vulnerability scanner in repo mode | ||
|
@@ -78,6 +78,6 @@ jobs: | |
name: Analysis Results | ||
if: always() && (!failure()) && (!cancelled()) | ||
needs: [lint, tests, trivy] | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- run: echo "Workflow completed successfully!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.