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

feat: kontinuous #616

Open
wants to merge 114 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
cce175b
feat: build job test
devthejo Mar 25, 2022
64cf204
fix: wip
devthejo Mar 25, 2022
11c09d2
fix: wip
devthejo Mar 25, 2022
31b3616
fix: wip
devthejo Mar 25, 2022
3326204
chore: test kube downtime
devthejo Mar 28, 2022
ac056bd
chore: remove test kube downtime
devthejo Mar 28, 2022
32b9292
chore: test kube downtime on image notfound
devthejo Mar 28, 2022
0ce6c7a
chore: test kube downtime on image notfound rollback
devthejo Mar 28, 2022
8eaa1fb
chore: test kube downtime on image notfound
devthejo Mar 28, 2022
917d043
chore: test kube downtime on image notfound
devthejo Mar 28, 2022
1e5a2f7
chore: rollback
devthejo Mar 28, 2022
d29dd4b
test: feat outputs
devthejo Mar 29, 2022
4f06e60
test: feat outputs
devthejo Mar 29, 2022
903ee3b
fix: add needs
devthejo Mar 30, 2022
a9f2805
fix: needs
devthejo Mar 30, 2022
0daed1d
fix: branch
devthejo Mar 30, 2022
be1e5ec
chore: wip kube-workflow refacto monorepo
devthejo Apr 4, 2022
b8e7cc4
chore: test
devthejo Apr 5, 2022
cf647ce
chore: test
devthejo Apr 5, 2022
3fb33f8
chore: test
devthejo Apr 5, 2022
b748759
chore: test
devthejo Apr 17, 2022
a3feeea
chore: test
devthejo Apr 17, 2022
113d964
chore: test
devthejo Apr 18, 2022
49ed5a2
chore: test
devthejo Apr 18, 2022
c731b77
chore: test logs
devthejo Apr 23, 2022
190fa79
chore: test logs
devthejo Apr 23, 2022
ceca1f2
chore: test dummy commit
devthejo Apr 23, 2022
5277616
chore: test dummy commit
devthejo Apr 23, 2022
fdd0f0b
chore: test dummy commit
devthejo Apr 23, 2022
0006a11
chore: test logs
devthejo Apr 23, 2022
0a8b135
chore: test dummy commit
devthejo Apr 23, 2022
77264a3
chore: test dummy commit
devthejo Apr 23, 2022
fc52b93
chore: test dummy commit
devthejo Apr 23, 2022
ed2dc46
chore: test dummy commit
devthejo Apr 23, 2022
acb8121
chore: test dummy commit
devthejo Apr 23, 2022
0533564
chore: test dummy commit
devthejo Apr 23, 2022
691731a
chore: test dummy commit
devthejo Apr 23, 2022
1142b43
chore: test dummy commit
devthejo Apr 23, 2022
c7700aa
chore: test dummy commit
devthejo Apr 23, 2022
caba2e2
chore: test dummy commit
devthejo Apr 23, 2022
9280df3
chore: test dummy commit
devthejo Apr 23, 2022
c15cd9f
chore: test dummy commit
devthejo Apr 23, 2022
811aab2
chore: test dummy commit
devthejo Apr 23, 2022
3593c4d
chore: test dummy commit
devthejo Apr 23, 2022
2b2ccd7
chore: test dummy commit
devthejo Apr 23, 2022
57b2fd7
chore: test dummy commit
devthejo Apr 25, 2022
72d86c6
chore: fix logs
devthejo Apr 25, 2022
58c6e75
chore: test dummy commit
devthejo Apr 25, 2022
5675c17
chore: test dummy commit
devthejo Apr 26, 2022
9576c11
chore: test dummy commit
devthejo Apr 26, 2022
c0db6e7
chore: test dummy commit
devthejo Apr 26, 2022
6d5cdd4
chore: test dummy commit
devthejo Apr 26, 2022
26903a9
chore: test dummy commit
devthejo Apr 26, 2022
31daae0
chore: test dummy commit
devthejo Apr 27, 2022
4a36bf6
chore: test dummy commit
devthejo Apr 27, 2022
77c4586
chore: test dummy commit
devthejo Apr 27, 2022
1cd9c19
chore: test dummy commit
devthejo Apr 27, 2022
5805d72
chore: test dummy commit
devthejo Apr 27, 2022
e755d04
chore: test dummy commit
devthejo Apr 27, 2022
9ec9c4e
chore: testing kontinuous
devthejo May 20, 2022
a41fab0
chore: testing kontinuous
devthejo May 20, 2022
b12c7ac
chore: testing kontinuous
devthejo May 20, 2022
fc28184
chore: testing kontinuous
devthejo May 20, 2022
a8b5350
chore: test wip
devthejo May 22, 2022
0f3520b
chore: testing kontinuous
devthejo May 24, 2022
7e12122
chore: testing kontinuous logs
devthejo May 24, 2022
2e944af
chore: wip
devthejo May 24, 2022
cf79d31
chore: wip
devthejo May 24, 2022
1a07ce4
chore: wip
devthejo May 24, 2022
b03b888
chore: wip
devthejo May 24, 2022
04713a4
chore: wip
devthejo May 31, 2022
598082a
chore: test dummy commit
devthejo Jun 1, 2022
97420c5
chore: test dummy commit
devthejo Jun 1, 2022
8c1a66c
chore: test dummy commit
devthejo Jun 1, 2022
cf3d4d3
chore: test dummy commit
devthejo Jun 1, 2022
45b3d85
chore: test dummy commit
devthejo Jun 1, 2022
986e1d9
chore: test dummy commit
devthejo Jun 1, 2022
7a8c97b
chore: test dummy commit
devthejo Jun 1, 2022
f66a067
chore: wip
devthejo Jun 1, 2022
5670231
chore: wip
devthejo Jun 1, 2022
206e3ab
chore: wip
devthejo Jun 1, 2022
d720281
chore: wip
devthejo Jun 1, 2022
e78b837
chore: wip
devthejo Jun 1, 2022
41922c6
chore: test dummy commit
devthejo Jun 1, 2022
6221f9b
chore: wip
devthejo Jun 1, 2022
6367c96
chore: test dummy commit
devthejo Jun 1, 2022
9496edc
chore: test dummy commit
devthejo Jun 2, 2022
2d38ec2
chore: test dummy commit
devthejo Jun 2, 2022
9027dfb
chore: test dummy commit
devthejo Jun 2, 2022
5f05dc4
chore: test dummy commit
devthejo Jun 2, 2022
a904cf3
chore: test dummy commit
devthejo Jun 2, 2022
63c2b53
chore: test dummy commit
devthejo Jun 2, 2022
41b5a84
chore: wip
devthejo Jun 9, 2022
ada48c8
chore: wip
devthejo Jun 9, 2022
e34b437
chore: wip
devthejo Jun 9, 2022
6ee3fb3
chore: dummy commit
devthejo Jul 31, 2022
fabe2ba
chore: wip
devthejo Jul 31, 2022
e84f14e
chore: wip
devthejo Jul 31, 2022
36fbedd
chore: dummy commit
devthejo Jul 31, 2022
988e4dd
chore: wip
devthejo Aug 1, 2022
6bb8b23
chore: dummy commit
devthejo Aug 1, 2022
3eeb160
chore: dummy commit
devthejo Aug 1, 2022
df31428
chore: dummy commit
devthejo Aug 1, 2022
e49d9c0
chore: dummy commit
devthejo Aug 1, 2022
49132e5
chore: dummy commit
devthejo Aug 1, 2022
5857e42
chore: dummy commit
devthejo Aug 1, 2022
a908125
chore: dummy commit
devthejo Aug 1, 2022
2ffe11c
chore: test with dummy commit
devthejo Sep 14, 2022
01cd05e
chore: test with dummy commit
devthejo Sep 14, 2022
4e30e76
fix: plugin version
devthejo Sep 14, 2022
cec6f8e
fix: plugin version
devthejo Sep 14, 2022
cb6e939
chore: test with dummy commit
devthejo Sep 14, 2022
3bbfe99
chore: test with dummy commit
devthejo Sep 14, 2022
07b2f47
fix: uo
devthejo Sep 14, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.git
.github
.k8s
.kontinuous
*.md
**/node_modules
**/.next/cache
16 changes: 0 additions & 16 deletions .github/workflows/deactivate.yaml

