This repository has been archived by the owner on Jan 19, 2024. It is now read-only.
-
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.
- Loading branch information
Julien Bouquillon
committed
Nov 1, 2023
1 parent
c61793f
commit 88bf0ab
Showing
3 changed files
with
26 additions
and
23 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,31 +1,14 @@ | ||
app: | ||
~needs: [build-app,seed] | ||
~needs: [build-app, seed] | ||
|
||
jobs: | ||
runs: | ||
db: | ||
use: create-db | ||
seed: | ||
~needs: [build-app,db] | ||
~needs: [build-app, pg] | ||
checkout: false # no need to checkout the repo as we use the docker image | ||
shell: sh | ||
image: "{{ .Values.global.registry }}{{ if .Values.global.imageProject }}{{ print `/` .Values.global.imageProject }}{{ end }}/{{ .Values.global.imageRepository }}/app:{{ .Values.global.imageTag }}" | ||
run: "yarn db:init" | ||
envFrom: | ||
- secretRef: | ||
name: "pg-user" | ||
|
||
db-keycloak: | ||
use: create-db | ||
with: | ||
pgSecretName: "keycloak-db" | ||
database: "keycloak_{{ .Values.global.branchSlug32 }}" | ||
pgUser: "keycloak_{{ .Values.global.branchSlug32 }}" | ||
|
||
keycloak: | ||
~needs: [db-keycloak] | ||
extraEnvFrom: | | ||
- secretRef: | ||
name: "keycloak-db" | ||
- secretRef: | ||
name: keycloak-secrets | ||
name: pg-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