-
Notifications
You must be signed in to change notification settings - Fork 1
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 #59 from bcgov/release/3.4.0
Release/3.4.0
- Loading branch information
Showing
451 changed files
with
45,004 additions
and
4,052 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
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 |
---|---|---|
|
@@ -34,19 +34,19 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: copy crunchydb files | ||
run: mkdir staging && cp crunchy-postgres/charts/crunchy-postgres staging/crunchy-postgres | ||
run: mkdir staging && cp -r crunchy-postgres/charts/crunchy-postgres staging/crunchy-postgres | ||
|
||
- name: Fill properties files | ||
uses: cschleiden/[email protected] | ||
with: | ||
files: staging/**/* | ||
env: | ||
ENV: ${{ inputs.ENVIRONMENT_NAME }} | ||
DB_STORAGE: 600Mi | ||
DB_MAX_CPU: 200m | ||
DB_MAX_MEMORY: 384Mi | ||
DB_REPLICAS: 2 | ||
BOUNCER_REPLICAS: 2 | ||
DB_STORAGE: ${{ vars.DB_STORAGE }} | ||
DB_MAX_CPU: ${{ vars.DB_MAX_CPU }} | ||
DB_MAX_MEMORY: ${{ vars.DB_MAX_MEMORY}} | ||
DB_REPLICAS: ${{ vars.DB_INSTANCE_HA_REPLICAS }} | ||
BOUNCER_REPLICAS: ${{ vars.DB_LOADBALANCER_HA_REPLICAS}} | ||
|
||
- name: install helm | ||
run: | | ||
|
@@ -64,8 +64,13 @@ jobs: | |
- name: zip and install helm chart | ||
run: | | ||
cd staging && tar -czvf crunchy-postgres.tar.gz crunchy-postgres | ||
if [[ $(helm status crunchy-postgres-${{inputs.ENVIRONMENT_NAME}}) == *"not found"* ]]; then | ||
helm install crunchy-postgres-${{inputs.ENVIRONMENT_NAME}} .\crunchy-postgres.tar.gz | ||
export STATUS_OUT=$(helm status crunchy-postgres-${{inputs.ENVIRONMENT_NAME}} 2>&1 >/dev/null) | ||
if [[ $STATUS_OUT == *"not found"* ]]; then | ||
echo "Attempting helm install" | ||
helm install crunchy-postgres-${{inputs.ENVIRONMENT_NAME}} ./crunchy-postgres.tar.gz | ||
exit 0 | ||
else | ||
helm upgrade crunchy-postgres-${{inputs.ENVIRONMENT_NAME}} .\crunchy-postgres.tar.gz | ||
echo "Attempting helm upgrade" | ||
helm upgrade crunchy-postgres-${{inputs.ENVIRONMENT_NAME}} ./crunchy-postgres.tar.gz | ||
exit 0 | ||
fi |
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,4 +1,7 @@ | ||
.vscode | ||
**/.git.bak | ||
compose.yaml | ||
local-config | ||
local-config | ||
cirras-underwriting-api/cirras-underwriting-api-rest-endpoints/src/test/resources/static.properties | ||
cirras-underwriting-api/cirras-underwriting-persistence/src/test/resources/static.properties | ||
cirras-underwriting-war/cirras-underwriting-war/src/main/angular/package-lock.json |
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.