diff mbox series

[1/2] CI: Allow a GitHub container registry mirror to be specified

Message ID 20230913140342.452683-1-peter.hoyes@arm.com
State New
Headers show
Series [1/2] CI: Allow a GitHub container registry mirror to be specified | expand

Commit Message

Peter Hoyes Sept. 13, 2023, 2:03 p.m. UTC
From: Peter Hoyes <Peter.Hoyes@arm.com>

To make the pipeline slightly more resilient to external networking
issues, allow a local container registry mirror to be specified in the
GitLab settings. If not specified, the upstream container registry is
used automatically.

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
---
 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Jon Mason Sept. 14, 2023, 2:30 p.m. UTC | #1
On Wed, 13 Sep 2023 15:03:41 +0100, Peter Hoyes wrote:
> To make the pipeline slightly more resilient to external networking
> issues, allow a local container registry mirror to be specified in the
> GitLab settings. If not specified, the upstream container registry is
> used automatically.
> 
> 

Applied, thanks!

[1/2] CI: Allow a GitHub container registry mirror to be specified
      commit: b6668069b8364f910fe6da06bfb58b96fff2c276
[2/2] CI: Make update-repos more resilient to network issues
      commit: df01b29f3f54a82886a2852dcdd9c0359ecfee81

Best regards,
diff mbox series

Patch

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a2af8716..06fba597 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,9 +1,10 @@ 
-image: ghcr.io/siemens/kas/kas:3.3
+image: ${MIRROR_GHCR}/siemens/kas/kas:3.3
 
 variables:
   CPU_REQUEST: ""
   DEFAULT_TAG: ""
   CACHE_DIR: $CI_BUILDS_DIR/persist
+  MIRROR_GHCR: ghcr.io
   # These are needed as the k8s executor doesn't respect the container entrypoint
   # by default
   FF_KUBERNETES_HONOR_ENTRYPOINT: 1