]> git.eshelyaron.com Git - emacs.git/commitdiff
; * test/infra/gitlab-ci.yml: Fix it, again.
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 21 May 2021 18:03:31 +0000 (20:03 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 21 May 2021 18:03:31 +0000 (20:03 +0200)
test/infra/gitlab-ci.yml

index cd059fd990cad91ce81da0ef3eeb40e230c20a2e..fa10fa67611688740e4f090f2a54032bc853e7eb 100644 (file)
@@ -110,15 +110,7 @@ default:
     - test -n "$(docker ps -aq -f name=${test_name})" && docker cp ${test_name}:checkout/test ${test_name}
     - test -n "$(docker ps -aq -f name=${test_name})" && docker rm ${test_name}
 
-# We must declare it here, because it is used in .build-template.
-prep-image-base:
-  stage: prep-images
-  extends: [.job-template, .build-template]
-  variables:
-    target: emacs-base
-
 .build-template:
-  needs: [prep-image-base]
   rules:
     - if: '$CI_PIPELINE_SOURCE == "web"'
       when: always
@@ -224,6 +216,7 @@ prep-image-base:
 build-image-inotify:
   stage: build-images
   extends: [.job-template, .build-template]
+  needs: [prep-image-base]
   variables:
     target: emacs-inotify
 
@@ -251,12 +244,14 @@ test-lisp-net-inotify:
 build-image-filenotify-gio:
   stage: platform-images
   extends: [.job-template, .build-template, .filenotify-gio-template]
+  needs: [prep-image-base]
   variables:
     target: emacs-filenotify-gio
 
 build-image-gnustep:
   stage: platform-images
   extends: [.job-template, .build-template, .gnustep-template]
+  needs: [prep-image-base]
   variables:
     target: emacs-gnustep
 
@@ -281,6 +276,7 @@ test-gnustep:
 build-native-bootstrap-speed0:
   stage: native-comp-images
   extends: [.job-template, .build-template, .native-comp-template]
+  needs: [prep-image-base]
   variables:
     target: emacs-native-comp-speed0