[igt-dev] [PATCH i-g-t 1/4] gitlab-ci: Parametrize images used with CI_ variables

Arkadiusz Hiler arkadiusz.hiler at intel.com
Wed Oct 24 13:00:01 UTC 2018


The container stage was already using CI_ variables, pushing to the
right registry. Let's do that for the pulling containers too.

Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler at intel.com>
---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a90961b6..030b3405 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: registry.freedesktop.org/drm/igt-gpu-tools/igt-fedora:latest
+image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-fedora:latest
 variables:
   MESON_OPTIONS: >
     -Dwith_libdrm=intel,nouveau,amdgpu
@@ -27,7 +27,7 @@ build:tests-fedora:
       - build
 
 build:tests-debian:
-  image: registry.freedesktop.org/drm/igt-gpu-tools/igt-debian:latest
+  image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian:latest
   stage: build
   script:
     - meson $MESON_OPTIONS build
-- 
2.17.2



More information about the igt-dev mailing list