Skip to content

Commit

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

* fix: harbor project

* chore: clean

* chore: clean
  • Loading branch information
devthejo authored May 23, 2023
1 parent 9399024 commit 4959962
Show file tree
Hide file tree
Showing 18 changed files with 98 additions and 688 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
17 changes: 0 additions & 17 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.

9 changes: 3 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,18 +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:

- uses: SocialGouv/actions/autodevops-release@v1
- uses: socialgouv/workflows/actions/semantic-release@v1
with:
github-token: ${{ secrets.SOCIALGROOVYBOT_BOTO_PAT }}
author-name: ${{ secrets.SOCIALGROOVYBOT_NAME }}
author-email: ${{ secrets.SOCIALGROOVYBOT_EMAIL }}
github-token: ${{ secrets.SOCIALGROOVYBOT_BOTO_PAT }}
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
38 changes: 0 additions & 38 deletions .github/workflows/review.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .kontinuous/env/prod/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
app:
host: 1000jours.fabrique.social.gouv.fr
2 changes: 2 additions & 0 deletions .kontinuous/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
global:
imageProject: 1000jours
4 changes: 0 additions & 4 deletions .kube-workflow/prod/values.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .kube-workflow/values.yaml

This file was deleted.

Empty file added .socialgouv.yaml
Empty file.
Loading

0 comments on commit 4959962

Please sign in to comment.