-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GitOps] templates-api: enable continuous deployment & cleanup GCP provisioning #2171
[GitOps] templates-api: enable continuous deployment & cleanup GCP provisioning #2171
Conversation
@@ -3,7 +3,8 @@ name: 'Release: Templates API' | |||
on: | |||
push: | |||
tags: | |||
- 'templates-api-v**' | |||
- 'production-templates-api-v**' | |||
- 'dev-templates-api-v**' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
po novom je nutna zmena tagovania releasov, tag je treba prefixnut production-
resp dev-
. Upravim potom aj release triggre v Azure DevOps pre AWS/Azure deploymenty.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
vidim ze testy presli, tak by som to mergol :) |
Templates API Kubernetes Diff [CI]Between Expand--- /tmp/artifacts/test-k8s-state.old.json.processed.kv 2024-12-06 08:56:44.932015977 +0000
+++ /tmp/artifacts/test-k8s-state.new.json.processed.kv 2024-12-06 08:56:45.140016199 +0000
@@ -197 +197 @@
-<Deployment/templates-api>.spec.template.spec.containers[0].image = "docker.io/keboola/templates-api:60c9f4f-1733474980";
+<Deployment/templates-api>.spec.template.spec.containers[0].image = "docker.io/keboola/templates-api:d3e8098-1733475286";
@@ -759,3 +759,3 @@
-<Pod/templates-api-<hash>>.spec.containers[0].image = "docker.io/keboola/templates-api:60c9f4f-1733474980";
-<Pod/templates-api-<hash>>.spec.containers[0].image = "docker.io/keboola/templates-api:60c9f4f-1733474980";
-<Pod/templates-api-<hash>>.spec.containers[0].image = "docker.io/keboola/templates-api:60c9f4f-1733474980";
+<Pod/templates-api-<hash>>.spec.containers[0].image = "docker.io/keboola/templates-api:d3e8098-1733475286";
+<Pod/templates-api-<hash>>.spec.containers[0].image = "docker.io/keboola/templates-api:d3e8098-1733475286";
+<Pod/templates-api-<hash>>.spec.containers[0].image = "docker.io/keboola/templates-api:d3e8098-1733475286";
@@ -1432 +1432 @@
-<ReplicaSet/templates-api-<hash>>.spec.template.spec.containers[0].image = "docker.io/keboola/templates-api:60c9f4f-1733474980";
+<ReplicaSet/templates-api-<hash>>.spec.template.spec.containers[0].image = "docker.io/keboola/templates-api:d3e8098-1733475286";
@@ -1503,0 +1504,12 @@
+<Secret/sh.helm.release.v1.templates-api-etcd.v2> = {};
+<Secret/sh.helm.release.v1.templates-api-etcd.v2>.apiVersion = "v1";
+<Secret/sh.helm.release.v1.templates-api-etcd.v2>.data = {};
+<Secret/sh.helm.release.v1.templates-api-etcd.v2>.kind = "Secret";
+<Secret/sh.helm.release.v1.templates-api-etcd.v2>.metadata = {};
+<Secret/sh.helm.release.v1.templates-api-etcd.v2>.metadata.labels = {};
+<Secret/sh.helm.release.v1.templates-api-etcd.v2>.metadata.labels.name = "templates-api-etcd";
+<Secret/sh.helm.release.v1.templates-api-etcd.v2>.metadata.labels.owner = "helm";
+<Secret/sh.helm.release.v1.templates-api-etcd.v2>.metadata.labels.version = "2";
+<Secret/sh.helm.release.v1.templates-api-etcd.v2>.metadata.name = "sh.helm.release.v1.templates-api-etcd.v2";
+<Secret/sh.helm.release.v1.templates-api-etcd.v2>.metadata.namespace = "templates-api";
+<Secret/sh.helm.release.v1.templates-api-etcd.v2>.type = "helm.sh/release.v1";
(see artifacts in the Github Action for more information) |
Jira: https://keboola.atlassian.net/browse/ST-2490
Podobne ako v #2158 aj tu zavadzam continuous deployment do ArgoCD kedze vsetky GCP deploymenty templates-api su uz swtichnute na ArgoCD vid https://argo.keboola.tech/applications?showFavorites=false&proj=&sync=&autoSync=&health=&namespace=&cluster=&labels=app%253Dtemplates-api

Novy helm chart pre templates-api je v https://github.com/keboola/kbc-stacks/tree/main/apps/templates-api
Priklad deploymentu do stacku https://github.com/keboola/kbc-stacks/tree/main/com-keboola-gcp-europe-west3/templates-api
Zaroven mazem stary GCP provisioning code.