-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/dev' into uat-release-is95
- Loading branch information
Showing
460 changed files
with
89,296 additions
and
2,353 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,15 +27,12 @@ env: | |
DEPLOYMENT_NAMESPACE: "3cd915-dev" | ||
|
||
on: | ||
pull_request_target: | ||
branches: [dev] | ||
types: [closed] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
ci-cd-start-notification: | ||
if: github.event.pull_request.merged == true | ||
name: CI-CD Start Notification to Teams Channel | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Start notification to Teams Channel | ||
uses: dragos-cojocari/[email protected] | ||
|
@@ -49,7 +46,7 @@ jobs: | |
build-frontend: | ||
name: Build frontend | ||
needs: ci-cd-start-notification | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout Source Code | ||
uses: actions/checkout@v4 | ||
|
@@ -68,7 +65,7 @@ jobs: | |
build-api: | ||
name: Build api | ||
needs: ci-cd-start-notification | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout Source Code | ||
uses: actions/checkout@v4 | ||
|
@@ -83,11 +80,12 @@ jobs: | |
run: | | ||
./openshift/4.0/player.sh build api -apply | ||
./openshift/4.0/player.sh build proxy -apply | ||
./openshift/4.0/player.sh build scheduler -apply | ||
deploy: | ||
name: Deploy to OpenShift | ||
needs: [build-frontend, build-api] | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout Source Code | ||
uses: actions/checkout@v4 | ||
|
@@ -116,6 +114,12 @@ jobs: | |
oc tag pims-proxy:latest-$DESTINATION pims-proxy:$DESTINATION | ||
oc -n $DEPLOYMENT_NAMESPACE rollout restart deployment/pims-proxy-$DESTINATION | ||
oc -n $DEPLOYMENT_NAMESPACE rollout status --timeout=600s deployment/pims-proxy-$DESTINATION | ||
- name: Deploy scheduler microservice | ||
shell: bash | ||
run: | | ||
oc tag pims-scheduler:latest-$DESTINATION pims-scheduler:$DESTINATION | ||
oc -n $DEPLOYMENT_NAMESPACE rollout restart deployment/pims-scheduler-$DESTINATION | ||
oc -n $DEPLOYMENT_NAMESPACE rollout status --timeout=600s deployment/pims-scheduler-$DESTINATION | ||
- name: Deploy mayan | ||
shell: bash | ||
run: | | ||
|
@@ -128,7 +132,7 @@ jobs: | |
database-upgrade: | ||
name: Upgrade database | ||
needs: [deploy] | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout Source Code | ||
uses: actions/checkout@v4 | ||
|
@@ -151,7 +155,7 @@ jobs: | |
mayan-sync: | ||
name: sync mayan | ||
needs: database-upgrade | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout Source Code | ||
uses: actions/checkout@v4 | ||
|
@@ -173,7 +177,7 @@ jobs: | |
keycloak-sync: | ||
name: sync keycloak | ||
needs: database-upgrade | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout Source Code | ||
uses: actions/checkout@v4 | ||
|
@@ -191,9 +195,8 @@ jobs: | |
ci-cd-end-notification: | ||
name: CI-CD End Notification to Teams Channel | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
needs: keycloak-sync | ||
if: ${{ always() && github.event.pull_request.merged == true }} | ||
steps: | ||
- name: check workflow status | ||
uses: martialonline/workflow-status@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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ on: | |
jobs: | ||
ci-cd-start-notification: | ||
name: CI-CD Start Notification to Teams Channel | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Start notification to Teams Channel | ||
uses: dragos-cojocari/[email protected] | ||
|
@@ -48,7 +48,7 @@ jobs: | |
|
||
deploy: | ||
name: Deploy frontend and api to OpenShift | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
needs: ci-cd-start-notification | ||
steps: | ||
- name: Checkout Source Code | ||
|
@@ -94,7 +94,7 @@ jobs: | |
database-upgrade: | ||
name: Upgrade database | ||
needs: [deploy] | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout Source Code | ||
uses: actions/checkout@v4 | ||
|
@@ -117,7 +117,7 @@ jobs: | |
mayan-sync: | ||
name: sync mayan | ||
needs: database-upgrade | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout Source Code | ||
uses: actions/checkout@v4 | ||
|
@@ -139,7 +139,7 @@ jobs: | |
keycloak-sync: | ||
name: sync keycloak | ||
needs: database-upgrade | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout Source Code | ||
uses: actions/checkout@v4 | ||
|
Oops, something went wrong.