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.
Co-authored-by: Ricardo Campos <[email protected]>
- Loading branch information
1 parent
02231e8
commit fd7423d
Showing
12 changed files
with
29 additions
and
519 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 |
---|---|---|
|
@@ -17,11 +17,6 @@ on: | |
default: false | ||
required: false | ||
type: boolean | ||
fluentbit_target: | ||
description: FluentBit target; usually development, test or production | ||
default: development | ||
required: false | ||
type: string | ||
tag: | ||
description: Container tag; usually PR number | ||
default: ${{ github.event.number }} | ||
|
@@ -74,22 +69,6 @@ jobs: | |
-p ORACLE_SYNC_USER='${{ vars.ORACLE_SYNC_USER }}' | ||
-p ORACLE_SYNC_PASSWORD='${{ secrets.ORACLE_SYNC_PASSWORD }}' | ||
|
||
- name: FluentBit | ||
if: inputs.fluentbit_target != 'development' | ||
uses: bcgov-nr/[email protected] | ||
with: | ||
oc_namespace: ${{ vars.OC_NAMESPACE }} | ||
oc_server: ${{ vars.OC_SERVER }} | ||
oc_token: ${{ secrets.OC_TOKEN }} | ||
file: common/openshift.fluentbit.yml | ||
overwrite: true | ||
parameters: | ||
-p ZONE=${{ inputs.target }} | ||
-p AWS_KINESIS_STREAM='${{ secrets.AWS_KINESIS_STREAM }}' | ||
-p AWS_KINESIS_ROLE_ARN='${{ secrets.AWS_KINESIS_ROLE_ARN }}' | ||
-p AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }} | ||
-p AWS_ACCESS_KEY_SECRET='${{ secrets.AWS_ACCESS_KEY_SECRET }}' | ||
|
||
database: | ||
name: Deploy (database) | ||
environment: ${{ inputs.environment }} | ||
|
@@ -126,8 +105,7 @@ jobs: | |
overwrite: true | ||
parameters: | ||
-p AWS_COGNITO_ISSUER_URI=https://cognito-idp.${{ vars.AWS_REGION }}.amazonaws.com/${{ vars.VITE_USER_POOLS_ID }} | ||
-p OPENSEARCH_ENV=${{ inputs.fluentbit_target == 'prod' && 'production' || inputs.fluentbit_target }} | ||
verification_path: "actuator/health" | ||
verification_path: "health" | ||
- name: frontend | ||
file: frontend/openshift.deploy.yml | ||
overwrite: true | ||
|
@@ -141,7 +119,6 @@ jobs: | |
overwrite: true | ||
parameters: | ||
-p AWS_COGNITO_ISSUER_URI=https://cognito-idp.${{ vars.AWS_REGION }}.amazonaws.com/${{ vars.VITE_USER_POOLS_ID }} | ||
-p OPENSEARCH_ENV=${{ inputs.fluentbit_target == 'prod' && 'production' || inputs.fluentbit_target }} | ||
verification_path: "actuator/health" | ||
- name: sync | ||
file: sync/openshift.deploy.yml | ||
|
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.