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

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Oct 22, 2022
1 parent 3cba887 commit f78fe7f
Show file tree
Hide file tree
Showing 9 changed files with 65 additions and 55 deletions.
13 changes: 7 additions & 6 deletions .kontinuous/config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
projectName: fabrique
isLocal: true
gitBranch: main
gitBranch: local
deployTimeout: 30m

dependencies:
fabrique:
import: SocialGouv/kontinuous/plugins/fabrique

# contrib:
# validators:
# noPlainSecrets: # should be enable for lebal environment
# enabled: false
dependencies:
contrib:
validators:
noPlainSecrets: # should be enable for lebal environment
enabled: false
20 changes: 10 additions & 10 deletions .kontinuous/env/local/templates/kubeconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ stringData:
apiVersion: v1
clusters:
- cluster:
certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1Ea3lNVEEzTkRjMU5Gb1hEVE15TURreE9EQTNORGMxTkZvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBT0p1CkxsU2dqeU9jQ2VCQ1FMbjduU0YzRm1pWmZNR3dUemVoUW51Rm5PekVjcFVKSlMwdkVjMVorU2toczg5VjJuWTYKelNuaVk0cFIyUUJjL0c5ODloZVVXYWhjVDJablZtRk52bzRyd2J1by8yakJlS2s5MWVWT3hEemdmM1ZZTSs5ZApDMm5RdTQ5MnJ2UWFnNE5DNDgxdmlUQUt4b05ObTBTS3doemtWYUtDbm8xTVZlNVNzbTFGZXREdHZINk1VaG9kCn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1Mk10VE8KamZ3VS9FTC9jQS9YNkpCdWEwRmorbFZVQmpLM1RlZGowekJKekFoU0p5citBT2FZK0pZa251dmFvb1I1K2lGTwpnY0xPS2k5Z2J0N0Jxc2V1SDJYWHBlRlV2SFBSNkEwK3dVSlBUdXJ6YjlaZEdhUkVNMjUxZzhic0xydlhON0R6CktmTFlab2haNzZDNGREZFJ3NS9lUFNVYnZFVXlaVXV5YVdmRHpWZmViUEwyWmVCOHhwc2JMUmpRYnFVeS9XcjQKajZnPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
server: https://10.96.0.1:443
name: kind-template
contexts:
- context:
cluster: docker-desktop
user: docker-desktop
name: docker-desktop
current-context: docker-desktop
cluster: kind-template
user: kind-template
name: kind-template
current-context: kind-template
kind: Config
preferences: {}
users:
- name: docker-desktop
- name: kind-template
user:
client-certificate-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURRakNDQWlxZ0F3SUJBZ0lJVlhiMkhqdHl5a3d3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TWpBNU1qRXdOelEzTlRSYUZ3MHlNekE1TWpZd09ERXdNVEZhTURZeApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sc3dHUVlEVlFRREV4SmtiMk5yWlhJdFptOXlMV1JsCmMydDBiM0F3Z2dFaU1BMEdDU3FHU0liM0RRRUJBUVVBQTRJQkR3QXdnZ0VLQW9JQkFRQ2tCNDh0TlRkdlZlU0IKdEN4VXd2ZWhzNjh0WWZwNVdla2xQRXVoeG43WXp3VG4rRlhFRExSQlBjd1FkTFgxZ28ydnF2bkh1eUZ4bjJLeAp3aVJFeDFyZDFSK0RkY0hyK3ZGWDdlSnU5aHdTeUtXY0tVSnFjWWJtaGdFTlhibTNVelBOcEtKUWJMU3lJR1FaCmtNeGUrckZTeFFmR2Q3OTByYlBRbGFzdVFa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jdvOWRNa3JCNVViMHAzYXBJSzJJdApwb214M3V0NTJzdnhTQXhZd0ozRGtHUVp5dXlSZDNuZGtDdWp6WCtmSVh0WVQ0bHJkTitnUjI5RjQ2YWtuU2ZOCkZxZk0rcDBwOXc0aGg5a3VlY0d5Vy8wQ2dZQU8yZzRlcE1EMFB6NHJqeFcwNXhaSTkwNkt3Nk5CaUJiRVNrNUgKZE1ON1V6UzNFam1sUVhwQ1dJd3hjaWlNaVlUVCsxK1h1QkdUaW1SR0FFYU5TNnZwMkZJYmpqRXpYaldLMHRIcApJRUU3ejd1ZVN1b0ZDRXArTkRXS2Zza0xDbXNkS0MzSXhTVE5GemJKd1JWaHNwNkZxMC9VT29qSi92ZnRpTGRaClB6OVRJUUtCZ0JBRHBEVjFFVXdTNlBWSS9hV2NFNEs0Ti9kUFh4ZHZsdGpjWi9FOHJlTnExTFFLajVMWVN6RUcKLzVOdkpUM1A0YmFQM1dJUEozMVJDZkVJV2ExVThHWmRESGxTaDY5ajNwWkErQndGL21TZEFEajErVzAzRVlpUgpQdkhlWjRaNUxpWVBkN1hkQmhZZ3dSR2ZQSlZJU0dsbUpGQUI1RnlPUmZyQ05QdmJJbU5CCi0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==
2 changes: 1 addition & 1 deletion .kontinuous/env/local/templates/pg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type: Opaque
stringData:
PGUSER: user
PGPASSWORD: password
PGHOST: postgres
PGHOST: app-postgres.template-local.svc.cluster.local # todo: resolve dynamically
PGPORT: "5432"
PGSSLMODE: disable
PGDATABASE: postgres
2 changes: 1 addition & 1 deletion .kontinuous/env/local/templates/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ metadata:
namespace: ci
type: Opaque
stringData:
CI_REGISTRY: 10.103.1.205
CI_REGISTRY: kind-registry:5000
CI_REGISTRY_PASSWORD: ""
CI_REGISTRY_USER: ""
13 changes: 6 additions & 7 deletions .kontinuous/env/local/values.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
global:
registry: 10.103.1.205
registry: kind-registry:5000
ciNamespace: ci
host: "template-demo.test"

