Skip to content

Commit

Permalink
Merge branch 'Pipd-945-Show-pop-up-once-the-wizard-is-complete' of ht…
Browse files Browse the repository at this point in the history
…tps://github.com/bcgov/moh-pidp into Pipd-945-Show-pop-up-once-the-wizard-is-complete
  • Loading branch information
AdityaMantripragada committed Jan 10, 2025
2 parents f060720 + a4f3ae9 commit 936bcd0
Show file tree
Hide file tree
Showing 16 changed files with 152 additions and 59 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/build_midas_probe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@master

- name: Build image with docker-compose
working-directory: "./infra/midas-probe"
Expand All @@ -41,9 +41,14 @@ jobs:
run: |
docker tag midas-probe image-registry.apps.gold.devops.gov.bc.ca/f088b1-tools/midas-probe:latest
docker push image-registry.apps.gold.devops.gov.bc.ca/f088b1-tools/midas-probe:latest
- name: Install CLI tools from GitHub
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4"

- name: OC Login to Gold OCP
uses: redhat-actions/oc-login@v1.2
uses: redhat-actions/oc-login@v1.3
with:
openshift_server_url: ${{secrets.GOLD_OPENSHIFT_CLUSTER_URL}}
openshift_token: ${{secrets.GOLD_PIPELINE_SERVICE_ACCOUNT_TOKEN}}
Expand Down Expand Up @@ -82,8 +87,13 @@ jobs:
docker tag midas-probe image-registry.apps.golddr.devops.gov.bc.ca/f088b1-tools/midas-probe:latest
docker push image-registry.apps.golddr.devops.gov.bc.ca/f088b1-tools/midas-probe --all-tags

- name: Install CLI tools from GitHub
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4"
- name: OC Login to GoldDR OCP
uses: redhat-actions/oc-login@v1.2
uses: redhat-actions/oc-login@v1.3
with:
openshift_server_url: ${{secrets.GOLDDR_OPENSHIFT_CLUSTER_URL}}
openshift_token: ${{secrets.GOLDDR_PIPELINE_SERVICE_ACCOUNT_TOKEN}}
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/demo-deploy_helm_chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,15 @@ jobs:
helm-deployment-gold:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@master

- name: Install CLI tools from GitHub
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4"

- name: Authenticate and set context
uses: redhat-actions/oc-login@v1.1
uses: redhat-actions/oc-login@v1.3
with:
openshift_server_url: ${{secrets.GOLD_OPENSHIFT_CLUSTER_URL}}
openshift_token: ${{secrets.GOLD_PIPELINE_SERVICE_ACCOUNT_TOKEN}}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/dev-deploy-db-migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Install CLI tools from GitHub
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4"

- name: Authenticate and set context
uses: redhat-actions/oc-login@v1.1
uses: redhat-actions/oc-login@v1.3
with:
openshift_server_url: ${{secrets.GOLD_OPENSHIFT_CLUSTER_URL}}
openshift_token: ${{secrets.GOLD_PIPELINE_SERVICE_ACCOUNT_TOKEN}}
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/dev-deploy-endorsement-reminder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@ jobs:
helm-deployment-endorsement-reminder-gold:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@master

- name: Install CLI tools from GitHub
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4"

- name: Authenticate and set context
uses: redhat-actions/oc-login@v1.2
uses: redhat-actions/oc-login@v1.3
with:
openshift_server_url: ${{secrets.GOLD_OPENSHIFT_CLUSTER_URL}}
openshift_token: ${{secrets.GOLD_PIPELINE_SERVICE_ACCOUNT_TOKEN}}
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/dev-deploy-helm_chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
steps:
- uses: actions/checkout@master

- name: Install CLI tools from GitHub
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4"

- name: Authenticate and set context
uses: redhat-actions/[email protected]
with:
Expand All @@ -38,6 +43,11 @@ jobs:
steps:
- uses: actions/checkout@master

- name: Install CLI tools from GitHub
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4"

