]> xenbits.xensource.com Git - libvirt.git/commitdiff
ci: potfile: Add 'variables' to definition
authorPeter Krempa <pkrempa@redhat.com>
Tue, 11 Oct 2022 07:27:24 +0000 (09:27 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 11 Oct 2022 08:18:04 +0000 (10:18 +0200)
The 'potfile' job is lacking the 'variables' section which defines the
'NAME' variable used by the 'image' property resulting in the 'potfile'
job failing with:

 Pulling docker image registry.gitlab.com/libvirt/libvirt/ci-:latest ...
 WARNING: Failed to pull image with policy "always": invalid reference format (manager.go:235:0s)
 ERROR: Job failed: failed to pull image "registry.gitlab.com/libvirt/libvirt/ci-:latest" with specified policies [always]: invalid reference format (manager.go:235:0s)

Fixes: 491d918502e50bf15c75d183bb41e3c0de5a0e1b
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
.gitlab-ci.yml

index c05155ddd4bb146b66d174e7a7cc0d2c38f87d0c..1b72ebc493a945a7f181bf0da3c96bb2c1fb5015 100644 (file)
@@ -138,6 +138,8 @@ codestyle_local_env:
 potfile:
   image: $CI_REGISTRY/$RUN_UPSTREAM_NAMESPACE/libvirt/ci-$NAME:latest
   stage: builds
+  variables:
+    NAME: almalinux-8
   before_script:
     - cat /packages.txt
   needs: