quay.io publishing jobs failed
https://gitlab.freedesktop.org/freedesktop/ci-templates/-/jobs/10977529
something's wrong here, the FDO_ARCHITECTURES
variable no longer gets expanded correctly. From the job log:
$ set -x
$ FDO_ARCHITECTURES=${FDO_ARCHITECTURES//,/ }
++ echo '$ FDO_ARCHITECTURES=${FDO_ARCHITECTURES//,/ }'
++ FDO_ARCHITECTURES='x86_64 aarch64'
all good, value is x86_64 aarch64
++ echo '$ for FDO_ARCHITECTURE in $FDO_ARCHITECTURES # collapsed multi-line command'
$ for FDO_ARCHITECTURE in $FDO_ARCHITECTURES # collapsed multi-line command
++ for FDO_ARCHITECTURE in $FDO_ARCHITECTURES
+++ eval echo -e registry.freedesktop.org/freedesktop/ci-templates//buildah:2021-03-18.0
Note the //
here, this is where FDO_ARCHITECTURE
should fill in.
++++ echo -e registry.freedesktop.org/freedesktop/ci-templates//buildah:2021-03-18.0
++ export LOCAL_IMAGE=registry.freedesktop.org/freedesktop/ci-templates//buildah:2021-03-18.0
++ LOCAL_IMAGE=registry.freedesktop.org/freedesktop/ci-templates//buildah:2021-03-18.0
+++ eval echo -e quay.io/freedesktop.org/ci-templates:buildah--2021-03-18.0
++++ echo -e quay.io/freedesktop.org/ci-templates:buildah--2021-03-18.0
++ export DISTANT_IMAGE=quay.io/freedesktop.org/ci-templates:buildah--2021-03-18.0
++ DISTANT_IMAGE=quay.io/freedesktop.org/ci-templates:buildah--2021-03-18.0
My best guess is that gitlab changed how it expands variables?
The same blurb from the most recent successful job
++ echo '$ FDO_ARCHITECTURES=${FDO_ARCHITECTURES//,/ }'
++ FDO_ARCHITECTURES='x86_64 aarch64'
$ for FDO_ARCHITECTURE in $FDO_ARCHITECTURES # collapsed multi-line command
++ echo '$ for FDO_ARCHITECTURE in $FDO_ARCHITECTURES # collapsed multi-line command'
++ for FDO_ARCHITECTURE in $FDO_ARCHITECTURES
+++ eval echo -e 'registry.freedesktop.org/freedesktop/ci-templates/$FDO_ARCHITECTURE/buildah:2021-03-18.0'
++++ echo -e registry.freedesktop.org/freedesktop/ci-templates/x86_64/buildah:2021-03-18.0
++ export LOCAL_IMAGE=registry.freedesktop.org/freedesktop/ci-templates/x86_64/buildah:2021-03-18.0