- name: Authenticate and set context
uses: redhat-actions/[email protected]
with:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/main-deploy-db-migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,15 @@ jobs:
db-migration-gold:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@master

- name: Install CLI tools from GitHub
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4"

- name: Authenticate and set context
uses: redhat-actions/oc-login@v1.1
uses: redhat-actions/oc-login@v1.3
with:
openshift_server_url: ${{secrets.GOLD_OPENSHIFT_CLUSTER_URL}}
openshift_token: ${{secrets.GOLD_PIPELINE_SERVICE_ACCOUNT_TOKEN}}
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/main-deploy-endorsement-reminder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@ jobs:
helm-deployment-endorsement-reminder-gold:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@master

- name: Install CLI tools from GitHub
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4"

- name: Authenticate and set context
uses: redhat-actions/oc-login@v1.2
uses: redhat-actions/oc-login@v1.3
with:
openshift_server_url: ${{secrets.GOLD_OPENSHIFT_CLUSTER_URL}}
openshift_token: ${{secrets.GOLD_PIPELINE_SERVICE_ACCOUNT_TOKEN}}
Expand Down
18 changes: 14 additions & 4 deletions .github/workflows/main-deploy_helm_chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,15 @@ jobs:
helm-deployment-gold:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@master

- name: Install CLI tools from GitHub
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4"

- name: Authenticate and set context
uses: redhat-actions/oc-login@v1.1
uses: redhat-actions/oc-login@v1.3
with:
openshift_server_url: ${{secrets.GOLD_OPENSHIFT_CLUSTER_URL}}
openshift_token: ${{secrets.GOLD_PIPELINE_SERVICE_ACCOUNT_TOKEN}}
Expand All @@ -36,10 +41,15 @@ jobs:
helm-deployment-golddr:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@master

- name: Install CLI tools from GitHub
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4"

- name: Authenticate and set context
uses: redhat-actions/oc-login@v1.1
uses: redhat-actions/oc-login@v1.3
with:
openshift_server_url: ${{secrets.GOLDDR_OPENSHIFT_CLUSTER_URL}}
openshift_token: ${{secrets.GOLDDR_PIPELINE_SERVICE_ACCOUNT_TOKEN}}
Expand Down
40 changes: 35 additions & 5 deletions .github/workflows/pr-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,13 @@ jobs:
run: |
docker push image-registry.apps.gold.devops.gov.bc.ca/f088b1-tools/pidp-frontend:pr-${{ needs.get-pr-number.outputs.pr_number }}
unit-test-backend:
unit-test-webapi:
needs: get-pr-number
if: ${{ always() && !cancelled() && needs.get-pr-number.outputs.pr_number != '' }}
runs-on: ubuntu-latest
defaults:
run:
working-directory: "./backend"
working-directory: "./backend/webapi.tests"
permissions:
contents: read
id-token: write
Expand All @@ -149,9 +149,33 @@ jobs:
- name: Run Tests
run: dotnet test --configuration Release

unit-test-plr-intake:
needs: get-pr-number
if: ${{ always() && !cancelled() && needs.get-pr-number.outputs.pr_number != '' }}
runs-on: ubuntu-latest
defaults:
run:
working-directory: "./backend/services.plr-intake.tests"
permissions:
contents: read
id-token: write

steps:
- name: "Checkout Code"
uses: actions/checkout@master
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Build backend
run: dotnet build --configuration Release
- name: Run Tests
run: dotnet test --configuration Release


build-and-push-plr-intake:
name: PLR Intake Backend Build & Push
needs: [get-pr-number, unit-test-backend]
needs: [get-pr-number, unit-test-plr-intake]
if: ${{ !(contains(needs.*.result, 'failure')) && needs.get-pr-number.outputs.pr_number != '' }}
runs-on: ubuntu-latest
defaults:
Expand Down Expand Up @@ -183,7 +207,7 @@ jobs:
build-and-push-webapi:
name: WebAPI Backend Build & Push
needs: [get-pr-number, unit-test-backend]
needs: [get-pr-number, unit-test-webapi]
if: ${{ !(contains(needs.*.result, 'failure')) && needs.get-pr-number.outputs.pr_number != '' }}
runs-on: ubuntu-latest
defaults:
Expand Down Expand Up @@ -222,11 +246,17 @@ jobs:
steps:
- uses: actions/checkout@master

