Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
feat: ci on kontinuous (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo authored May 29, 2023
1 parent fd97122 commit 69a6cd7
Show file tree
Hide file tree
Showing 12 changed files with 96 additions and 157 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
15 changes: 0 additions & 15 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
41 changes: 0 additions & 41 deletions .github/workflows/preproduction.yml

This file was deleted.

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
39 changes: 0 additions & 39 deletions .github/workflows/production.yml

This file was deleted.

27 changes: 5 additions & 22 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,15 @@
name: Release

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

branches: [master, main, 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:
GIT_AUTHOR_EMAIL: ${{ secrets.SOCIALGROOVYBOT_EMAIL }}
GIT_AUTHOR_NAME: ${{ secrets.SOCIALGROOVYBOT_NAME }}
GIT_COMMITTER_EMAIL: ${{ secrets.SOCIALGROOVYBOT_EMAIL }}
GIT_COMMITTER_NAME: ${{ secrets.SOCIALGROOVYBOT_NAME }}
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
39 changes: 0 additions & 39 deletions .github/workflows/review.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
app:
enabled: true
containerPort: 8501
probesPath: /v1/models/sentqam
resources:
Expand Down
Empty file added .socialgouv.yaml
Empty file.

0 comments on commit 69a6cd7

Please sign in to comment.