-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tracking pull request to merge release-1.22.0 to main (#608)
* initial update for 1.22.0 * upda pr number * feat: itvr-595 - expiry email wording (#610) * feat: itvr-594 - rebate expiry date offset (#611) * feat: itvr-596 - expiry warning emails (#609) * switch to crunchy * switch to crunchy * switch to crunchy * update for crunchy on test * update readme * rename the readmed file for workflow * udpate for autoscalling * add manul trigger for dev build * upgrade node and nginx to latest * upgrade python base image to python-311:1-41 * update node packages for the specified CVE * add sudo for yum command * use ubi8/python-311 * custom build backend base image * run yum under toot * use new backend base image for tasqkq * upgrade libnghttp2 * upgrade libnghttp2 * Register subscription for backend base image * Register subscription for backend base image * mount the etc-pki-entitlement * mount the etc-pki-entitlement * try ubi8 * dnf upgrade * dnf upgrade * use ubi9 * update to ubi9 * rm /etc/rhsm-host * Docker builds using Subscription Manager * try ubi9 only * update frontend base image to use 20-slim * update to 1.2_base * update to 1.2_base * add zap-scan.yaml * update workflow name * add zap scan * add baseline scan * update zap step name --------- Co-authored-by: tim738745 <[email protected]>
- Loading branch information
1 parent
792741d
commit 920657c
Showing
25 changed files
with
291 additions
and
70 deletions.
There are no files selected for viewing
File renamed without changes.
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 |
---|---|---|
@@ -1,13 +1,19 @@ | ||
## For each release, the value of workflow name, branches and PR_NUMBER need to be adjusted accordingly | ||
|
||
name: ITVR Dev release-1.21.0 | ||
name: ITVR Dev release-1.22.0 | ||
|
||
on: | ||
pull_request: | ||
types: [opened,edited,synchronize] | ||
paths: | ||
- frontend/** | ||
- backend/** | ||
workflow_dispatch: | ||
inputs: | ||
pull_request: | ||
description: 'Tracking pull request number' | ||
required: true | ||
default: 608 | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
|
@@ -58,3 +64,20 @@ jobs: | |
openshift-server: ${{ secrets.OPENSHIFT_SERVER }} | ||
openshift-token: ${{ secrets.OPENSHIFT_TOKEN }} | ||
|
||
zap-frontend-baseline-scan: | ||
runs-on: ubuntu-latest | ||
needs: deploy-on-dev | ||
steps: | ||
- name: Frontend Baseline Scan | ||
uses: zaproxy/[email protected] | ||
with: | ||
target: 'https://itvr-dev.apps.silver.devops.gov.bc.ca' | ||
|
||
zap-backend-baseline-scan: | ||
runs-on: ubuntu-latest | ||
needs: deploy-on-dev | ||
steps: | ||
- name: Backend Baseline Scan | ||
uses: zaproxy/[email protected] | ||
with: | ||
target: 'https://itvr-backend-dev.apps.silver.devops.gov.bc.ca' |
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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
name: ITVR release-1.21.0 | ||
name: ITVR release-1.22.0 | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
pull_request: | ||
description: 'Tracking pull request number' | ||
required: true | ||
default: 590 | ||
default: 608 | ||
release_branch: | ||
description: 'The name of the release branch' | ||
required: true | ||
default: release-1.21.0 | ||
default: release-1.22.0 | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
|
@@ -40,7 +40,7 @@ jobs: | |
uses: trstringer/[email protected] | ||
with: | ||
secret: ${{ github.TOKEN }} | ||
approvers: AlexZorkin,emi-hi,tim738745,kuanfandevops,jig-patel,prv-proton,JulianForeman | ||
approvers: emi-hi,tim738745,kuanfandevops,JulianForeman | ||
minimum-approvals: 1 | ||
issue-title: "ITVR ${{ github.event.inputs.release_branch }} Test Deployment" | ||
|
||
|
@@ -71,7 +71,7 @@ jobs: | |
uses: trstringer/[email protected] | ||
with: | ||
secret: ${{ github.TOKEN }} | ||
approvers: AlexZorkin,emi-hi,tim738745,kuanfandevops,jig-patel,prv-proton,JulianForeman | ||
approvers: emi-hi,tim738745,kuanfandevops,JulianForeman | ||
minimum-approvals: 2 | ||
issue-title: "ITVR ${{ github.event.inputs.release_branch }} Prod Deployment" | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: ZAP Baseline Scan | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
envname: | ||
description: 'dev or test' | ||
required: true | ||
default: dev | ||
jobs: | ||
|
||
zap-baseline-scan: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: ZAP Baseline Scan on Frontend | ||
uses: zaproxy/[email protected] | ||
with: | ||
target: "https://itvr-${{ github.event.inputs.envname }}.apps.silver.devops.gov.bc.ca" | ||
issue_title: "ZAP ${{ github.event.inputs.envname }} Frontend Baseline Scan Report" | ||
- name: ZAP Baseline Scan on Backend | ||
uses: zaproxy/[email protected] | ||
with: | ||
target: 'https://itvr-backend-${{ github.event.inputs.envname }}.apps.silver.devops.gov.bc.ca' | ||
issue_title: "ZAP ${{ github.event.inputs.envname }} Backend Baseline Scan Report" |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: ZAP Full Scan | ||
on: | ||
workflow_dispatch: | ||
jobs: | ||
|
||
approval-zap-full-scan: | ||
name: Approve the ZAP Full Scan on Test URLS | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
steps: | ||
- name: Ask for approval for ITVR Prod deployment | ||
uses: trstringer/[email protected] | ||
with: | ||
secret: ${{ github.TOKEN }} | ||
approvers: emi-hi,tim738745,kuanfandevops,JulianForeman | ||
minimum-approvals: 1 | ||
issue-title: "Please communicate with Platform Team for Zap Full Scan for the ITVR Test URLs and approve this request" | ||
|
||
zap-full-scan: | ||
runs-on: ubuntu-latest | ||
needs: approval-zap-full-scan | ||
steps: | ||
- name: ZAP Full Scan on Frontend | ||
uses: zaproxy/[email protected] | ||
with: | ||
target: 'https://itvr-test.apps.silver.devops.gov.bc.ca' | ||
issue_title: ZAP Test Frontend Baseline Scan Report | ||
- name: ZAP Full Scan on Backend | ||
uses: zaproxy/[email protected] | ||
with: | ||
target: 'https://itvr-backend-test.apps.silver.devops.gov.bc.ca' | ||
issue_title: ZAP Test Backend Baseline Scan Report |
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
This file was deleted.
Oops, something went wrong.
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.