Commit 7ccc4d1b authored by Arch Linux Docker release bot's avatar Arch Linux Docker release bot
Browse files

Release 20201119.0.9566

parent 66cb5805
Pipeline #3088 passed with stages
in 2 minutes and 24 seconds
......@@ -202,6 +202,7 @@ release:
curl -sSf --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file output/${group}.tar.xz.SHA256 ${PACKAGE_REGISTRY_URL}/${group}-${BUILD_VERSION}.tar.xz.SHA256
sed "/TEMPLATE_ROOTFS_FILE/d" Dockerfile.template > output/Dockerfile.${group}
package_url=$(./ci/get-public-download-for-generic-package.sh ${group}-${BUILD_VERSION}.tar.xz)
sed -i "s|TEMPLATE_ROOTFS_RELEASE_URL|https://gitlab.archlinux.org/archlinux/archlinux-docker/-/releases/v${BUILD_VERSION}|" output/Dockerfile.${group}
sed -i "s|TEMPLATE_ROOTFS_URL|${package_url}|" output/Dockerfile.${group}
sed -i "s|TEMPLATE_ROOTFS_HASH|$(cat output/${group}.tar.xz.SHA256)|" output/Dockerfile.${group}
done
......
......@@ -11,8 +11,9 @@
FROM alpine:3.12 AS verify
RUN apk add --no-cache curl bash
SHELL ["/bin/bash", "-c"]
RUN ROOTFS="$(curl -sOJL --continue-at - -w "%{filename_effective}" https://gitlab.archlinux.org/archlinux/archlinux-docker/-/package_files/197/download)" && \
sha256sum -c <<< "f3f88e317e20ec4672ba37a22861bbeace003a0dd76cda9ba96840ed5a44f8d3 base-20201118.0.9436.tar.xz" && \
# https://gitlab.archlinux.org/archlinux/archlinux-docker/-/releases/v20201119.0.9566
RUN ROOTFS="$(curl -sOJL --continue-at - -w "%{filename_effective}" https://gitlab.archlinux.org/archlinux/archlinux-docker/-/package_files/201/download)" && \
sha256sum -c <<< "44eec3f415c68c0e927879dbac9559cc619843be023edd4065a20270737cc713 base-20201119.0.9566.tar.xz" && \
mkdir /rootfs && \
tar -C /rootfs --extract --file "${ROOTFS}"
......
......@@ -11,8 +11,9 @@
FROM alpine:3.12 AS verify
RUN apk add --no-cache curl bash
SHELL ["/bin/bash", "-c"]
RUN ROOTFS="$(curl -sOJL --continue-at - -w "%{filename_effective}" https://gitlab.archlinux.org/archlinux/archlinux-docker/-/package_files/199/download)" && \
sha256sum -c <<< "39d8f570d9ca2076f2b0c0507a11aaa7c85f7965b545a96d849292f8febd9d34 base-devel-20201118.0.9436.tar.xz" && \
# https://gitlab.archlinux.org/archlinux/archlinux-docker/-/releases/v20201119.0.9566
RUN ROOTFS="$(curl -sOJL --continue-at - -w "%{filename_effective}" https://gitlab.archlinux.org/archlinux/archlinux-docker/-/package_files/203/download)" && \
sha256sum -c <<< "f03582a9077de7bcf95089e453cc1d9cf26b3ca4223ea5088365249a1ef3e4ef base-devel-20201119.0.9566.tar.xz" && \
mkdir /rootfs && \
tar -C /rootfs --extract --file "${ROOTFS}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment