Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
feat: ci on kontinuous (#143)
Browse files Browse the repository at this point in the history
* feat: ci on kontinuous

* chore: test

* feat: ci on kontinuous

* fix: templates

* fix: remove hardcoded ns

* fix: containerPort
  • Loading branch information
devthejo authored May 22, 2023
1 parent 8c466f7 commit be5543e
Show file tree
Hide file tree
Showing 17 changed files with 96 additions and 91 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/deactivate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: ♻️ Deactivate
on:
pull_request:
types: [closed]
delete:
branches:
- "**"
- "!v*"
- "!master"
- "!main"
- "!dev"
- "!develop"
- "!**/persist"
- "!persist/**"
- "!**/persist/**"
- "!persist-**"
- "!**-persist"
- "!**-persist-**"

jobs:
socialgouv:
uses: socialgouv/workflows/.github/workflows/use-ks-gh-deactivate.yaml@v1
secrets: inherit
14 changes: 0 additions & 14 deletions .github/workflows/deactivate.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/preproduction.yaml
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
16 changes: 16 additions & 0 deletions .github/workflows/production.yaml
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
30 changes: 0 additions & 30 deletions .github/workflows/production.yml

This file was deleted.

21 changes: 4 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,15 @@
name: Release

on:
workflow_dispatch:
push:
branches: [master, alpha, beta, next]

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:

- name: Checkout repository
uses: actions/checkout@v2
- uses: socialgouv/workflows/actions/semantic-release@v1
with:
fetch-depth: 0
persist-credentials: false

- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
with:
semantic_version: 17
extra_plugins: |
@semantic-release/[email protected]
@semantic-release/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.SOCIALGROOVYBOT_BOTO_PAT }}
github-token: ${{ secrets.SOCIALGROOVYBOT_BOTO_PAT }}
author-name: ${{ secrets.SOCIALGROOVYBOT_NAME }}
author-email: ${{ secrets.SOCIALGROOVYBOT_EMAIL }}
16 changes: 16 additions & 0 deletions .github/workflows/review-auto.yaml
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
19 changes: 19 additions & 0 deletions .github/workflows/review.yaml
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
28 changes: 0 additions & 28 deletions .github/workflows/review.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ metadata:
annotations: &a1
sealedsecrets.bitnami.com/cluster-wide: "true"
name: archifiltre-statistics-sealed-secret
namespace: archifiltre-statistics
spec:
encryptedData:
MATOMO_TOKEN: AgADYTdW1CQppqUSVY1PUC49U03TScrhGO3fxg7zQENCn7OJ4pBYvQTAw47//v19E9+Y3wRWH0xtpIWGiqG8A8vJ/Cpsv30UX51TTM/e08z8uJsjc8fRNMcVEr66dRGeCHjfRntF5xdxnsO4BtY/zMr+rN7WVolrwon0tsXXxkqYT4NdFNdublZWzoTbEWeHcOn3srXSg7I6UMOyKQwAF29hYPi9CM5I5iS//DR4jr2RTVbqikUT0ffptqZeLm3mtwO68iZNLLMby3tAOIgXdHy4kFnL75znuPOnscYysX1ph+vYTRWV7M0V6dM+6RUAtW/GX0dk6IA6ycNkqzB1zb88LMDlSj8kP/HhgjK+fCYKdRlHhSZrHnU24GHa8uYa70pPtV9w4ZzTy1LTqO1OiBatfKkORZ16dLFxhvcvcEOi2JsFwFs/G7Qbc/8TRNMt/FmuXVrHZPNKxSiKEy5maaRD3vFBVoB/xpVawloH2lPfGNV0rbLkwwk5ONgTY9z0wCkjM27BY/bo8+0mg+CGZmInMZ6ZI0wUsFVjRPFVB/XctZC2nb9TwwU/46equAklmFc4JEvDlKpUhCHEyM0jWEEDz2oJ39BXg5kRE++xSlJ2sSPe1W79wG7XHVjX4Or4Z8zTjzLQNI/d6rcZx/HoE284W3rUXchbP1nIlMwKFLGUczQyxpfL0uJpAxoHgjSbM+HQxgRznth+b07dk9ey5vT+fwnu1zXxDDa5f5VoAslv8A==
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ metadata:
annotations: &a1
sealedsecrets.bitnami.com/cluster-wide: "true"
name: archifiltre-statistics-sealed-secret
namespace: archifiltre-statistics
spec:
encryptedData:
MATOMO_TOKEN: AgADYTdW1CQppqUSVY1PUC49U03TScrhGO3fxg7zQENCn7OJ4pBYvQTAw47//v19E9+Y3wRWH0xtpIWGiqG8A8vJ/Cpsv30UX51TTM/e08z8uJsjc8fRNMcVEr66dRGeCHjfRntF5xdxnsO4BtY/zMr+rN7WVolrwon0tsXXxkqYT4NdFNdublZWzoTbEWeHcOn3srXSg7I6UMOyKQwAF29hYPi9CM5I5iS//DR4jr2RTVbqikUT0ffptqZeLm3mtwO68iZNLLMby3tAOIgXdHy4kFnL75znuPOnscYysX1ph+vYTRWV7M0V6dM+6RUAtW/GX0dk6IA6ycNkqzB1zb88LMDlSj8kP/HhgjK+fCYKdRlHhSZrHnU24GHa8uYa70pPtV9w4ZzTy1LTqO1OiBatfKkORZ16dLFxhvcvcEOi2JsFwFs/G7Qbc/8TRNMt/FmuXVrHZPNKxSiKEy5maaRD3vFBVoB/xpVawloH2lPfGNV0rbLkwwk5ONgTY9z0wCkjM27BY/bo8+0mg+CGZmInMZ6ZI0wUsFVjRPFVB/XctZC2nb9TwwU/46equAklmFc4JEvDlKpUhCHEyM0jWEEDz2oJ39BXg5kRE++xSlJ2sSPe1W79wG7XHVjX4Or4Z8zTjzLQNI/d6rcZx/HoE284W3rUXchbP1nIlMwKFLGUczQyxpfL0uJpAxoHgjSbM+HQxgRznth+b07dk9ey5vT+fwnu1zXxDDa5f5VoAslv8A==
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
app:
containerPort: 3000
probesPath: /healthz
env:
- name: APP_BASE_URL
Expand Down
Empty file added .socialgouv.yaml
Empty file.

0 comments on commit be5543e

Please sign in to comment.