- name: Install CLI tools from GitHub
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4"

- name: Authenticate and set context
uses: redhat-actions/oc-login@v1.2
uses: redhat-actions/oc-login@v1.3
with:
openshift_server_url: ${{secrets.GOLD_OPENSHIFT_CLUSTER_URL}}
openshift_token: ${{secrets.GOLD_PIPELINE_SERVICE_ACCOUNT_TOKEN}}
namespace: f088b1-dev

- name: Get pr number from GH cli command (pushing to pr)
if: ${{ github.event.number == ''}}
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/pr-deploy-cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@ jobs:
remove-deployment:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: actions/checkout@master

- name: Install CLI tools from GitHub
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4"

- name: Authenticate and set context
uses: redhat-actions/oc-login@v1.1
uses: redhat-actions/oc-login@v1.3
with:
openshift_server_url: ${{secrets.GOLD_OPENSHIFT_CLUSTER_URL}}
openshift_token: ${{secrets.GOLD_PIPELINE_SERVICE_ACCOUNT_TOKEN}}
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/test-deploy-db-migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,15 @@ jobs:
helm-deployment:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@master

- name: Install CLI tools from GitHub
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4"

- name: Authenticate and set context
uses: redhat-actions/oc-login@v1.1
uses: redhat-actions/oc-login@v1.3
with:
openshift_server_url: ${{secrets.GOLD_OPENSHIFT_CLUSTER_URL}}
openshift_token: ${{secrets.GOLD_PIPELINE_SERVICE_ACCOUNT_TOKEN}}
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/test-deploy-endorsement-reminder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@ jobs:
helm-deployment-endorsement-reminder-gold:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@master

- name: Install CLI tools from GitHub
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4"

- name: Authenticate and set context
uses: redhat-actions/oc-login@v1.2
uses: redhat-actions/oc-login@v1.3
with:
openshift_server_url: ${{secrets.GOLD_OPENSHIFT_CLUSTER_URL}}
openshift_token: ${{secrets.GOLD_PIPELINE_SERVICE_ACCOUNT_TOKEN}}
Expand Down
18 changes: 14 additions & 4 deletions .github/workflows/test-deploy_helm_chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,15 @@ jobs:
helm-deployment-gold:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@master

- name: Install CLI tools from GitHub
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4"

- name: Authenticate and set context
uses: redhat-actions/oc-login@v1.1
uses: redhat-actions/oc-login@v1.3
with:
openshift_server_url: ${{secrets.GOLD_OPENSHIFT_CLUSTER_URL}}
openshift_token: ${{secrets.GOLD_PIPELINE_SERVICE_ACCOUNT_TOKEN}}
Expand All @@ -35,10 +40,15 @@ jobs:
helm-deployment-golddr:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@master

- name: Install CLI tools from GitHub
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4"

- name: Authenticate and set context
uses: redhat-actions/oc-login@v1.1
uses: redhat-actions/oc-login@v1.3
with:
openshift_server_url: ${{secrets.GOLDDR_OPENSHIFT_CLUSTER_URL}}
openshift_token: ${{secrets.GOLDDR_PIPELINE_SERVICE_ACCOUNT_TOKEN}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,14 +178,6 @@ <h1>Enrol for Access</h1>
<div class="card-header auth-card-header">
<h3><strong>Provincial Attachment System</strong></h3>
</div>
<div class="card-body auth-card-body">
<img
class="logo"
ngSrc="/assets/images/doctors-bc-logo.png"
alt="Doctors of BC logo"
priority
fill />
</div>
<div class="card-footer auth-card-footer">
<button
mat-flat-button
Expand Down
Loading

0 comments on commit 936bcd0

Please sign in to comment.