From 07ca9a56bc997dea7f29c1ebcf2369be062de073 Mon Sep 17 00:00:00 2001 From: JenTing Hsiao Date: Tue, 10 May 2022 09:29:06 +0800 Subject: [PATCH] Change image pull policy to IfNotPresent Signed-off-by: JenTing Hsiao --- .werft/build.yaml | 2 +- .werft/debug.yaml | 2 +- .werft/ide-integration-tests-startup-jetbrains.yaml | 2 +- .werft/ide-integration-tests-startup-vscode.yaml | 2 +- .werft/ide-run-integration-tests.yaml | 4 ++-- .werft/jobs/build/helm/values.dev.yaml | 2 +- .werft/platform-delete-preview-environments-cron.yaml | 2 +- .werft/run-integration-tests.yaml | 4 ++-- .werft/wipe-devstaging.yaml | 2 +- .werft/workspace-run-integration-tests.yaml | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.werft/build.yaml b/.werft/build.yaml index d9c7e0befaf39c..e35f51f83c1202 100644 --- a/.werft/build.yaml +++ b/.werft/build.yaml @@ -73,7 +73,7 @@ pod: - name: build image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:cw-werft-cred.0 workingDir: /workspace - imagePullPolicy: Always + imagePullPolicy: IfNotPresent resources: requests: memory: "10Gi" diff --git a/.werft/debug.yaml b/.werft/debug.yaml index 60db1096b65355..96ac26c6fe7595 100644 --- a/.werft/debug.yaml +++ b/.werft/debug.yaml @@ -55,7 +55,7 @@ pod: - name: build image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:cw-werft-cred.0 workingDir: /workspace - imagePullPolicy: Always + imagePullPolicy: IfNotPresent volumeMounts: - name: monitoring-satellite-preview-token mountPath: /mnt/secrets/monitoring-satellite-preview-token diff --git a/.werft/ide-integration-tests-startup-jetbrains.yaml b/.werft/ide-integration-tests-startup-jetbrains.yaml index 9984ec2315a079..829be6755fcba1 100644 --- a/.werft/ide-integration-tests-startup-jetbrains.yaml +++ b/.werft/ide-integration-tests-startup-jetbrains.yaml @@ -14,7 +14,7 @@ pod: - name: gcloud image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:cw-werft-cred.0 workingDir: /workspace - imagePullPolicy: Always + imagePullPolicy: IfNotPresent env: - name: NODENAME valueFrom: diff --git a/.werft/ide-integration-tests-startup-vscode.yaml b/.werft/ide-integration-tests-startup-vscode.yaml index 52f06b24c0b09a..62657150576a9a 100644 --- a/.werft/ide-integration-tests-startup-vscode.yaml +++ b/.werft/ide-integration-tests-startup-vscode.yaml @@ -14,7 +14,7 @@ pod: - name: gcloud image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:cw-werft-cred.0 workingDir: /workspace - imagePullPolicy: Always + imagePullPolicy: IfNotPresent env: - name: NODENAME valueFrom: diff --git a/.werft/ide-run-integration-tests.yaml b/.werft/ide-run-integration-tests.yaml index e2afe5277b0d26..9655c6b8ac18bd 100644 --- a/.werft/ide-run-integration-tests.yaml +++ b/.werft/ide-run-integration-tests.yaml @@ -27,7 +27,7 @@ pod: - name: gcloud image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:cw-werft-cred.0 workingDir: /workspace - imagePullPolicy: Always + imagePullPolicy: IfNotPresent volumeMounts: - name: gcp-sa mountPath: /mnt/secrets/gcp-sa @@ -51,7 +51,7 @@ pod: - name: tests image: eu.gcr.io/gitpod-core-dev/build/integration-tests:{{ .Annotations.version }} workingDir: /workspace - imagePullPolicy: Always + imagePullPolicy: IfNotPresent volumeMounts: - name: config mountPath: /config diff --git a/.werft/jobs/build/helm/values.dev.yaml b/.werft/jobs/build/helm/values.dev.yaml index cb248e728e5611..4b4425ae8c4d90 100644 --- a/.werft/jobs/build/helm/values.dev.yaml +++ b/.werft/jobs/build/helm/values.dev.yaml @@ -9,7 +9,7 @@ imagePrefix: eu.gcr.io/gitpod-core-dev/build/ certificatesSecret: secretName: proxy-config-certificates version: not-set -imagePullPolicy: Always +imagePullPolicy: IfNotPresent authProviders: [] diff --git a/.werft/platform-delete-preview-environments-cron.yaml b/.werft/platform-delete-preview-environments-cron.yaml index 37f4aa340a8984..88b58e8d6c97fc 100644 --- a/.werft/platform-delete-preview-environments-cron.yaml +++ b/.werft/platform-delete-preview-environments-cron.yaml @@ -26,7 +26,7 @@ pod: - name: build image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:cw-werft-cred.0 workingDir: /workspace - imagePullPolicy: Always + imagePullPolicy: IfNotPresent volumeMounts: - name: gcp-sa mountPath: /mnt/secrets/gcp-sa diff --git a/.werft/run-integration-tests.yaml b/.werft/run-integration-tests.yaml index f9b4af71d62ed9..fe99b7fe1b8585 100644 --- a/.werft/run-integration-tests.yaml +++ b/.werft/run-integration-tests.yaml @@ -24,7 +24,7 @@ pod: - name: gcloud image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:cw-werft-cred.0 workingDir: /workspace - imagePullPolicy: Always + imagePullPolicy: IfNotPresent volumeMounts: - name: gcp-sa mountPath: /mnt/secrets/gcp-sa @@ -48,7 +48,7 @@ pod: - name: tests image: eu.gcr.io/gitpod-core-dev/build/integration-tests:{{ .Annotations.version }} workingDir: /workspace - imagePullPolicy: Always + imagePullPolicy: IfNotPresent volumeMounts: - name: config mountPath: /config diff --git a/.werft/wipe-devstaging.yaml b/.werft/wipe-devstaging.yaml index 50b87a198469a6..dcb920b9f3a6e3 100644 --- a/.werft/wipe-devstaging.yaml +++ b/.werft/wipe-devstaging.yaml @@ -16,7 +16,7 @@ pod: - name: wipe-devstaging image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:cw-werft-cred.0 workingDir: /workspace - imagePullPolicy: Always + imagePullPolicy: IfNotPresent volumeMounts: - name: gcp-sa mountPath: /mnt/secrets/gcp-sa diff --git a/.werft/workspace-run-integration-tests.yaml b/.werft/workspace-run-integration-tests.yaml index 46763aab29b3e6..e50a1ba7b79392 100644 --- a/.werft/workspace-run-integration-tests.yaml +++ b/.werft/workspace-run-integration-tests.yaml @@ -51,7 +51,7 @@ pod: - name: tests image: eu.gcr.io/gitpod-core-dev/build/integration-tests:{{ .Annotations.version }} workingDir: /workspace - imagePullPolicy: Always + imagePullPolicy: IfNotPresent volumeMounts: - name: config mountPath: /config