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/openingSearch
- Loading branch information
Showing
4 changed files
with
24 additions
and
21 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 |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
tests-backend: | ||
name: Tests (Backend) | ||
if: github.event_name != 'pull_request' || !github.event.pull_request.draft | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: bcgov-nr/[email protected] | ||
with: | ||
|
@@ -37,7 +37,7 @@ jobs: | |
lint-frontend: | ||
name: Lint (Frontend) | ||
if: github.event_name != 'pull_request' || !github.event.pull_request.draft | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: bcgov-nr/[email protected] | ||
with: | ||
|
@@ -52,7 +52,7 @@ jobs: | |
tests-frontend: | ||
name: Tests (Frontend) | ||
if: github.event_name != 'pull_request' || !github.event.pull_request.draft | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: bcgov-nr/[email protected] | ||
with: | ||
|
@@ -76,7 +76,7 @@ jobs: | |
codeql: | ||
name: CodeQL | ||
if: github.event_name != 'pull_request' || !github.event.pull_request.draft | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: github/codeql-action/init@v3 | ||
|
@@ -105,7 +105,7 @@ jobs: | |
trivy: | ||
name: Trivy Security Scan | ||
if: github.event_name != 'pull_request' || !github.event.pull_request.draft | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
|
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 |
---|---|---|
|
@@ -14,10 +14,10 @@ jobs: | |
init-test: | ||
name: TEST Init | ||
environment: test | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: OpenShift Init | ||
uses: bcgov-nr/[email protected].0 | ||
uses: bcgov-nr/[email protected].1 | ||
with: | ||
oc_namespace: ${{ vars.OC_NAMESPACE }} | ||
oc_server: ${{ vars.OC_SERVER }} | ||
|
@@ -38,7 +38,7 @@ jobs: | |
name: TEST Deployments | ||
needs: [init-test] | ||
environment: test | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
permissions: | ||
issues: write | ||
strategy: | ||
|
@@ -66,7 +66,7 @@ jobs: | |
file: common/openshift.fluentbit.yml | ||
overwrite: true | ||
steps: | ||
- uses: bcgov-nr/[email protected].0 | ||
- uses: bcgov-nr/[email protected].1 | ||
with: | ||
file: ${{ matrix.file }} | ||
oc_namespace: ${{ vars.OC_NAMESPACE }} | ||
|
@@ -83,10 +83,10 @@ jobs: | |
name: PROD Init | ||
needs: [deploys-test] | ||
environment: prod | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: OpenShift Init | ||
uses: bcgov-nr/[email protected].0 | ||
uses: bcgov-nr/[email protected].1 | ||
with: | ||
oc_namespace: ${{ vars.OC_NAMESPACE }} | ||
oc_server: ${{ vars.OC_SERVER }} | ||
|
@@ -106,7 +106,7 @@ jobs: | |
image-promotions: | ||
name: Promote images to PROD | ||
needs: [deploys-test] | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
permissions: | ||
packages: write | ||
strategy: | ||
|
@@ -124,7 +124,7 @@ jobs: | |
name: PROD Deployments | ||
needs: [init-prod, image-promotions] | ||
environment: prod | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
strategy: | ||
matrix: | ||
name: [database, backend, frontend, fluentbit] | ||
|
@@ -150,7 +150,7 @@ jobs: | |
file: common/openshift.fluentbit.yml | ||
overwrite: true | ||
steps: | ||
- uses: bcgov-nr/[email protected].0 | ||
- uses: bcgov-nr/[email protected].1 | ||
with: | ||
file: ${{ matrix.file }} | ||
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
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
if: "!github.event.pull_request.head.repo.fork" | ||
outputs: | ||
route: ${{ github.event.number }} | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
permissions: | ||
pull-requests: write | ||
steps: | ||
|
@@ -47,7 +47,7 @@ jobs: | |
[Main Merge Workflow](https://github.com/${{ github.repository }}/actions/workflows/merge-main.yml) | ||
- name: OpenShift Init | ||
uses: bcgov-nr/[email protected].0 | ||
uses: bcgov-nr/[email protected].1 | ||
with: | ||
oc_namespace: ${{ vars.OC_NAMESPACE }} | ||
oc_server: ${{ vars.OC_SERVER }} | ||
|
@@ -69,7 +69,7 @@ jobs: | |
name: Builds | ||
needs: [init] | ||
if: "!github.event.pull_request.head.repo.fork" | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
permissions: | ||
packages: write | ||
strategy: | ||
|
@@ -96,7 +96,7 @@ jobs: | |
name: Deploys | ||
if: "!github.event.pull_request.head.repo.fork" | ||
needs: [builds] | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
strategy: | ||
matrix: | ||
name: [database, backend, frontend, fluentbit] | ||
|
@@ -127,7 +127,7 @@ jobs: | |
- name: fluentbit | ||
file: common/openshift.fluentbit.yml | ||
steps: | ||
- uses: bcgov-nr/[email protected].0 | ||
- uses: bcgov-nr/[email protected].1 | ||
with: | ||
file: ${{ matrix.file }} | ||
oc_namespace: ${{ vars.OC_NAMESPACE }} | ||
|