[gnome-build-meta/doraskayo/update-ci-image-41: 3/3] .gitlab-ci.yml: Update container image




commit ea0819db0fd7660221ba56965e36ec9262d37ea2
Author: Dor Askayo <dor askayo gmail com>
Date:   Sun Dec 5 19:25:20 2021 +0200

    .gitlab-ci.yml: Update container image
    
    This aligns our CI container image version to that of
    freedesktop-sdk. Having them aligned should maximize cache hits.
    
    Since images are no longer prefixed for each architecture, also
    simplify their configuration and move their declaration from
    .gitlab-ci/arch.yml to .gitlab-ci.yml.

 .gitlab-ci.yml      |  5 +++++
 .gitlab-ci/arch.yml | 11 -----------
 2 files changed, 5 insertions(+), 11 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a6f918eed..0b5874e8e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,6 +11,10 @@ variables:
   OPENQA_NEEDLES_GIT: https://gitlab.gnome.org/gnome/openqa-needles
   OPENQA_NEEDLES_SHA: master
 
+  # Docker Images
+  DOCKER_REGISTRY: "registry.gitlab.com/freedesktop-sdk/infrastructure/freedesktop-sdk-docker-images"
+  DOCKER_IMAGE_ID: "a5c6fe9b400c10afa7b5268f0d23d028f128679f"
+
 stages:
 - track
 - build
@@ -20,6 +24,7 @@ stages:
 - reports
 
 default:
+  image: "${DOCKER_REGISTRY}/bst16:${DOCKER_IMAGE_ID}"
   before_script:
   # Ensure the log directory exists
   - mkdir -p logs
diff --git a/.gitlab-ci/arch.yml b/.gitlab-ci/arch.yml
index 5059ac166..7441f3b1d 100644
--- a/.gitlab-ci/arch.yml
+++ b/.gitlab-ci/arch.yml
@@ -1,17 +1,8 @@
-variables:
-  # Docker Images
-  DOCKER_REGISTRY: "registry.gitlab.com/freedesktop-sdk/infrastructure/freedesktop-sdk-docker-images"
-  DOCKER_IMAGE_ID: "307dbb43c80db04234f505f1ff4061772f948e5f"
-
-  DOCKER_AMD64: "${DOCKER_REGISTRY}/bst16/amd64:${DOCKER_IMAGE_ID}"
-  DOCKER_AARCH64: "${DOCKER_REGISTRY}/bst16/arm64:${DOCKER_IMAGE_ID}"
-
 #
 # Architecture specific settings
 #
 
 .x86_64:
-  image: "${DOCKER_AMD64}"
   tags:
   - x86_64
   - gnome-build-meta
@@ -19,7 +10,6 @@ variables:
     ARCH: x86_64
 
 .i686:
-  image: "${DOCKER_AMD64}"
   tags:
   - x86_64
   - gnome-build-meta
@@ -27,7 +17,6 @@ variables:
     ARCH: i686
 
 .aarch64:
-  image: "${DOCKER_AARCH64}"
   tags:
   - aarch64
   - gnome-build-meta


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]