jobs:
runs:
db-keycloak:
use: SocialGouv/kontinuous/plugins/contrib/jobs/create-db@v1
use: create-db
~needs: [app-postgres]
with:
pgAdminSecretRefName: pg
pgSecretName: "keycloak-db-{{ .Values.global.branchSlug32 }}"
database: "keycloak_{{ .Values.global.branchSlug32 }}"
pgUser: "keycloak_{{ .Values.global.branchSlug32 }}"
db-hasura:
use: SocialGouv/kontinuous/plugins/contrib/jobs/create-db@v1
use: create-db
~needs: [app-postgres]
with:
pgAdminSecretRefName: pg
Expand All @@ -21,14 +23,11 @@ jobs:
pgUser: "hasura_{{ .Values.global.branchSlug32 }}"
seed-hasura:
~needs: [hasura, app-postgres]
use: SocialGouv/kontinuous/plugins/contrib/jobs/seed-db@v1
use: seed-db
with:
seedPath: hasura/seeds/default/books.sql
pgSecretName: "hasura-db-{{ .Values.global.branchSlug32 }}"

app:
host: "demo.local"

hasura:
~needs: [build-hasura, db-hasura, keycloakx]
envFrom:
Expand Down
2 changes: 1 addition & 1 deletion .kontinuous/kind/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
containerdConfigPatches:
- |-
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."localhost:5001"]
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."kind-registry:5000"]
endpoint = ["http://kind-registry:5000"]
nodes:
- role: control-plane
Expand Down
13 changes: 10 additions & 3 deletions .kontinuous/kind/setup-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,18 @@ if [ "$(docker inspect -f='{{json .NetworkSettings.Networks.kind}}' "${reg_name}
docker network connect "kind" "${reg_name}"
fi

# create the kind cluster
kind delete clusters "${cluster_name}" || true
kind create cluster --wait 5m --name "${cluster_name}" --config=./config.yaml
kind create cluster --wait 5m --name "${cluster_name}" --config=./config.yaml --kubeconfig=./kubeconfig.yaml

# add ingress-nginx
kubectl --context "kind-${cluster_name}" apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml
kubectl --kubeconfig=./kubeconfig.yaml apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml

# add local registry
kubectl --context "kind-${cluster_name}" apply -f ./local-registry.yaml
kubectl --kubeconfig=./kubeconfig.yaml apply -f ./local-registry.yaml

# create CI namespace
kubectl --kubeconfig=./kubeconfig.yaml create ns ci

# create kubeconfig in env/local/templates/kubeconfig.yaml
kubectl create secret kubeconfig --namespace=ci --dry-run --from-file=KUBECONFIG=./kubeconfig.yaml > ../env/local/kubeconfig.yaml
49 changes: 24 additions & 25 deletions .kontinuous/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ global:
app:
~needs: [build-app, keycloakx, hasura]
host: "{{.Values.global.host}}"
#imageProject: fabrique
#imageRepository: template
imagePackage: app
containerPort: 3000
probesPath: "/healthz"
Expand All @@ -24,31 +22,26 @@ app:
jobs:
runs:
build-app:
use: SocialGouv/kontinuous/plugins/contrib/jobs/build@local
use: build
memoryLimit: 10Gi
memoryRequest: 4Gi
with:
#imageProject: fabrique
#imageRepository: template
imagePackage: app
#registrySecretRefName: "{{ $.Values.global.registrySecretRefName }}"
skipExisting: true
buildArgs:
NEXT_PUBLIC_APP_VERSION_COMMIT: "{{ $.Values.global.sha }}"
NEXT_PUBLIC_HASURA_GRAPHQL_ENDPOINT_URL: "https://hasura-{{.Values.global.host}}/v1/graphql"

buildOptions: --insecure --single-snapshot --ignore-path=/product_uuid --compressed-caching=false # optim for local builds
build-hasura:
use: SocialGouv/kontinuous/plugins/contrib/jobs/build@local
use: build
with:
#imageProject: fabrique
#imageRepository: template
skipExisting: true
imagePackage: hasura
#registrySecretRefName: "{{ $.Values.global.registrySecretRefName }}"
context: ./hasura
buildOptions: --insecure --single-snapshot --ignore-path=/product_uuid --compressed-caching=false # optim for local builds

hasura:
~needs: [build-hasura, keycloakx]
# imageProject: fabrique
# imageRepository: template
imagePackage: hasura
env:
- name: HASURA_GRAPHQL_ENABLE_CONSOLE
Expand All @@ -66,18 +59,24 @@ hasura:
name: hasura

app-postgres:
image: postgres:13
image: mdillon/postgis:11
containerPort: 5432
# readinessProbe:
# exec:
# command: ["psql", "-w", "-U", "user", "-d", "postgres", "-c", "SELECT 1"]
# initialDelaySeconds: 15
# timeoutSeconds: 2
# livenessProbe:
# exec:
# command: ["psql", "-w", "-U", "user", "-d", "postgres", "-c", "SELECT 1"]
# initialDelaySeconds: 45
# timeoutSeconds: 2
servicePort: 5432
readinessProbe:
exec:
command: ["psql", "-w", "-U", "user", "-d", "postgres", "-c", "SELECT 1"]
initialDelaySeconds: 5
timeoutSeconds: 2
livenessProbe:
exec:
command: ["psql", "-w", "-U", "user", "-d", "postgres", "-c", "SELECT 1"]
initialDelaySeconds: 5
timeoutSeconds: 2
startupProbe:
exec:
command: ["psql", "-w", "-U", "user", "-d", "postgres", "-c", "SELECT 1"]
initialDelaySeconds: 5
timeoutSeconds: 2
ingress:
enabled: false
env:
Expand Down Expand Up @@ -110,7 +109,7 @@ keycloakx:
- "--http-port=8080"
- "--hostname-strict=true"
- "--hostname-strict-https=true"
- "--log-level=debug"
# - "--log-level=debug"
- "--import-realm"
#- "--features=admin2"
#- "--spi-login-protocol-openid-connect-legacy-logout-redirect-uri=true" # allow redirect_uri on logout see https://www.keycloak.org/2022/04/keycloak-1800-released.html
Expand Down
6 changes: 5 additions & 1 deletion .talismanrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ fileignoreconfig:
- filename: .env.staging
checksum: f7e70bc08ec6658b8c622acba19325314d6b8d03aa428dd7615ff4ce5a9eae98
- filename: .kontinuous/config.yaml
checksum: 3186199bb12918a1abadd8892e1033b243a8e6c941eeac3129681da315a8bdc1
checksum: cc98e1166ca4a0b4ff2eb12e978eed35dc1a3ec2876debdc71bb37b7482017c5
- filename: .kontinuous/env/dev/templates/app.sealed.secret.yaml
checksum: fcbdb3df446d45096551093aefa6989d48546580171201984d1207b593704597
- filename: .kontinuous/env/dev/templates/hasura.sealed.secret.yaml
checksum: 7a775d6a31628685ac20af5e17ab13725fd69927a0a20eb7c54985b8aa0723a5
- filename: .kontinuous/env/dev/values.yaml
checksum: 641ce0c76153a7e6454ca38d427735ba589035a0d6ae18173bd986cea6e913db
- filename: .kontinuous/env/local/templates/kubeconfig.yaml
checksum: 8ebaa0c743f3cb132a5d7d51c87cc914abf3589e4f19f35d9db3d52c85a2acbf
- filename: .kontinuous/env/preprod/templates/app.sealed.secret.yaml
checksum: 6d0bdcef816f00308d8bfdbdb9aeca94dfaee5b54f29f2b868a9085fd6428829
- filename: .kontinuous/env/preprod/templates/hasura.sealed.secret.yaml
Expand All @@ -27,6 +29,8 @@ fileignoreconfig:
checksum: 7f2dcf9c19bfb1f6ae6ce4002ce2c86c8f46ef230b6eec066f3051b10acbd6a6
- filename: .kontinuous/files/realm-export.json
checksum: 5d1c6ce3754d1f5f04559ff311e86d3d4b9eb35d234af9c99f2f8815dc1a13ff
- filename: .kontinuous/kind/setup-cluster.sh
checksum: bb8db43fb6c5340db2415cdfe2c2c2468b2f2b7f4247b8abddec4508a56fe9a7
- filename: .kontinuous/values.yaml
checksum: 4684a75ec08f2e5fe8bb77b4011cbb6a990fa71ad97bef71c63f4777689caf6b
- filename: docker-compose.yaml
Expand Down

0 comments on commit f78fe7f

Please sign in to comment.