This file was deleted.

13 changes: 13 additions & 0 deletions .github/workflows/kontinuous-webhook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Kontinuous
on:
push:
delete:

concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.ref }}

jobs:
stream-webhook:
uses: SocialGouv/kontinuous/.github/workflows/workflow-webhook.yaml@v1
secrets: inherit
56 changes: 0 additions & 56 deletions .github/workflows/preproduction.yml

This file was deleted.

51 changes: 0 additions & 51 deletions .github/workflows/production.yml

This file was deleted.

50 changes: 0 additions & 50 deletions .github/workflows/review.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .kontinuous/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dependencies:
- name: keycloakx
repository: https://codecentric.github.io/helm-charts
version: 1.3.2
10 changes: 10 additions & 0 deletions .kontinuous/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
projectName: sample-next-app

dependencies:
fabrique:
import: SocialGouv/kontinuous/plugins/fabrique
# values-compilers:
# global-defaults:
# options:
# foo: bar

20 changes: 20 additions & 0 deletions .kontinuous/env/dev/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
hasura:
~needs: [build-hasura,db]

pgweb:
~needs: [db]

jobs-dev:
runs:
db:
use: create-db
with:
pgAdminSecretRefName: pg-scaleway

# jobs-deactivate:
# enabled: false
# runs:
# deactivate:
# use: SocialGouv/kontinuous/plugins/fabrique/jobs/deactivate
# with:
# pgAdminSecretRefName: pg-scaleway
1 change: 1 addition & 0 deletions .kontinuous/files/test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hello
3 changes: 3 additions & 0 deletions .kontinuous/values.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = (values)=>{
return values
}
30 changes: 26 additions & 4 deletions .kube-workflow/common/values.yaml → .kontinuous/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
global:
registry: harbor.fabrique.social.gouv.fr

app:
enabled: true
# chart: fabrique.app # implicit
~needs: [build-app]
imagePackage: app
probesPath: /healthz
certSecretName: app-crt
Expand All @@ -12,8 +16,7 @@ app:
name: app-configmap

hasura:
enabled: true
# waitForPostgres: true
~needs: [build-hasura]
envFrom:
- secretRef:
name: "{{ .Values.global.pgSecretName }}"
Expand All @@ -23,5 +26,24 @@ hasura:
name: hasura-configmap

pgweb:
enabled: true
certSecretName: pgweb-crt

jobs:
runs:
build-app:
use: build
with:
registrySecretRefName: harbor
imagePackage: app

build-hasura:
use: build
with:
registrySecretRefName: harbor
imagePackage: hasura
context: hasura


secrets: {}

# keycloak: {}
13 changes: 0 additions & 13 deletions .kube-workflow/env/dev/values.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ module.exports = {
coverageDirectory: "coverage",
coverageProvider: "v8",
testEnvironment: "node",
testPathIgnorePatterns: ["/.kube-workflow/", "/node_modules/"],
testPathIgnorePatterns: ["/.kontinuous/", "/node_modules/"],
};
Empty file added manifests.yaml
Empty file.