From 3af5f4cd88245138992deb2a46c17e6f85858d68 Mon Sep 17 00:00:00 2001 From: Stephen Sachs Date: Tue, 23 May 2023 21:44:39 +0200 Subject: [PATCH] Force gitlab to pull the new container --- share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml | 5 ++++- .../cloud_pipelines/stacks/aws-pcluster-icelake/spack.yaml | 5 ++++- .../stacks/aws-pcluster-neoverse_n1/spack.yaml | 5 ++++- .../stacks/aws-pcluster-neoverse_v1/spack.yaml | 5 ++++- .../cloud_pipelines/stacks/aws-pcluster-skylake/spack.yaml | 5 ++++- 5 files changed, 20 insertions(+), 5 deletions(-) diff --git a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml index 05c75f0dfc5..852a4e52359 100644 --- a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml +++ b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml @@ -788,7 +788,10 @@ deprecated-ci-build: ######################################## .aws-pcluster-generate-image: - image: { "name": "ghcr.io/spack/pcluster-amazonlinux-2:latest", "entrypoint": [""] } + image: + "name": "ghcr.io/spack/pcluster-amazonlinux-2:latest" + "entrypoint": [""] + pull_policy: "always" .aws-pcluster-generate: before_script: diff --git a/share/spack/gitlab/cloud_pipelines/stacks/aws-pcluster-icelake/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/aws-pcluster-icelake/spack.yaml index 7df4430f350..311ab49c554 100644 --- a/share/spack/gitlab/cloud_pipelines/stacks/aws-pcluster-icelake/spack.yaml +++ b/share/spack/gitlab/cloud_pipelines/stacks/aws-pcluster-icelake/spack.yaml @@ -35,7 +35,10 @@ spack: ci: pipeline-gen: - build-job: - image: { "name": "ghcr.io/spack/pcluster-amazonlinux-2:latest", "entrypoint": [""] } + image: + "name": "ghcr.io/spack/pcluster-amazonlinux-2:latest" + "entrypoint": [""] + pull_policy: "always" before_script: - - . "./share/spack/setup-env.sh" - . /etc/profile.d/modules.sh diff --git a/share/spack/gitlab/cloud_pipelines/stacks/aws-pcluster-neoverse_n1/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/aws-pcluster-neoverse_n1/spack.yaml index 3046ee75af3..4627a814ef1 100644 --- a/share/spack/gitlab/cloud_pipelines/stacks/aws-pcluster-neoverse_n1/spack.yaml +++ b/share/spack/gitlab/cloud_pipelines/stacks/aws-pcluster-neoverse_n1/spack.yaml @@ -36,7 +36,10 @@ spack: ci: pipeline-gen: - build-job: - image: { "name": "ghcr.io/spack/pcluster-amazonlinux-2:latest", "entrypoint": [""] } + image: + "name": "ghcr.io/spack/pcluster-amazonlinux-2:latest" + "entrypoint": [""] + pull_policy: "always" tags: ["aarch64"] before_script: - - . "./share/spack/setup-env.sh" diff --git a/share/spack/gitlab/cloud_pipelines/stacks/aws-pcluster-neoverse_v1/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/aws-pcluster-neoverse_v1/spack.yaml index cf882b0a6dd..1dc57b8c827 100644 --- a/share/spack/gitlab/cloud_pipelines/stacks/aws-pcluster-neoverse_v1/spack.yaml +++ b/share/spack/gitlab/cloud_pipelines/stacks/aws-pcluster-neoverse_v1/spack.yaml @@ -36,7 +36,10 @@ spack: ci: pipeline-gen: - build-job: - image: { "name": "ghcr.io/spack/pcluster-amazonlinux-2:latest", "entrypoint": [""] } + image: + "name": "ghcr.io/spack/pcluster-amazonlinux-2:latest" + "entrypoint": [""] + pull_policy: "always" tags: ["aarch64"] before_script: - - . "./share/spack/setup-env.sh" diff --git a/share/spack/gitlab/cloud_pipelines/stacks/aws-pcluster-skylake/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/aws-pcluster-skylake/spack.yaml index 3971e2b5224..5d7fb261996 100644 --- a/share/spack/gitlab/cloud_pipelines/stacks/aws-pcluster-skylake/spack.yaml +++ b/share/spack/gitlab/cloud_pipelines/stacks/aws-pcluster-skylake/spack.yaml @@ -35,7 +35,10 @@ spack: ci: pipeline-gen: - build-job: - image: { "name": "ghcr.io/spack/pcluster-amazonlinux-2:latest", "entrypoint": [""] } + image: + "name": "ghcr.io/spack/pcluster-amazonlinux-2:latest" + "entrypoint": [""] + pull_policy: "always" before_script: - - . "./share/spack/setup-env.sh" - . /etc/profile.d/modules.sh