From c66c9fea09e825ebf63cb4aff57becedc547bedc Mon Sep 17 00:00:00 2001 From: devthejo Date: Wed, 9 Nov 2022 00:21:57 +0100 Subject: [PATCH] chore: link major version branch to v1 --- .github/actions/Dockerfile | 2 +- .github/actions/debug-manifests-output/Dockerfile | 2 +- .github/actions/debug-manifests/action.yaml | 2 +- .github/actions/deploy-via-webhook/Dockerfile | 2 +- .github/actions/deployment-reporting/action.yaml | 2 +- .github/actions/deployment-starting/action.yaml | 2 +- .github/actions/load-remote-config/Dockerfile | 2 +- .github/workflows/workflow-deploy.yaml | 2 +- .github/workflows/workflow-gotoprod-manual.yaml | 6 +++--- .github/workflows/workflow-webhook.yaml | 6 +++--- .../argocd/kontinuous-webhook/values.yaml | 2 +- .../.github/workflows/kontinuous-webhook-delete.yml | 2 +- .../.github/workflows/kontinuous-webhook-deploy.yml | 2 +- .../.github/workflows/kontinuous-webhook-delete.yml | 2 +- .../.github/workflows/kontinuous-webhook-deploy.yml | 2 +- .../.github/workflows/kontinuous-gotoprod.yml | 2 +- .../.github/workflows/kontinuous-webhook-delete.yml | 2 +- .../.github/workflows/kontinuous-webhook-deploy.yml | 2 +- docker-compose.yaml | 4 ++-- packages/argocd/Dockerfile | 4 ++-- .../kontinuous/tests/__snapshots__/deactivate.dev.yaml | 2 +- .../tests/__snapshots__/include-file.dev.yaml | 2 +- .../tests/__snapshots__/init-container.dev.yaml | 2 +- .../tests/__snapshots__/jobs-build-options.dev.yaml | 2 +- .../tests/__snapshots__/jobs-build-stage.dev.yaml | 8 ++++---- .../kontinuous/tests/__snapshots__/jobs-build.dev.yaml | 8 ++++---- .../tests/__snapshots__/jobs-runs-map.dev.yaml | 4 ++-- .../tests/__snapshots__/jobs-seed-command.dev.yaml | 4 ++-- .../tests/__snapshots__/jobs-seed-sql.dev.yaml | 10 +++++----- .../tests/__snapshots__/jobs-uses-relative.dev.yaml | 4 ++-- .../tests/__snapshots__/jobs-uses-self-ref.dev.yaml | 4 ++-- .../jobs-uses-degit.disabled/env/dev/values.yaml | 2 +- packages/webhook/values.yaml | 2 +- plugins/contrib/charts/jobs/values.yaml | 2 +- .../contrib/patches/05.1-needs-using-initcontainers.js | 2 +- 35 files changed, 55 insertions(+), 55 deletions(-) diff --git a/.github/actions/Dockerfile b/.github/actions/Dockerfile index 2cfc206c7c..1050c9ee34 100644 --- a/.github/actions/Dockerfile +++ b/.github/actions/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/socialgouv/kontinuous:v1.96.10 as base +FROM ghcr.io/socialgouv/kontinuous:v1 as base USER 0 RUN apt-get update && \ diff --git a/.github/actions/debug-manifests-output/Dockerfile b/.github/actions/debug-manifests-output/Dockerfile index 23eb2be0c8..5f19c51bf1 100644 --- a/.github/actions/debug-manifests-output/Dockerfile +++ b/.github/actions/debug-manifests-output/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/socialgouv/kontinuous/gh-actions-common:v1.96.10 +FROM ghcr.io/socialgouv/kontinuous/gh-actions-common:v1 COPY entrypoint.sh /entrypoint.sh diff --git a/.github/actions/debug-manifests/action.yaml b/.github/actions/debug-manifests/action.yaml index 9d17930ef3..38418a1b20 100644 --- a/.github/actions/debug-manifests/action.yaml +++ b/.github/actions/debug-manifests/action.yaml @@ -8,7 +8,7 @@ runs: steps: - name: Debug manifests id: debug-manifests - uses: socialgouv/kontinuous/.github/actions/debug-manifests-output@v1.96.10 + uses: socialgouv/kontinuous/.github/actions/debug-manifests-output@v1 with: path: manifests.yaml diff --git a/.github/actions/deploy-via-webhook/Dockerfile b/.github/actions/deploy-via-webhook/Dockerfile index 23eb2be0c8..5f19c51bf1 100644 --- a/.github/actions/deploy-via-webhook/Dockerfile +++ b/.github/actions/deploy-via-webhook/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/socialgouv/kontinuous/gh-actions-common:v1.96.10 +FROM ghcr.io/socialgouv/kontinuous/gh-actions-common:v1 COPY entrypoint.sh /entrypoint.sh diff --git a/.github/actions/deployment-reporting/action.yaml b/.github/actions/deployment-reporting/action.yaml index 10a1a79d62..18ba5db556 100644 --- a/.github/actions/deployment-reporting/action.yaml +++ b/.github/actions/deployment-reporting/action.yaml @@ -31,6 +31,6 @@ runs: deployment_id: ${{ inputs.deployment_id }} - name: Debug manifests - uses: socialgouv/kontinuous/.github/actions/debug-manifests@v1.96.10 + uses: socialgouv/kontinuous/.github/actions/debug-manifests@v1 with: token: ${{ inputs.token }} diff --git a/.github/actions/deployment-starting/action.yaml b/.github/actions/deployment-starting/action.yaml index a10172178c..014ca4aa91 100644 --- a/.github/actions/deployment-starting/action.yaml +++ b/.github/actions/deployment-starting/action.yaml @@ -12,7 +12,7 @@ runs: steps: - name: Load kontinuous config id: kontinuous-config - uses: socialgouv/kontinuous/.github/actions/load-remote-config@v1.96.10 + uses: socialgouv/kontinuous/.github/actions/load-remote-config@v1 - name: Notify deployment start uses: bobheadxi/deployments@v1 diff --git a/.github/actions/load-remote-config/Dockerfile b/.github/actions/load-remote-config/Dockerfile index 2bb77974f3..af5b55ef33 100644 --- a/.github/actions/load-remote-config/Dockerfile +++ b/.github/actions/load-remote-config/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/socialgouv/kontinuous/gh-actions-common:v1.96.10 +FROM ghcr.io/socialgouv/kontinuous/gh-actions-common:v1 COPY entrypoint.sh /entrypoint.sh COPY bin/ /usr/local/bin/ diff --git a/.github/workflows/workflow-deploy.yaml b/.github/workflows/workflow-deploy.yaml index 1252d120c8..570344f308 100644 --- a/.github/workflows/workflow-deploy.yaml +++ b/.github/workflows/workflow-deploy.yaml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: kontinuous pipeline - uses: socialgouv/kontinuous/.github/actions/deploy-via-github@v1.96.10 + uses: socialgouv/kontinuous/.github/actions/deploy-via-github@v1 with: token: ${{ secrets.GITHUB_TOKEN }} kubeconfig: ${{ secrets.KUBECONFIG }} diff --git a/.github/workflows/workflow-gotoprod-manual.yaml b/.github/workflows/workflow-gotoprod-manual.yaml index 8313af49d1..8616a0ac08 100644 --- a/.github/workflows/workflow-gotoprod-manual.yaml +++ b/.github/workflows/workflow-gotoprod-manual.yaml @@ -16,13 +16,13 @@ jobs: steps: - name: Starting Deployment 🎬 - uses: socialgouv/kontinuous/.github/actions/deployment-starting@v1.96.10 + uses: socialgouv/kontinuous/.github/actions/deployment-starting@v1 id: deployment-starting with: token: ${{ secrets.GITHUB_TOKEN }} - name: Kontinuous Pipeline 🥷 - uses: socialgouv/kontinuous/.github/actions/deploy-via-webhook@v1.96.10 + uses: socialgouv/kontinuous/.github/actions/deploy-via-webhook@v1 with: token: ${{ secrets.GITHUB_TOKEN }} webhookToken: ${{ secrets.KUBEWEBHOOK_TOKEN }} @@ -31,7 +31,7 @@ jobs: environment: "prod" - name: Reporting 📜 - uses: socialgouv/kontinuous/.github/actions/deployment-reporting@v1.96.10 + uses: socialgouv/kontinuous/.github/actions/deployment-reporting@v1 with: token: ${{ secrets.GITHUB_TOKEN }} deployment_id: ${{ steps.deployment-starting.outputs.deployment_id }} \ No newline at end of file diff --git a/.github/workflows/workflow-webhook.yaml b/.github/workflows/workflow-webhook.yaml index 0c832d8b2f..b5a7a71f44 100644 --- a/.github/workflows/workflow-webhook.yaml +++ b/.github/workflows/workflow-webhook.yaml @@ -21,13 +21,13 @@ jobs: steps: - name: Starting Deployment 🎬 - uses: socialgouv/kontinuous/.github/actions/deployment-starting@v1.96.10 + uses: socialgouv/kontinuous/.github/actions/deployment-starting@v1 id: deployment-starting with: token: ${{ secrets.GITHUB_TOKEN }} - name: Kontinuous Pipeline 🥷 - uses: socialgouv/kontinuous/.github/actions/deploy-via-webhook@v1.96.10 + uses: socialgouv/kontinuous/.github/actions/deploy-via-webhook@v1 with: token: ${{ secrets.GITHUB_TOKEN }} webhookToken: ${{ secrets.KUBEWEBHOOK_TOKEN }} @@ -36,7 +36,7 @@ jobs: environment: ${{ inputs.environment }} - name: Reporting 📜 - uses: socialgouv/kontinuous/.github/actions/deployment-reporting@v1.96.10 + uses: socialgouv/kontinuous/.github/actions/deployment-reporting@v1 with: token: ${{ secrets.GITHUB_TOKEN }} deployment_id: ${{ steps.deployment-starting.outputs.deployment_id }} \ No newline at end of file diff --git a/boilerplates/infra-samples/argocd/kontinuous-webhook/values.yaml b/boilerplates/infra-samples/argocd/kontinuous-webhook/values.yaml index 66568a330b..a9e0ff9401 100644 --- a/boilerplates/infra-samples/argocd/kontinuous-webhook/values.yaml +++ b/boilerplates/infra-samples/argocd/kontinuous-webhook/values.yaml @@ -1,5 +1,5 @@ kontinuous-webhook: - image: ghcr.io/socialgouv/kontinuous/webhook:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/webhook:v1 # image: harbor.fabrique.social.gouv.fr/sre/kontinuous/webhook:1 host: "kontinuous.fabrique.social.gouv.fr" kubeconfigSecrets: diff --git a/boilerplates/repositories/gitflow-gitops/.github/workflows/kontinuous-webhook-delete.yml b/boilerplates/repositories/gitflow-gitops/.github/workflows/kontinuous-webhook-delete.yml index 79bcef4380..8e01f63a4f 100644 --- a/boilerplates/repositories/gitflow-gitops/.github/workflows/kontinuous-webhook-delete.yml +++ b/boilerplates/repositories/gitflow-gitops/.github/workflows/kontinuous-webhook-delete.yml @@ -8,5 +8,5 @@ concurrency: jobs: cleaning: - uses: socialgouv/kontinuous/.github/workflows/workflow-webhook.yaml@v1.96.10 + uses: socialgouv/kontinuous/.github/workflows/workflow-webhook.yaml@v1 secrets: inherit diff --git a/boilerplates/repositories/gitflow-gitops/.github/workflows/kontinuous-webhook-deploy.yml b/boilerplates/repositories/gitflow-gitops/.github/workflows/kontinuous-webhook-deploy.yml index 886984fe18..fd006a5b81 100644 --- a/boilerplates/repositories/gitflow-gitops/.github/workflows/kontinuous-webhook-deploy.yml +++ b/boilerplates/repositories/gitflow-gitops/.github/workflows/kontinuous-webhook-deploy.yml @@ -12,7 +12,7 @@ concurrency: jobs: deploy: - uses: socialgouv/kontinuous/.github/workflows/workflow-webhook.yaml@v1.96.10 + uses: socialgouv/kontinuous/.github/workflows/workflow-webhook.yaml@v1 secrets: inherit with: triggerWebhook: true # comment this line when enabling webhook on repository diff --git a/boilerplates/repositories/trunk-gitops/.github/workflows/kontinuous-webhook-delete.yml b/boilerplates/repositories/trunk-gitops/.github/workflows/kontinuous-webhook-delete.yml index 79bcef4380..8e01f63a4f 100644 --- a/boilerplates/repositories/trunk-gitops/.github/workflows/kontinuous-webhook-delete.yml +++ b/boilerplates/repositories/trunk-gitops/.github/workflows/kontinuous-webhook-delete.yml @@ -8,5 +8,5 @@ concurrency: jobs: cleaning: - uses: socialgouv/kontinuous/.github/workflows/workflow-webhook.yaml@v1.96.10 + uses: socialgouv/kontinuous/.github/workflows/workflow-webhook.yaml@v1 secrets: inherit diff --git a/boilerplates/repositories/trunk-gitops/.github/workflows/kontinuous-webhook-deploy.yml b/boilerplates/repositories/trunk-gitops/.github/workflows/kontinuous-webhook-deploy.yml index e71b0e0885..4f226bea00 100644 --- a/boilerplates/repositories/trunk-gitops/.github/workflows/kontinuous-webhook-deploy.yml +++ b/boilerplates/repositories/trunk-gitops/.github/workflows/kontinuous-webhook-deploy.yml @@ -10,7 +10,7 @@ concurrency: jobs: deploy: - uses: socialgouv/kontinuous/.github/workflows/workflow-webhook.yaml@v1.96.10 + uses: socialgouv/kontinuous/.github/workflows/workflow-webhook.yaml@v1 secrets: inherit with: triggerWebhook: true # comment this line when enabling webhook on repository \ No newline at end of file diff --git a/boilerplates/repositories/trunk-manual-prod/.github/workflows/kontinuous-gotoprod.yml b/boilerplates/repositories/trunk-manual-prod/.github/workflows/kontinuous-gotoprod.yml index 29346c3380..dcbe15caa8 100644 --- a/boilerplates/repositories/trunk-manual-prod/.github/workflows/kontinuous-gotoprod.yml +++ b/boilerplates/repositories/trunk-manual-prod/.github/workflows/kontinuous-gotoprod.yml @@ -10,5 +10,5 @@ concurrency: jobs: deploy: - uses: socialgouv/kontinuous/.github/workflows/workflow-gotoprod-manual.yaml@v1.96.10 + uses: socialgouv/kontinuous/.github/workflows/workflow-gotoprod-manual.yaml@v1 secrets: inherit diff --git a/boilerplates/repositories/trunk-manual-prod/.github/workflows/kontinuous-webhook-delete.yml b/boilerplates/repositories/trunk-manual-prod/.github/workflows/kontinuous-webhook-delete.yml index 79bcef4380..8e01f63a4f 100644 --- a/boilerplates/repositories/trunk-manual-prod/.github/workflows/kontinuous-webhook-delete.yml +++ b/boilerplates/repositories/trunk-manual-prod/.github/workflows/kontinuous-webhook-delete.yml @@ -8,5 +8,5 @@ concurrency: jobs: cleaning: - uses: socialgouv/kontinuous/.github/workflows/workflow-webhook.yaml@v1.96.10 + uses: socialgouv/kontinuous/.github/workflows/workflow-webhook.yaml@v1 secrets: inherit diff --git a/boilerplates/repositories/trunk-manual-prod/.github/workflows/kontinuous-webhook-deploy.yml b/boilerplates/repositories/trunk-manual-prod/.github/workflows/kontinuous-webhook-deploy.yml index 54e8450604..4c6afaa6d2 100644 --- a/boilerplates/repositories/trunk-manual-prod/.github/workflows/kontinuous-webhook-deploy.yml +++ b/boilerplates/repositories/trunk-manual-prod/.github/workflows/kontinuous-webhook-deploy.yml @@ -12,7 +12,7 @@ concurrency: jobs: deploy: - uses: socialgouv/kontinuous/.github/workflows/workflow-webhook.yaml@v1.96.10 + uses: socialgouv/kontinuous/.github/workflows/workflow-webhook.yaml@v1 secrets: inherit with: triggerWebhook: true # comment this line when enabling webhook on repository diff --git a/docker-compose.yaml b/docker-compose.yaml index fce3d2a255..92bca268f8 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -16,6 +16,6 @@ services: KUBEWEBHOOK_CONFIG_PATH: config.sample.yaml KUBEWEBHOOK_SUPERTOKEN: ${KUBEWEBHOOK_SUPERTOKEN:-1234} KUBEWEBHOOK_EXPOSED_PORT: ${KUBEWEBHOOK_EXPOSED_PORT:-7530} - KUBEWEBHOOK_PIPELINE_IMAGE: ${KUBEWEBHOOK_PIPELINE_IMAGE:-"ghcr.io/socialgouv/kontinuous:v1.96.10"} - KUBEWEBHOOK_PIPELINE_CHECKOUT_IMAGE: ${KUBEWEBHOOK_PIPELINE_CHECKOUT_IMAGE:-"ghcr.io/socialgouv/kontinuous/degit:v1.96.10"} + KUBEWEBHOOK_PIPELINE_IMAGE: ${KUBEWEBHOOK_PIPELINE_IMAGE:-"ghcr.io/socialgouv/kontinuous:v1"} + KUBEWEBHOOK_PIPELINE_CHECKOUT_IMAGE: ${KUBEWEBHOOK_PIPELINE_CHECKOUT_IMAGE:-"ghcr.io/socialgouv/kontinuous/degit:v1"} KS_LOG_LEVEL: "trace" diff --git a/packages/argocd/Dockerfile b/packages/argocd/Dockerfile index a0d49ee7ff..ddb6c49124 100644 --- a/packages/argocd/Dockerfile +++ b/packages/argocd/Dockerfile @@ -23,8 +23,8 @@ RUN chown 1001:1001 /workspace RUN git config --global --add safe.directory /workspace -COPY --from=ghcr.io/socialgouv/kontinuous:v1.96.10 /usr/local/bin /usr/local/bin/ -COPY --from=ghcr.io/socialgouv/kontinuous:v1.96.8 --chown=999:v1.96.10 /opt/kontinuous /opt/kontinuous/ +COPY --from=ghcr.io/socialgouv/kontinuous:v1 /usr/local/bin /usr/local/bin/ +COPY --from=ghcr.io/socialgouv/kontinuous:v1.96.8 --chown=999:v1 /opt/kontinuous /opt/kontinuous/ # Switch back to non-root user USER 999 \ No newline at end of file diff --git a/packages/kontinuous/tests/__snapshots__/deactivate.dev.yaml b/packages/kontinuous/tests/__snapshots__/deactivate.dev.yaml index a9a2cfa52e..6a5cdda5be 100644 --- a/packages/kontinuous/tests/__snapshots__/deactivate.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/deactivate.dev.yaml @@ -82,7 +82,7 @@ spec: restartPolicy: Never initContainers: - name: degit-action - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 command: - sh - '-c' diff --git a/packages/kontinuous/tests/__snapshots__/include-file.dev.yaml b/packages/kontinuous/tests/__snapshots__/include-file.dev.yaml index 7d165815fe..a3d47c800f 100644 --- a/packages/kontinuous/tests/__snapshots__/include-file.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/include-file.dev.yaml @@ -139,7 +139,7 @@ spec: restartPolicy: Never initContainers: - name: degit-repository - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 imagePullPolicy: IfNotPresent command: - sh diff --git a/packages/kontinuous/tests/__snapshots__/init-container.dev.yaml b/packages/kontinuous/tests/__snapshots__/init-container.dev.yaml index 1eaa8f754f..574bdb6400 100644 --- a/packages/kontinuous/tests/__snapshots__/init-container.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/init-container.dev.yaml @@ -140,7 +140,7 @@ spec: restartPolicy: Never initContainers: - name: degit-repository - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 imagePullPolicy: IfNotPresent command: - sh diff --git a/packages/kontinuous/tests/__snapshots__/jobs-build-options.dev.yaml b/packages/kontinuous/tests/__snapshots__/jobs-build-options.dev.yaml index c391eb873d..04d6fb103c 100644 --- a/packages/kontinuous/tests/__snapshots__/jobs-build-options.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/jobs-build-options.dev.yaml @@ -152,7 +152,7 @@ spec: restartPolicy: Never initContainers: - name: degit-repository - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 imagePullPolicy: IfNotPresent command: - sh diff --git a/packages/kontinuous/tests/__snapshots__/jobs-build-stage.dev.yaml b/packages/kontinuous/tests/__snapshots__/jobs-build-stage.dev.yaml index 503a0d0407..c119ce2b64 100644 --- a/packages/kontinuous/tests/__snapshots__/jobs-build-stage.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/jobs-build-stage.dev.yaml @@ -155,7 +155,7 @@ spec: restartPolicy: Never initContainers: - name: degit-action - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 command: - sh - '-c' @@ -313,7 +313,7 @@ spec: restartPolicy: Never initContainers: - name: degit-action - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 command: - sh - '-c' @@ -459,7 +459,7 @@ spec: restartPolicy: Never initContainers: - name: degit-repository - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 imagePullPolicy: IfNotPresent command: - sh @@ -632,7 +632,7 @@ spec: restartPolicy: Never initContainers: - name: degit-repository - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 imagePullPolicy: IfNotPresent command: - sh diff --git a/packages/kontinuous/tests/__snapshots__/jobs-build.dev.yaml b/packages/kontinuous/tests/__snapshots__/jobs-build.dev.yaml index 86ff81a51f..71b42b4612 100644 --- a/packages/kontinuous/tests/__snapshots__/jobs-build.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/jobs-build.dev.yaml @@ -154,7 +154,7 @@ spec: restartPolicy: Never initContainers: - name: degit-action - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 command: - sh - '-c' @@ -311,7 +311,7 @@ spec: restartPolicy: Never initContainers: - name: degit-action - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 command: - sh - '-c' @@ -455,7 +455,7 @@ spec: restartPolicy: Never initContainers: - name: degit-repository - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 imagePullPolicy: IfNotPresent command: - sh @@ -626,7 +626,7 @@ spec: restartPolicy: Never initContainers: - name: degit-repository - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 imagePullPolicy: IfNotPresent command: - sh diff --git a/packages/kontinuous/tests/__snapshots__/jobs-runs-map.dev.yaml b/packages/kontinuous/tests/__snapshots__/jobs-runs-map.dev.yaml index 0fd118a179..ce739035d9 100644 --- a/packages/kontinuous/tests/__snapshots__/jobs-runs-map.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/jobs-runs-map.dev.yaml @@ -153,7 +153,7 @@ spec: restartPolicy: Never initContainers: - name: degit-action - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 command: - sh - '-c' @@ -310,7 +310,7 @@ spec: restartPolicy: Never initContainers: - name: degit-action - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 command: - sh - '-c' diff --git a/packages/kontinuous/tests/__snapshots__/jobs-seed-command.dev.yaml b/packages/kontinuous/tests/__snapshots__/jobs-seed-command.dev.yaml index d5030ec57d..96b52a1876 100644 --- a/packages/kontinuous/tests/__snapshots__/jobs-seed-command.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/jobs-seed-command.dev.yaml @@ -154,7 +154,7 @@ spec: restartPolicy: Never initContainers: - name: degit-action - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 command: - sh - '-c' @@ -311,7 +311,7 @@ spec: restartPolicy: Never initContainers: - name: degit-action - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 command: - sh - '-c' diff --git a/packages/kontinuous/tests/__snapshots__/jobs-seed-sql.dev.yaml b/packages/kontinuous/tests/__snapshots__/jobs-seed-sql.dev.yaml index 70bdbbb74c..5f3f553ffc 100644 --- a/packages/kontinuous/tests/__snapshots__/jobs-seed-sql.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/jobs-seed-sql.dev.yaml @@ -154,7 +154,7 @@ spec: restartPolicy: Never initContainers: - name: degit-action - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 command: - sh - '-c' @@ -311,7 +311,7 @@ spec: restartPolicy: Never initContainers: - name: degit-action - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 command: - sh - '-c' @@ -457,7 +457,7 @@ spec: restartPolicy: Never initContainers: - name: degit-action - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 command: - sh - '-c' @@ -594,7 +594,7 @@ spec: restartPolicy: Never initContainers: - name: degit-repository - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 imagePullPolicy: IfNotPresent command: - sh @@ -617,7 +617,7 @@ spec: cpu: 10m memory: 64Mi - name: degit-action - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 command: - sh - '-c' diff --git a/packages/kontinuous/tests/__snapshots__/jobs-uses-relative.dev.yaml b/packages/kontinuous/tests/__snapshots__/jobs-uses-relative.dev.yaml index 29f0cc86bd..89438d57fb 100644 --- a/packages/kontinuous/tests/__snapshots__/jobs-uses-relative.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/jobs-uses-relative.dev.yaml @@ -153,7 +153,7 @@ spec: restartPolicy: Never initContainers: - name: degit-action - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 command: - sh - '-c' @@ -310,7 +310,7 @@ spec: restartPolicy: Never initContainers: - name: degit-action - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 command: - sh - '-c' diff --git a/packages/kontinuous/tests/__snapshots__/jobs-uses-self-ref.dev.yaml b/packages/kontinuous/tests/__snapshots__/jobs-uses-self-ref.dev.yaml index 5165bc8730..c1f7fc26b7 100644 --- a/packages/kontinuous/tests/__snapshots__/jobs-uses-self-ref.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/jobs-uses-self-ref.dev.yaml @@ -153,7 +153,7 @@ spec: restartPolicy: Never initContainers: - name: degit-action - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 command: - sh - '-c' @@ -310,7 +310,7 @@ spec: restartPolicy: Never initContainers: - name: degit-action - image: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 + image: ghcr.io/socialgouv/kontinuous/degit:v1 command: - sh - '-c' diff --git a/packages/kontinuous/tests/samples/jobs-uses-degit.disabled/env/dev/values.yaml b/packages/kontinuous/tests/samples/jobs-uses-degit.disabled/env/dev/values.yaml index 799732b117..ffb5c06bbf 100644 --- a/packages/kontinuous/tests/samples/jobs-uses-degit.disabled/env/dev/values.yaml +++ b/packages/kontinuous/tests/samples/jobs-uses-degit.disabled/env/dev/values.yaml @@ -2,6 +2,6 @@ jobs: enabled: true runs: db: - use: socialgouv/kontinuous/plugins/contrib/jobs/create-db@v1.96.10 + use: socialgouv/kontinuous/plugins/contrib/jobs/create-db@v1 with: pgAdminSecretRefName: pg-scaleway diff --git a/packages/webhook/values.yaml b/packages/webhook/values.yaml index 93647d0187..a022b2936c 100644 --- a/packages/webhook/values.yaml +++ b/packages/webhook/values.yaml @@ -8,7 +8,7 @@ replicas: 2 isProdCluster: true containerPort: 3000 image: harbor.fabrique.social.gouv.fr/sre/kontinuous/webhook:latest -# image: ghcr.io/socialgouv/kontinuous/webhook:v1.96.10 +# image: ghcr.io/socialgouv/kontinuous/webhook:v1 resources: limits: cpu: 2 diff --git a/plugins/contrib/charts/jobs/values.yaml b/plugins/contrib/charts/jobs/values.yaml index e245af439f..c2ff68871b 100644 --- a/plugins/contrib/charts/jobs/values.yaml +++ b/plugins/contrib/charts/jobs/values.yaml @@ -6,7 +6,7 @@ gitBranch: runs: {} image: "debian:stable" -degitImage: ghcr.io/socialgouv/kontinuous/degit:v1.96.10 +degitImage: ghcr.io/socialgouv/kontinuous/degit:v1 # degitImagePullPolicy: Always degitImagePullPolicy: IfNotPresent diff --git a/plugins/contrib/patches/05.1-needs-using-initcontainers.js b/plugins/contrib/patches/05.1-needs-using-initcontainers.js index cc819e079c..9365ac2341 100644 --- a/plugins/contrib/patches/05.1-needs-using-initcontainers.js +++ b/plugins/contrib/patches/05.1-needs-using-initcontainers.js @@ -1,4 +1,4 @@ -const kontinuousNeedsImage = "ghcr.io/socialgouv/kontinuous/wait-needs:v1.96.10" +const kontinuousNeedsImage = "ghcr.io/socialgouv/kontinuous/wait-needs:v1" // const kontinuousNeedsImage = "harbor.fabrique.social.gouv.fr/sre/kontinuous/wait-needs:v1" const getDeps = require("../lib/get-needs-deps")