-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #690 from bcgov/chore/owf-prep
OWF migration prep
- Loading branch information
Showing
71 changed files
with
297 additions
and
1,572 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
owner: bcgov | ||
git-repo: vc-authn-oidc | ||
owner: openwallet-foundation | ||
git-repo: acapy-vc-authn-oidc | ||
git-base-url: https://api.github.com/ | ||
git-upload-url: https://uploads.github.com/ |
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,77 +27,3 @@ jobs: | |
config: .github/actions/chart_releaser/cr.yaml | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
|
||
update-configs-and-sync: | ||
runs-on: ubuntu-latest | ||
name: Update Configs and Sync | ||
needs: | ||
- chart-release | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Git | ||
run: | | ||
git config --global user.name "github-actions[bot]" | ||
git config --global user.email "github-actions[bot]@users.noreply.github.com" | ||
- name: Checkout services directory from the trust-over-ip-configurations repo | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: bcgov/trust-over-ip-configurations | ||
ssh-key: ${{ secrets.DITP_CONFIGS_REPO_SECRET }} | ||
sparse-checkout: | | ||
services | ||
path: trust-over-ip-configurations | ||
|
||
- name: Lookup latest chart | ||
id: chart_version | ||
run: | | ||
helm repo add vc-authn-oidc https://bcgov.github.io/vc-authn-oidc | ||
helm repo update | ||
echo "APP_VERSION=$(helm search repo vc-authn-oidc -ojson | jq '.[0].app_version')" >> $GITHUB_OUTPUT | ||
echo "CHART_VERSION=$(helm search repo vc-authn-oidc -ojson | jq '.[0].version')" >> $GITHUB_OUTPUT | ||
- name: Update test | ||
env: | ||
APP_VERSION: ${{ steps.chart_version.outputs.APP_VERSION }} | ||
CHART_VERSION: ${{ steps.chart_version.outputs.CHART_VERSION }} | ||
run: | | ||
cd trust-over-ip-configurations | ||
yq e -i '.appVersion = env(APP_VERSION)' services/vc-authn-oidc/charts/test/Chart.yaml | ||
yq e -i '.version = env(CHART_VERSION)' services/vc-authn-oidc/charts/test/Chart.yaml | ||
yq e -i '.dependencies[0].version = env(CHART_VERSION)' services/vc-authn-oidc/charts/test/Chart.yaml | ||
- name: Update prod | ||
env: | ||
APP_VERSION: ${{ steps.chart_version.outputs.APP_VERSION }} | ||
CHART_VERSION: ${{ steps.chart_version.outputs.CHART_VERSION }} | ||
run: | | ||
cd trust-over-ip-configurations | ||
yq e -i '.appVersion = env(APP_VERSION)' services/vc-authn-oidc/charts/prod/Chart.yaml | ||
yq e -i '.version = env(CHART_VERSION)' services/vc-authn-oidc/charts/prod/Chart.yaml | ||
yq e -i '.dependencies[0].version = env(CHART_VERSION)' services/vc-authn-oidc/charts/prod/Chart.yaml | ||
- name: Commit and Push to trust-over-ip-configurations Repo | ||
run: | | ||
cd trust-over-ip-configurations | ||
git add services/vc-authn-oidc/charts/test/Chart.yaml services/vc-authn-oidc/charts/prod/Chart.yaml | ||
git commit -m "Update chart and app versions" || echo "No changes to commit" | ||
git push origin main | ||
- name: Trigger and wait for GitOps sync workflow | ||
uses: convictional/[email protected] | ||
id: workflow-trigger | ||
with: | ||
owner: bcgov | ||
repo: trust-over-ip-configurations | ||
github_token: ${{ secrets.DITP_CONFIGS_REPO_TOKEN }} | ||
workflow_file_name: gitops_sync.yaml | ||
|
||
- name: Trigger ArgoCD Sync of e79518-test-vc-authn-oidc | ||
uses: OpsVerseIO/[email protected] | ||
with: | ||
address: gitops-shared.apps.silver.devops.gov.bc.ca | ||
token: ${{ secrets.DITP_GITOPS_ARGO_SECRET}} | ||
action: sync | ||
appName: "e79518-test-vc-authn-oidc" |
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
Binary file not shown.
Binary file not shown.
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,3 +1 @@ | ||
# Demo App | ||
|
||
This demo is based on https://github.com/bcgov/vue-scaffold | ||
# ACAPy VC-AuthN OIDC Demo App |
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 |
---|---|---|
@@ -1,30 +1,19 @@ | ||
{ | ||
"frontend": { | ||
"apiPath": "api/v1", | ||
"basePath" : "/app", | ||
"basePath": "/app", | ||
"keycloak": { | ||
"serverUrl": "https://dev.oidc.gov.bc.ca/auth" | ||
"serverUrl": "" | ||
} | ||
}, | ||
"server": { | ||
"apiPath": "/api/v1", | ||
"basePath" : "/app", | ||
"basePath": "/app", | ||
"bodyLimit": "30mb", | ||
"keycloak": { | ||
"serverUrl": "https://dev.oidc.gov.bc.ca/auth" | ||
"serverUrl": "" | ||
}, | ||
"logLevel": "http", | ||
"port": "8080" | ||
}, | ||
"serviceClient": { | ||
"commonServices": { | ||
"ches": { | ||
"endpoint": "https://ches-dev.pathfinder.gov.bc.ca/api" | ||
}, | ||
"cdogs": { | ||
"endpoint": "https://cdogs-dev.pathfinder.gov.bc.ca/api" | ||
}, | ||
"tokenEndpoint": "https://dev.oidc.gov.bc.ca/auth/realms/jbd6rnxw/protocol/openid-connect/token" | ||
} | ||
} | ||
} | ||
} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.