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
Showing
32 changed files
with
158 additions
and
233 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,16 +1,23 @@ | ||
name: Deactivate | ||
|
||
name: ♻️ Deactivate | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
types: [closed] | ||
delete: | ||
branches: | ||
- "**" | ||
- "!v*" | ||
- "!master" | ||
- "!main" | ||
- "!dev" | ||
- "!develop" | ||
- "!**/persist" | ||
- "!persist/**" | ||
- "!**/persist/**" | ||
- "!persist-**" | ||
- "!**-persist" | ||
- "!**-persist-**" | ||
|
||
jobs: | ||
bury_review_env: | ||
name: Deactivate review branch | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: SocialGouv/actions/autodevops-deactivate@v1 | ||
with: | ||
kube-config: ${{ secrets.KUBECONFIG }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
socialgouv: | ||
uses: socialgouv/workflows/.github/workflows/use-ks-gh-deactivate.yaml@v1 | ||
secrets: inherit |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: 😎 PreProd | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- "master" | ||
- "main" | ||
|
||
concurrency: | ||
cancel-in-progress: true | ||
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.ref }} | ||
|
||
jobs: | ||
socialgouv: | ||
name: "🇫🇷 SocialGouv" | ||
uses: socialgouv/workflows/.github/workflows/use-ks-gh-preproduction.yaml@v1 | ||
secrets: inherit |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: 🚀 Production | ||
on: | ||
workflow_dispatch: | ||
push: | ||
tags: | ||
- v* | ||
|
||
concurrency: | ||
cancel-in-progress: true | ||
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.ref }} | ||
|
||
jobs: | ||
socialgouv: | ||
name: "🇫🇷 SocialGouv" | ||
uses: socialgouv/workflows/.github/workflows/use-ks-gh-production.yaml@v1 | ||
secrets: inherit |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Release | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [master, main, alpha, beta, next] | ||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: socialgouv/workflows/actions/semantic-release@v1 | ||
with: | ||
github-token: ${{ secrets.SOCIALGROOVYBOT_BOTO_PAT }} | ||
author-name: ${{ secrets.SOCIALGROOVYBOT_NAME }} | ||
author-email: ${{ secrets.SOCIALGROOVYBOT_EMAIL }} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: 👓 Review Auto | ||
on: | ||
push: | ||
branches: | ||
- "feat/**" | ||
- "fix/**" | ||
|
||
concurrency: | ||
cancel-in-progress: true | ||
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.ref }} | ||
|
||
jobs: | ||
socialgouv: | ||
name: "🇫🇷 SocialGouv" | ||
uses: socialgouv/workflows/.github/workflows/use-ks-gh-review-auto.yaml@v1 | ||
secrets: inherit |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: 👀 Review | ||
on: | ||
push: | ||
branches: | ||
- "**" | ||
- "!master" | ||
- "!main" | ||
- "!feat/**" | ||
- "!fix/**" | ||
|
||
concurrency: | ||
cancel-in-progress: true | ||
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.ref }} | ||
|
||
jobs: | ||
socialgouv: | ||
name: "🇫🇷 SocialGouv" | ||
uses: socialgouv/workflows/.github/workflows/use-ks-gh-review.yaml@v1 | ||
secrets: inherit |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: v2 | ||
dependencies: | ||
- condition: keycloak.enabled | ||
name: keycloak | ||
repository: https://codecentric.github.io/helm-charts | ||
version: 17.0.3 |
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
app: | ||
~needs: [build-app,seed] | ||
|
||
jobs: | ||
runs: | ||
db: | ||
use: create-db | ||
seed: | ||
~needs: [build-app,db] | ||
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 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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.