Skip to content
Snippets Groups Projects
Verified Commit a3e613f0 authored by Johannes Schauer Marin Rodrigues's avatar Johannes Schauer Marin Rodrigues
Browse files

.gitlab-ci.yml: print REFORM_DEBIAN_PACKAGES_BRANCH value even after failures

parent 72c6ab2d
No related branches found
No related tags found
1 merge request!91mkimage.sh: also build pocket-reform-system-a311d.img, pocket-reform-system-imx8mp.img, reform-system-imx8mp.img
......@@ -39,6 +39,7 @@ build:
pigz ./reform-system-imx8mp.img
pigz ./reform-system-imx8mq.img
pigz ./reform-system-ls1028a.img
after_script: |
if [ "$DIST" != "unstable" ]; then
echo "DIST: $DIST" >&2
fi
......
......@@ -129,9 +129,12 @@ rm -f ./machines/*.conf
mkdir -p ./machines ./repo
if [ -n "${REFORM_DEBIAN_PACKAGES_BRANCH:+x}" ]; then
echo "REFORM_DEBIAN_PACKAGES_BRANCH=${REFORM_DEBIAN_PACKAGES_BRANCH}" >&2
echo "downloading..." >&2
/usr/lib/apt/apt-helper download-file \
"https://source.mnt.re/reform/reform-debian-packages/-/jobs/artifacts/${REFORM_DEBIAN_PACKAGES_BRANCH}/download?file_type=archiv&job=reprepro" \
"archive.zip"
echo "extracting..." >&2
bsdtar --verbose --directory repo --strip-components=5 --extract --file archive.zip "*.deb"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment