xf86-video-amdgpu: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed May 27 15:35:50 UTC 2020


 .gitlab-ci.yml |   38 +++++++++++++++++++-------------------
 1 file changed, 19 insertions(+), 19 deletions(-)

New commits:
commit e923642bae6077f71a8f251fe885342757737224
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Fri May 8 11:14:32 2020 +1000

    gitlab CI: update to use the latest CI templates
    
    Repository was moved there from wayland/ci-templates, and let's update to the
    most recent version..
    
    No real functional changes, we're just making use of the various CI template
    bits and bobs now, specifically the FDO_* variables and the
    .fdo.container-build and .fdo.distribution-image templates.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e73feb9..6c9a27f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,6 @@
-# IMAGE_TAG is the tag of the docker image used for the build jobs. If the
-# image doesn't exist yet, the docker-image stage generates it.
+# FDO_DISTRIBUTION_TAG is the tag of the docker image used for the build
+# jobs. If the image doesn't exist yet, the docker-image stage generates it
+# or copies it from upstream (this is all handled by the templates).
 #
 # In order to generate a new image, one should generally change the tag.
 # While removing the image from the registry would also work, that's not
@@ -8,36 +9,35 @@
 # gcc/clang or other packages, which might break the build with older commits
 # using the same tag.
 #
-# After merging a change resulting in generating a new image to the main
-# repository, it's recommended to remove the image from the source repository's
-# container registry, so that the image from the main repository's registry
-# will be used there as well.
 variables:
-  UPSTREAM_REPO: xorg/driver/xf86-video-amdgpu
-  DEBIAN_VERSION: testing-slim
-  DEBIAN_EXEC: 'bash .gitlab-ci/debian-install.sh'
-  DEBIAN_TAG: "2019-08-02"
-  IMAGE_LOCAL: "$CI_REGISTRY_IMAGE/debian/$DEBIAN_VERSION:$DEBIAN_TAG"
+  FDO_UPSTREAM_REPO: xorg/driver/xf86-video-amdgpu
 
 include:
-  - project: 'wayland/ci-templates'
-    ref: adfcd8c318d3398d0547960e45daa34d3b48bce6
+  - project: 'freedesktop/ci-templates'
+    ref: 59de540b620c45739871d1a073d76d5521989d11
     file: '/templates/debian.yml'
 
 stages:
   - docker-image
   - build
 
-
-debian-testing:
-  extends: .debian at container-ifnot-exists
+.debian-testing:
+  variables:
+    FDO_DISTRIBUTION_VERSION: testing-slim
+    FDO_DISTRIBUTION_EXEC: 'bash .gitlab-ci/debian-install.sh'
+    FDO_DISTRIBUTION_TAG: "2019-08-02"
+
+container-build:
+  extends:
+    - .debian-testing
+    - .fdo.container-build at debian
   stage: docker-image
 
-
-image: $IMAGE_LOCAL
-
 # The default build instructions
 .default_build:
+  extends:
+    - .debian-testing
+    - .fdo.distribution-image at debian
   stage: build
   script:
   - ./autogen.sh


More information about the xorg-commit mailing list