diff --git a/.github/docker/debian/bookworm/amd64/fsa.release.Dockerfile b/.github/docker/debian/bookworm/amd64/Dockerfile similarity index 100% rename from .github/docker/debian/bookworm/amd64/fsa.release.Dockerfile rename to .github/docker/debian/bookworm/amd64/Dockerfile diff --git a/.github/docker/debian/bookworm/amd64/fsa.unstable.Dockerfile b/.github/docker/debian/bookworm/amd64/fsa.unstable.Dockerfile deleted file mode 100644 index e0b26c92..00000000 --- a/.github/docker/debian/bookworm/amd64/fsa.unstable.Dockerfile +++ /dev/null @@ -1,89 +0,0 @@ -ARG BUILDER_IMAGE=debian:bookworm-20240513 - -FROM ${BUILDER_IMAGE} AS builder - -ARG MAINTAINER_NAME="Andrey Volk" -ARG MAINTAINER_EMAIL="andrey@signalwire.com" - -ARG CODENAME=bookworm -ARG ARCH=amd64 - -ARG BUILD_NUMBER=42 -ARG GIT_SHA=0000000000 - -ARG DATA_DIR=/data - -LABEL maintainer="${MAINTAINER_NAME} <${MAINTAINER_EMAIL}>" - -SHELL ["/bin/bash", "-c"] - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt-get -q update \ - && apt-get -y -q install \ - apt-transport-https \ - autoconf \ - automake \ - build-essential \ - ca-certificates \ - cmake \ - curl \ - debhelper \ - devscripts \ - dh-autoreconf \ - dos2unix \ - doxygen \ - dpkg-dev \ - git \ - graphviz \ - libglib2.0-dev \ - libssl-dev \ - lsb-release \ - pkg-config \ - wget - -RUN update-ca-certificates --fresh - -RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \ - && echo "export ARCH=${ARCH}" | tee -a ~/.env \ - && chmod +x ~/.env - -RUN git config --global --add safe.directory '*' \ - && git config --global user.name "${MAINTAINER_NAME}" \ - && git config --global user.email "${MAINTAINER_EMAIL}" - -# Bootstrap and Build -COPY . ${DATA_DIR} -WORKDIR ${DATA_DIR} - -RUN echo "export VERSION=$(dpkg-parsechangelog --show-field Version | cut -f1 -d'-')" \ - | tee -a ~/.env - -RUN apt-get -q update \ - && mk-build-deps \ - --install \ - --remove debian/control \ - --tool "apt-get -y --no-install-recommends" \ - && apt-get -y -f install - -ENV DEB_BUILD_OPTIONS="parallel=1" - -RUN . ~/.env \ - && dch \ - --controlmaint \ - --distribution "${CODENAME}" \ - --force-bad-version \ - --force-distribution \ - --newversion "${VERSION}-${BUILD_NUMBER}-${GIT_SHA}~${CODENAME}" \ - "Nightly build, ${GIT_SHA}" \ - && debuild \ - --no-tgz-check \ - --build=binary \ - --unsigned-source \ - --unsigned-changes \ - && mkdir OUT \ - && mv -v ../*.{deb,changes} OUT/. - -# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) -FROM scratch -COPY --from=builder /data/OUT/ / diff --git a/.github/docker/debian/bookworm/amd64/public.release.Dockerfile b/.github/docker/debian/bookworm/amd64/public.release.Dockerfile deleted file mode 100644 index e0b26c92..00000000 --- a/.github/docker/debian/bookworm/amd64/public.release.Dockerfile +++ /dev/null @@ -1,89 +0,0 @@ -ARG BUILDER_IMAGE=debian:bookworm-20240513 - -FROM ${BUILDER_IMAGE} AS builder - -ARG MAINTAINER_NAME="Andrey Volk" -ARG MAINTAINER_EMAIL="andrey@signalwire.com" - -ARG CODENAME=bookworm -ARG ARCH=amd64 - -ARG BUILD_NUMBER=42 -ARG GIT_SHA=0000000000 - -ARG DATA_DIR=/data - -LABEL maintainer="${MAINTAINER_NAME} <${MAINTAINER_EMAIL}>" - -SHELL ["/bin/bash", "-c"] - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt-get -q update \ - && apt-get -y -q install \ - apt-transport-https \ - autoconf \ - automake \ - build-essential \ - ca-certificates \ - cmake \ - curl \ - debhelper \ - devscripts \ - dh-autoreconf \ - dos2unix \ - doxygen \ - dpkg-dev \ - git \ - graphviz \ - libglib2.0-dev \ - libssl-dev \ - lsb-release \ - pkg-config \ - wget - -RUN update-ca-certificates --fresh - -RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \ - && echo "export ARCH=${ARCH}" | tee -a ~/.env \ - && chmod +x ~/.env - -RUN git config --global --add safe.directory '*' \ - && git config --global user.name "${MAINTAINER_NAME}" \ - && git config --global user.email "${MAINTAINER_EMAIL}" - -# Bootstrap and Build -COPY . ${DATA_DIR} -WORKDIR ${DATA_DIR} - -RUN echo "export VERSION=$(dpkg-parsechangelog --show-field Version | cut -f1 -d'-')" \ - | tee -a ~/.env - -RUN apt-get -q update \ - && mk-build-deps \ - --install \ - --remove debian/control \ - --tool "apt-get -y --no-install-recommends" \ - && apt-get -y -f install - -ENV DEB_BUILD_OPTIONS="parallel=1" - -RUN . ~/.env \ - && dch \ - --controlmaint \ - --distribution "${CODENAME}" \ - --force-bad-version \ - --force-distribution \ - --newversion "${VERSION}-${BUILD_NUMBER}-${GIT_SHA}~${CODENAME}" \ - "Nightly build, ${GIT_SHA}" \ - && debuild \ - --no-tgz-check \ - --build=binary \ - --unsigned-source \ - --unsigned-changes \ - && mkdir OUT \ - && mv -v ../*.{deb,changes} OUT/. - -# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) -FROM scratch -COPY --from=builder /data/OUT/ / diff --git a/.github/docker/debian/bookworm/amd64/public.unstable.Dockerfile b/.github/docker/debian/bookworm/amd64/public.unstable.Dockerfile deleted file mode 100644 index e0b26c92..00000000 --- a/.github/docker/debian/bookworm/amd64/public.unstable.Dockerfile +++ /dev/null @@ -1,89 +0,0 @@ -ARG BUILDER_IMAGE=debian:bookworm-20240513 - -FROM ${BUILDER_IMAGE} AS builder - -ARG MAINTAINER_NAME="Andrey Volk" -ARG MAINTAINER_EMAIL="andrey@signalwire.com" - -ARG CODENAME=bookworm -ARG ARCH=amd64 - -ARG BUILD_NUMBER=42 -ARG GIT_SHA=0000000000 - -ARG DATA_DIR=/data - -LABEL maintainer="${MAINTAINER_NAME} <${MAINTAINER_EMAIL}>" - -SHELL ["/bin/bash", "-c"] - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt-get -q update \ - && apt-get -y -q install \ - apt-transport-https \ - autoconf \ - automake \ - build-essential \ - ca-certificates \ - cmake \ - curl \ - debhelper \ - devscripts \ - dh-autoreconf \ - dos2unix \ - doxygen \ - dpkg-dev \ - git \ - graphviz \ - libglib2.0-dev \ - libssl-dev \ - lsb-release \ - pkg-config \ - wget - -RUN update-ca-certificates --fresh - -RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \ - && echo "export ARCH=${ARCH}" | tee -a ~/.env \ - && chmod +x ~/.env - -RUN git config --global --add safe.directory '*' \ - && git config --global user.name "${MAINTAINER_NAME}" \ - && git config --global user.email "${MAINTAINER_EMAIL}" - -# Bootstrap and Build -COPY . ${DATA_DIR} -WORKDIR ${DATA_DIR} - -RUN echo "export VERSION=$(dpkg-parsechangelog --show-field Version | cut -f1 -d'-')" \ - | tee -a ~/.env - -RUN apt-get -q update \ - && mk-build-deps \ - --install \ - --remove debian/control \ - --tool "apt-get -y --no-install-recommends" \ - && apt-get -y -f install - -ENV DEB_BUILD_OPTIONS="parallel=1" - -RUN . ~/.env \ - && dch \ - --controlmaint \ - --distribution "${CODENAME}" \ - --force-bad-version \ - --force-distribution \ - --newversion "${VERSION}-${BUILD_NUMBER}-${GIT_SHA}~${CODENAME}" \ - "Nightly build, ${GIT_SHA}" \ - && debuild \ - --no-tgz-check \ - --build=binary \ - --unsigned-source \ - --unsigned-changes \ - && mkdir OUT \ - && mv -v ../*.{deb,changes} OUT/. - -# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) -FROM scratch -COPY --from=builder /data/OUT/ / diff --git a/.github/docker/debian/bookworm/arm32v7/fsa.release.Dockerfile b/.github/docker/debian/bookworm/arm32v7/Dockerfile similarity index 100% rename from .github/docker/debian/bookworm/arm32v7/fsa.release.Dockerfile rename to .github/docker/debian/bookworm/arm32v7/Dockerfile diff --git a/.github/docker/debian/bookworm/arm32v7/fsa.unstable.Dockerfile b/.github/docker/debian/bookworm/arm32v7/fsa.unstable.Dockerfile deleted file mode 100644 index a9ee852c..00000000 --- a/.github/docker/debian/bookworm/arm32v7/fsa.unstable.Dockerfile +++ /dev/null @@ -1,89 +0,0 @@ -ARG BUILDER_IMAGE=arm32v7/debian:bookworm-20240513 - -FROM --platform=linux/arm/v7 ${BUILDER_IMAGE} AS builder - -ARG MAINTAINER_NAME="Andrey Volk" -ARG MAINTAINER_EMAIL="andrey@signalwire.com" - -ARG CODENAME=bookworm -ARG ARCH=arm32 - -ARG BUILD_NUMBER=42 -ARG GIT_SHA=0000000000 - -ARG DATA_DIR=/data - -LABEL maintainer="${MAINTAINER_NAME} <${MAINTAINER_EMAIL}>" - -SHELL ["/bin/bash", "-c"] - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt-get -q update \ - && apt-get -y -q install \ - apt-transport-https \ - autoconf \ - automake \ - build-essential \ - ca-certificates \ - cmake \ - curl \ - debhelper \ - devscripts \ - dh-autoreconf \ - dos2unix \ - doxygen \ - dpkg-dev \ - git \ - graphviz \ - libglib2.0-dev \ - libssl-dev \ - lsb-release \ - pkg-config \ - wget - -RUN update-ca-certificates --fresh - -RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \ - && echo "export ARCH=${ARCH}" | tee -a ~/.env \ - && chmod +x ~/.env - -RUN git config --global --add safe.directory '*' \ - && git config --global user.name "${MAINTAINER_NAME}" \ - && git config --global user.email "${MAINTAINER_EMAIL}" - -# Bootstrap and Build -COPY . ${DATA_DIR} -WORKDIR ${DATA_DIR} - -RUN echo "export VERSION=$(dpkg-parsechangelog --show-field Version | cut -f1 -d'-')" \ - | tee -a ~/.env - -RUN apt-get -q update \ - && mk-build-deps \ - --install \ - --remove debian/control \ - --tool "apt-get -y --no-install-recommends" \ - && apt-get -y -f install - -ENV DEB_BUILD_OPTIONS="parallel=1" - -RUN . ~/.env \ - && dch \ - --controlmaint \ - --distribution "${CODENAME}" \ - --force-bad-version \ - --force-distribution \ - --newversion "${VERSION}-${BUILD_NUMBER}-${GIT_SHA}~${CODENAME}" \ - "Nightly build, ${GIT_SHA}" \ - && debuild \ - --no-tgz-check \ - --build=binary \ - --unsigned-source \ - --unsigned-changes \ - && mkdir OUT \ - && mv -v ../*.{deb,changes} OUT/. - -# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) -FROM scratch -COPY --from=builder /data/OUT/ / diff --git a/.github/docker/debian/bookworm/arm32v7/public.release.Dockerfile b/.github/docker/debian/bookworm/arm32v7/public.release.Dockerfile deleted file mode 100644 index a9ee852c..00000000 --- a/.github/docker/debian/bookworm/arm32v7/public.release.Dockerfile +++ /dev/null @@ -1,89 +0,0 @@ -ARG BUILDER_IMAGE=arm32v7/debian:bookworm-20240513 - -FROM --platform=linux/arm/v7 ${BUILDER_IMAGE} AS builder - -ARG MAINTAINER_NAME="Andrey Volk" -ARG MAINTAINER_EMAIL="andrey@signalwire.com" - -ARG CODENAME=bookworm -ARG ARCH=arm32 - -ARG BUILD_NUMBER=42 -ARG GIT_SHA=0000000000 - -ARG DATA_DIR=/data - -LABEL maintainer="${MAINTAINER_NAME} <${MAINTAINER_EMAIL}>" - -SHELL ["/bin/bash", "-c"] - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt-get -q update \ - && apt-get -y -q install \ - apt-transport-https \ - autoconf \ - automake \ - build-essential \ - ca-certificates \ - cmake \ - curl \ - debhelper \ - devscripts \ - dh-autoreconf \ - dos2unix \ - doxygen \ - dpkg-dev \ - git \ - graphviz \ - libglib2.0-dev \ - libssl-dev \ - lsb-release \ - pkg-config \ - wget - -RUN update-ca-certificates --fresh - -RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \ - && echo "export ARCH=${ARCH}" | tee -a ~/.env \ - && chmod +x ~/.env - -RUN git config --global --add safe.directory '*' \ - && git config --global user.name "${MAINTAINER_NAME}" \ - && git config --global user.email "${MAINTAINER_EMAIL}" - -# Bootstrap and Build -COPY . ${DATA_DIR} -WORKDIR ${DATA_DIR} - -RUN echo "export VERSION=$(dpkg-parsechangelog --show-field Version | cut -f1 -d'-')" \ - | tee -a ~/.env - -RUN apt-get -q update \ - && mk-build-deps \ - --install \ - --remove debian/control \ - --tool "apt-get -y --no-install-recommends" \ - && apt-get -y -f install - -ENV DEB_BUILD_OPTIONS="parallel=1" - -RUN . ~/.env \ - && dch \ - --controlmaint \ - --distribution "${CODENAME}" \ - --force-bad-version \ - --force-distribution \ - --newversion "${VERSION}-${BUILD_NUMBER}-${GIT_SHA}~${CODENAME}" \ - "Nightly build, ${GIT_SHA}" \ - && debuild \ - --no-tgz-check \ - --build=binary \ - --unsigned-source \ - --unsigned-changes \ - && mkdir OUT \ - && mv -v ../*.{deb,changes} OUT/. - -# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) -FROM scratch -COPY --from=builder /data/OUT/ / diff --git a/.github/docker/debian/bookworm/arm32v7/public.unstable.Dockerfile b/.github/docker/debian/bookworm/arm32v7/public.unstable.Dockerfile deleted file mode 100644 index a9ee852c..00000000 --- a/.github/docker/debian/bookworm/arm32v7/public.unstable.Dockerfile +++ /dev/null @@ -1,89 +0,0 @@ -ARG BUILDER_IMAGE=arm32v7/debian:bookworm-20240513 - -FROM --platform=linux/arm/v7 ${BUILDER_IMAGE} AS builder - -ARG MAINTAINER_NAME="Andrey Volk" -ARG MAINTAINER_EMAIL="andrey@signalwire.com" - -ARG CODENAME=bookworm -ARG ARCH=arm32 - -ARG BUILD_NUMBER=42 -ARG GIT_SHA=0000000000 - -ARG DATA_DIR=/data - -LABEL maintainer="${MAINTAINER_NAME} <${MAINTAINER_EMAIL}>" - -SHELL ["/bin/bash", "-c"] - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt-get -q update \ - && apt-get -y -q install \ - apt-transport-https \ - autoconf \ - automake \ - build-essential \ - ca-certificates \ - cmake \ - curl \ - debhelper \ - devscripts \ - dh-autoreconf \ - dos2unix \ - doxygen \ - dpkg-dev \ - git \ - graphviz \ - libglib2.0-dev \ - libssl-dev \ - lsb-release \ - pkg-config \ - wget - -RUN update-ca-certificates --fresh - -RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \ - && echo "export ARCH=${ARCH}" | tee -a ~/.env \ - && chmod +x ~/.env - -RUN git config --global --add safe.directory '*' \ - && git config --global user.name "${MAINTAINER_NAME}" \ - && git config --global user.email "${MAINTAINER_EMAIL}" - -# Bootstrap and Build -COPY . ${DATA_DIR} -WORKDIR ${DATA_DIR} - -RUN echo "export VERSION=$(dpkg-parsechangelog --show-field Version | cut -f1 -d'-')" \ - | tee -a ~/.env - -RUN apt-get -q update \ - && mk-build-deps \ - --install \ - --remove debian/control \ - --tool "apt-get -y --no-install-recommends" \ - && apt-get -y -f install - -ENV DEB_BUILD_OPTIONS="parallel=1" - -RUN . ~/.env \ - && dch \ - --controlmaint \ - --distribution "${CODENAME}" \ - --force-bad-version \ - --force-distribution \ - --newversion "${VERSION}-${BUILD_NUMBER}-${GIT_SHA}~${CODENAME}" \ - "Nightly build, ${GIT_SHA}" \ - && debuild \ - --no-tgz-check \ - --build=binary \ - --unsigned-source \ - --unsigned-changes \ - && mkdir OUT \ - && mv -v ../*.{deb,changes} OUT/. - -# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) -FROM scratch -COPY --from=builder /data/OUT/ / diff --git a/.github/docker/debian/bookworm/arm64v8/fsa.release.Dockerfile b/.github/docker/debian/bookworm/arm64v8/Dockerfile similarity index 100% rename from .github/docker/debian/bookworm/arm64v8/fsa.release.Dockerfile rename to .github/docker/debian/bookworm/arm64v8/Dockerfile diff --git a/.github/docker/debian/bookworm/arm64v8/fsa.unstable.Dockerfile b/.github/docker/debian/bookworm/arm64v8/fsa.unstable.Dockerfile deleted file mode 100644 index 6a50691a..00000000 --- a/.github/docker/debian/bookworm/arm64v8/fsa.unstable.Dockerfile +++ /dev/null @@ -1,89 +0,0 @@ -ARG BUILDER_IMAGE=arm64v8/debian:bookworm-20240513 - -FROM --platform=linux/arm64 ${BUILDER_IMAGE} AS builder - -ARG MAINTAINER_NAME="Andrey Volk" -ARG MAINTAINER_EMAIL="andrey@signalwire.com" - -ARG CODENAME=bookworm -ARG ARCH=arm64 - -ARG BUILD_NUMBER=42 -ARG GIT_SHA=0000000000 - -ARG DATA_DIR=/data - -LABEL maintainer="${MAINTAINER_NAME} <${MAINTAINER_EMAIL}>" - -SHELL ["/bin/bash", "-c"] - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt-get -q update \ - && apt-get -y -q install \ - apt-transport-https \ - autoconf \ - automake \ - build-essential \ - ca-certificates \ - cmake \ - curl \ - debhelper \ - devscripts \ - dh-autoreconf \ - dos2unix \ - doxygen \ - dpkg-dev \ - git \ - graphviz \ - libglib2.0-dev \ - libssl-dev \ - lsb-release \ - pkg-config \ - wget - -RUN update-ca-certificates --fresh - -RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \ - && echo "export ARCH=${ARCH}" | tee -a ~/.env \ - && chmod +x ~/.env - -RUN git config --global --add safe.directory '*' \ - && git config --global user.name "${MAINTAINER_NAME}" \ - && git config --global user.email "${MAINTAINER_EMAIL}" - -# Bootstrap and Build -COPY . ${DATA_DIR} -WORKDIR ${DATA_DIR} - -RUN echo "export VERSION=$(dpkg-parsechangelog --show-field Version | cut -f1 -d'-')" \ - | tee -a ~/.env - -RUN apt-get -q update \ - && mk-build-deps \ - --install \ - --remove debian/control \ - --tool "apt-get -y --no-install-recommends" \ - && apt-get -y -f install - -ENV DEB_BUILD_OPTIONS="parallel=1" - -RUN . ~/.env \ - && dch \ - --controlmaint \ - --distribution "${CODENAME}" \ - --force-bad-version \ - --force-distribution \ - --newversion "${VERSION}-${BUILD_NUMBER}-${GIT_SHA}~${CODENAME}" \ - "Nightly build, ${GIT_SHA}" \ - && debuild \ - --no-tgz-check \ - --build=binary \ - --unsigned-source \ - --unsigned-changes \ - && mkdir OUT \ - && mv -v ../*.{deb,changes} OUT/. - -# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) -FROM scratch -COPY --from=builder /data/OUT/ / diff --git a/.github/docker/debian/bookworm/arm64v8/public.release.Dockerfile b/.github/docker/debian/bookworm/arm64v8/public.release.Dockerfile deleted file mode 100644 index 6a50691a..00000000 --- a/.github/docker/debian/bookworm/arm64v8/public.release.Dockerfile +++ /dev/null @@ -1,89 +0,0 @@ -ARG BUILDER_IMAGE=arm64v8/debian:bookworm-20240513 - -FROM --platform=linux/arm64 ${BUILDER_IMAGE} AS builder - -ARG MAINTAINER_NAME="Andrey Volk" -ARG MAINTAINER_EMAIL="andrey@signalwire.com" - -ARG CODENAME=bookworm -ARG ARCH=arm64 - -ARG BUILD_NUMBER=42 -ARG GIT_SHA=0000000000 - -ARG DATA_DIR=/data - -LABEL maintainer="${MAINTAINER_NAME} <${MAINTAINER_EMAIL}>" - -SHELL ["/bin/bash", "-c"] - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt-get -q update \ - && apt-get -y -q install \ - apt-transport-https \ - autoconf \ - automake \ - build-essential \ - ca-certificates \ - cmake \ - curl \ - debhelper \ - devscripts \ - dh-autoreconf \ - dos2unix \ - doxygen \ - dpkg-dev \ - git \ - graphviz \ - libglib2.0-dev \ - libssl-dev \ - lsb-release \ - pkg-config \ - wget - -RUN update-ca-certificates --fresh - -RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \ - && echo "export ARCH=${ARCH}" | tee -a ~/.env \ - && chmod +x ~/.env - -RUN git config --global --add safe.directory '*' \ - && git config --global user.name "${MAINTAINER_NAME}" \ - && git config --global user.email "${MAINTAINER_EMAIL}" - -# Bootstrap and Build -COPY . ${DATA_DIR} -WORKDIR ${DATA_DIR} - -RUN echo "export VERSION=$(dpkg-parsechangelog --show-field Version | cut -f1 -d'-')" \ - | tee -a ~/.env - -RUN apt-get -q update \ - && mk-build-deps \ - --install \ - --remove debian/control \ - --tool "apt-get -y --no-install-recommends" \ - && apt-get -y -f install - -ENV DEB_BUILD_OPTIONS="parallel=1" - -RUN . ~/.env \ - && dch \ - --controlmaint \ - --distribution "${CODENAME}" \ - --force-bad-version \ - --force-distribution \ - --newversion "${VERSION}-${BUILD_NUMBER}-${GIT_SHA}~${CODENAME}" \ - "Nightly build, ${GIT_SHA}" \ - && debuild \ - --no-tgz-check \ - --build=binary \ - --unsigned-source \ - --unsigned-changes \ - && mkdir OUT \ - && mv -v ../*.{deb,changes} OUT/. - -# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) -FROM scratch -COPY --from=builder /data/OUT/ / diff --git a/.github/docker/debian/bookworm/arm64v8/public.unstable.Dockerfile b/.github/docker/debian/bookworm/arm64v8/public.unstable.Dockerfile deleted file mode 100644 index 6a50691a..00000000 --- a/.github/docker/debian/bookworm/arm64v8/public.unstable.Dockerfile +++ /dev/null @@ -1,89 +0,0 @@ -ARG BUILDER_IMAGE=arm64v8/debian:bookworm-20240513 - -FROM --platform=linux/arm64 ${BUILDER_IMAGE} AS builder - -ARG MAINTAINER_NAME="Andrey Volk" -ARG MAINTAINER_EMAIL="andrey@signalwire.com" - -ARG CODENAME=bookworm -ARG ARCH=arm64 - -ARG BUILD_NUMBER=42 -ARG GIT_SHA=0000000000 - -ARG DATA_DIR=/data - -LABEL maintainer="${MAINTAINER_NAME} <${MAINTAINER_EMAIL}>" - -SHELL ["/bin/bash", "-c"] - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt-get -q update \ - && apt-get -y -q install \ - apt-transport-https \ - autoconf \ - automake \ - build-essential \ - ca-certificates \ - cmake \ - curl \ - debhelper \ - devscripts \ - dh-autoreconf \ - dos2unix \ - doxygen \ - dpkg-dev \ - git \ - graphviz \ - libglib2.0-dev \ - libssl-dev \ - lsb-release \ - pkg-config \ - wget - -RUN update-ca-certificates --fresh - -RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \ - && echo "export ARCH=${ARCH}" | tee -a ~/.env \ - && chmod +x ~/.env - -RUN git config --global --add safe.directory '*' \ - && git config --global user.name "${MAINTAINER_NAME}" \ - && git config --global user.email "${MAINTAINER_EMAIL}" - -# Bootstrap and Build -COPY . ${DATA_DIR} -WORKDIR ${DATA_DIR} - -RUN echo "export VERSION=$(dpkg-parsechangelog --show-field Version | cut -f1 -d'-')" \ - | tee -a ~/.env - -RUN apt-get -q update \ - && mk-build-deps \ - --install \ - --remove debian/control \ - --tool "apt-get -y --no-install-recommends" \ - && apt-get -y -f install - -ENV DEB_BUILD_OPTIONS="parallel=1" - -RUN . ~/.env \ - && dch \ - --controlmaint \ - --distribution "${CODENAME}" \ - --force-bad-version \ - --force-distribution \ - --newversion "${VERSION}-${BUILD_NUMBER}-${GIT_SHA}~${CODENAME}" \ - "Nightly build, ${GIT_SHA}" \ - && debuild \ - --no-tgz-check \ - --build=binary \ - --unsigned-source \ - --unsigned-changes \ - && mkdir OUT \ - && mv -v ../*.{deb,changes} OUT/. - -# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) -FROM scratch -COPY --from=builder /data/OUT/ / diff --git a/.github/docker/debian/bullseye/amd64/fsa.release.Dockerfile b/.github/docker/debian/bullseye/amd64/Dockerfile similarity index 100% rename from .github/docker/debian/bullseye/amd64/fsa.release.Dockerfile rename to .github/docker/debian/bullseye/amd64/Dockerfile diff --git a/.github/docker/debian/bullseye/amd64/fsa.unstable.Dockerfile b/.github/docker/debian/bullseye/amd64/fsa.unstable.Dockerfile deleted file mode 100644 index 20617c35..00000000 --- a/.github/docker/debian/bullseye/amd64/fsa.unstable.Dockerfile +++ /dev/null @@ -1,89 +0,0 @@ -ARG BUILDER_IMAGE=debian:bullseye-20240513 - -FROM ${BUILDER_IMAGE} AS builder - -ARG MAINTAINER_NAME="Andrey Volk" -ARG MAINTAINER_EMAIL="andrey@signalwire.com" - -ARG CODENAME=bullseye -ARG ARCH=amd64 - -ARG BUILD_NUMBER=42 -ARG GIT_SHA=0000000000 - -ARG DATA_DIR=/data - -LABEL maintainer="${MAINTAINER_NAME} <${MAINTAINER_EMAIL}>" - -SHELL ["/bin/bash", "-c"] - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt-get -q update \ - && apt-get -y -q install \ - apt-transport-https \ - autoconf \ - automake \ - build-essential \ - ca-certificates \ - cmake \ - curl \ - debhelper \ - devscripts \ - dh-autoreconf \ - dos2unix \ - doxygen \ - dpkg-dev \ - git \ - graphviz \ - libglib2.0-dev \ - libssl-dev \ - lsb-release \ - pkg-config \ - wget - -RUN update-ca-certificates --fresh - -RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \ - && echo "export ARCH=${ARCH}" | tee -a ~/.env \ - && chmod +x ~/.env - -RUN git config --global --add safe.directory '*' \ - && git config --global user.name "${MAINTAINER_NAME}" \ - && git config --global user.email "${MAINTAINER_EMAIL}" - -# Bootstrap and Build -COPY . ${DATA_DIR} -WORKDIR ${DATA_DIR} - -RUN echo "export VERSION=$(dpkg-parsechangelog --show-field Version | cut -f1 -d'-')" \ - | tee -a ~/.env - -RUN apt-get -q update \ - && mk-build-deps \ - --install \ - --remove debian/control \ - --tool "apt-get -y --no-install-recommends" \ - && apt-get -y -f install - -ENV DEB_BUILD_OPTIONS="parallel=1" - -RUN . ~/.env \ - && dch \ - --controlmaint \ - --distribution "${CODENAME}" \ - --force-bad-version \ - --force-distribution \ - --newversion "${VERSION}-${BUILD_NUMBER}-${GIT_SHA}~${CODENAME}" \ - "Nightly build, ${GIT_SHA}" \ - && debuild \ - --no-tgz-check \ - --build=binary \ - --unsigned-source \ - --unsigned-changes \ - && mkdir OUT \ - && mv -v ../*.{deb,changes} OUT/. - -# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) -FROM scratch -COPY --from=builder /data/OUT/ / diff --git a/.github/docker/debian/bullseye/amd64/public.release.Dockerfile b/.github/docker/debian/bullseye/amd64/public.release.Dockerfile deleted file mode 100644 index 20617c35..00000000 --- a/.github/docker/debian/bullseye/amd64/public.release.Dockerfile +++ /dev/null @@ -1,89 +0,0 @@ -ARG BUILDER_IMAGE=debian:bullseye-20240513 - -FROM ${BUILDER_IMAGE} AS builder - -ARG MAINTAINER_NAME="Andrey Volk" -ARG MAINTAINER_EMAIL="andrey@signalwire.com" - -ARG CODENAME=bullseye -ARG ARCH=amd64 - -ARG BUILD_NUMBER=42 -ARG GIT_SHA=0000000000 - -ARG DATA_DIR=/data - -LABEL maintainer="${MAINTAINER_NAME} <${MAINTAINER_EMAIL}>" - -SHELL ["/bin/bash", "-c"] - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt-get -q update \ - && apt-get -y -q install \ - apt-transport-https \ - autoconf \ - automake \ - build-essential \ - ca-certificates \ - cmake \ - curl \ - debhelper \ - devscripts \ - dh-autoreconf \ - dos2unix \ - doxygen \ - dpkg-dev \ - git \ - graphviz \ - libglib2.0-dev \ - libssl-dev \ - lsb-release \ - pkg-config \ - wget - -RUN update-ca-certificates --fresh - -RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \ - && echo "export ARCH=${ARCH}" | tee -a ~/.env \ - && chmod +x ~/.env - -RUN git config --global --add safe.directory '*' \ - && git config --global user.name "${MAINTAINER_NAME}" \ - && git config --global user.email "${MAINTAINER_EMAIL}" - -# Bootstrap and Build -COPY . ${DATA_DIR} -WORKDIR ${DATA_DIR} - -RUN echo "export VERSION=$(dpkg-parsechangelog --show-field Version | cut -f1 -d'-')" \ - | tee -a ~/.env - -RUN apt-get -q update \ - && mk-build-deps \ - --install \ - --remove debian/control \ - --tool "apt-get -y --no-install-recommends" \ - && apt-get -y -f install - -ENV DEB_BUILD_OPTIONS="parallel=1" - -RUN . ~/.env \ - && dch \ - --controlmaint \ - --distribution "${CODENAME}" \ - --force-bad-version \ - --force-distribution \ - --newversion "${VERSION}-${BUILD_NUMBER}-${GIT_SHA}~${CODENAME}" \ - "Nightly build, ${GIT_SHA}" \ - && debuild \ - --no-tgz-check \ - --build=binary \ - --unsigned-source \ - --unsigned-changes \ - && mkdir OUT \ - && mv -v ../*.{deb,changes} OUT/. - -# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) -FROM scratch -COPY --from=builder /data/OUT/ / diff --git a/.github/docker/debian/bullseye/amd64/public.unstable.Dockerfile b/.github/docker/debian/bullseye/amd64/public.unstable.Dockerfile deleted file mode 100644 index 20617c35..00000000 --- a/.github/docker/debian/bullseye/amd64/public.unstable.Dockerfile +++ /dev/null @@ -1,89 +0,0 @@ -ARG BUILDER_IMAGE=debian:bullseye-20240513 - -FROM ${BUILDER_IMAGE} AS builder - -ARG MAINTAINER_NAME="Andrey Volk" -ARG MAINTAINER_EMAIL="andrey@signalwire.com" - -ARG CODENAME=bullseye -ARG ARCH=amd64 - -ARG BUILD_NUMBER=42 -ARG GIT_SHA=0000000000 - -ARG DATA_DIR=/data - -LABEL maintainer="${MAINTAINER_NAME} <${MAINTAINER_EMAIL}>" - -SHELL ["/bin/bash", "-c"] - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt-get -q update \ - && apt-get -y -q install \ - apt-transport-https \ - autoconf \ - automake \ - build-essential \ - ca-certificates \ - cmake \ - curl \ - debhelper \ - devscripts \ - dh-autoreconf \ - dos2unix \ - doxygen \ - dpkg-dev \ - git \ - graphviz \ - libglib2.0-dev \ - libssl-dev \ - lsb-release \ - pkg-config \ - wget - -RUN update-ca-certificates --fresh - -RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \ - && echo "export ARCH=${ARCH}" | tee -a ~/.env \ - && chmod +x ~/.env - -RUN git config --global --add safe.directory '*' \ - && git config --global user.name "${MAINTAINER_NAME}" \ - && git config --global user.email "${MAINTAINER_EMAIL}" - -# Bootstrap and Build -COPY . ${DATA_DIR} -WORKDIR ${DATA_DIR} - -RUN echo "export VERSION=$(dpkg-parsechangelog --show-field Version | cut -f1 -d'-')" \ - | tee -a ~/.env - -RUN apt-get -q update \ - && mk-build-deps \ - --install \ - --remove debian/control \ - --tool "apt-get -y --no-install-recommends" \ - && apt-get -y -f install - -ENV DEB_BUILD_OPTIONS="parallel=1" - -RUN . ~/.env \ - && dch \ - --controlmaint \ - --distribution "${CODENAME}" \ - --force-bad-version \ - --force-distribution \ - --newversion "${VERSION}-${BUILD_NUMBER}-${GIT_SHA}~${CODENAME}" \ - "Nightly build, ${GIT_SHA}" \ - && debuild \ - --no-tgz-check \ - --build=binary \ - --unsigned-source \ - --unsigned-changes \ - && mkdir OUT \ - && mv -v ../*.{deb,changes} OUT/. - -# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) -FROM scratch -COPY --from=builder /data/OUT/ / diff --git a/.github/docker/debian/bullseye/arm32v7/fsa.release.Dockerfile b/.github/docker/debian/bullseye/arm32v7/Dockerfile similarity index 100% rename from .github/docker/debian/bullseye/arm32v7/fsa.release.Dockerfile rename to .github/docker/debian/bullseye/arm32v7/Dockerfile diff --git a/.github/docker/debian/bullseye/arm32v7/fsa.unstable.Dockerfile b/.github/docker/debian/bullseye/arm32v7/fsa.unstable.Dockerfile deleted file mode 100644 index 3647feb8..00000000 --- a/.github/docker/debian/bullseye/arm32v7/fsa.unstable.Dockerfile +++ /dev/null @@ -1,89 +0,0 @@ -ARG BUILDER_IMAGE=arm32v7/debian:bullseye-20240513 - -FROM --platform=linux/arm/v7 ${BUILDER_IMAGE} AS builder - -ARG MAINTAINER_NAME="Andrey Volk" -ARG MAINTAINER_EMAIL="andrey@signalwire.com" - -ARG CODENAME=bullseye -ARG ARCH=arm32 - -ARG BUILD_NUMBER=42 -ARG GIT_SHA=0000000000 - -ARG DATA_DIR=/data - -LABEL maintainer="${MAINTAINER_NAME} <${MAINTAINER_EMAIL}>" - -SHELL ["/bin/bash", "-c"] - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt-get -q update \ - && apt-get -y -q install \ - apt-transport-https \ - autoconf \ - automake \ - build-essential \ - ca-certificates \ - cmake \ - curl \ - debhelper \ - devscripts \ - dh-autoreconf \ - dos2unix \ - doxygen \ - dpkg-dev \ - git \ - graphviz \ - libglib2.0-dev \ - libssl-dev \ - lsb-release \ - pkg-config \ - wget - -RUN update-ca-certificates --fresh - -RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \ - && echo "export ARCH=${ARCH}" | tee -a ~/.env \ - && chmod +x ~/.env - -RUN git config --global --add safe.directory '*' \ - && git config --global user.name "${MAINTAINER_NAME}" \ - && git config --global user.email "${MAINTAINER_EMAIL}" - -# Bootstrap and Build -COPY . ${DATA_DIR} -WORKDIR ${DATA_DIR} - -RUN echo "export VERSION=$(dpkg-parsechangelog --show-field Version | cut -f1 -d'-')" \ - | tee -a ~/.env - -RUN apt-get -q update \ - && mk-build-deps \ - --install \ - --remove debian/control \ - --tool "apt-get -y --no-install-recommends" \ - && apt-get -y -f install - -ENV DEB_BUILD_OPTIONS="parallel=1" - -RUN . ~/.env \ - && dch \ - --controlmaint \ - --distribution "${CODENAME}" \ - --force-bad-version \ - --force-distribution \ - --newversion "${VERSION}-${BUILD_NUMBER}-${GIT_SHA}~${CODENAME}" \ - "Nightly build, ${GIT_SHA}" \ - && debuild \ - --no-tgz-check \ - --build=binary \ - --unsigned-source \ - --unsigned-changes \ - && mkdir OUT \ - && mv -v ../*.{deb,changes} OUT/. - -# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) -FROM scratch -COPY --from=builder /data/OUT/ / diff --git a/.github/docker/debian/bullseye/arm32v7/public.release.Dockerfile b/.github/docker/debian/bullseye/arm32v7/public.release.Dockerfile deleted file mode 100644 index 3647feb8..00000000 --- a/.github/docker/debian/bullseye/arm32v7/public.release.Dockerfile +++ /dev/null @@ -1,89 +0,0 @@ -ARG BUILDER_IMAGE=arm32v7/debian:bullseye-20240513 - -FROM --platform=linux/arm/v7 ${BUILDER_IMAGE} AS builder - -ARG MAINTAINER_NAME="Andrey Volk" -ARG MAINTAINER_EMAIL="andrey@signalwire.com" - -ARG CODENAME=bullseye -ARG ARCH=arm32 - -ARG BUILD_NUMBER=42 -ARG GIT_SHA=0000000000 - -ARG DATA_DIR=/data - -LABEL maintainer="${MAINTAINER_NAME} <${MAINTAINER_EMAIL}>" - -SHELL ["/bin/bash", "-c"] - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt-get -q update \ - && apt-get -y -q install \ - apt-transport-https \ - autoconf \ - automake \ - build-essential \ - ca-certificates \ - cmake \ - curl \ - debhelper \ - devscripts \ - dh-autoreconf \ - dos2unix \ - doxygen \ - dpkg-dev \ - git \ - graphviz \ - libglib2.0-dev \ - libssl-dev \ - lsb-release \ - pkg-config \ - wget - -RUN update-ca-certificates --fresh - -RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \ - && echo "export ARCH=${ARCH}" | tee -a ~/.env \ - && chmod +x ~/.env - -RUN git config --global --add safe.directory '*' \ - && git config --global user.name "${MAINTAINER_NAME}" \ - && git config --global user.email "${MAINTAINER_EMAIL}" - -# Bootstrap and Build -COPY . ${DATA_DIR} -WORKDIR ${DATA_DIR} - -RUN echo "export VERSION=$(dpkg-parsechangelog --show-field Version | cut -f1 -d'-')" \ - | tee -a ~/.env - -RUN apt-get -q update \ - && mk-build-deps \ - --install \ - --remove debian/control \ - --tool "apt-get -y --no-install-recommends" \ - && apt-get -y -f install - -ENV DEB_BUILD_OPTIONS="parallel=1" - -RUN . ~/.env \ - && dch \ - --controlmaint \ - --distribution "${CODENAME}" \ - --force-bad-version \ - --force-distribution \ - --newversion "${VERSION}-${BUILD_NUMBER}-${GIT_SHA}~${CODENAME}" \ - "Nightly build, ${GIT_SHA}" \ - && debuild \ - --no-tgz-check \ - --build=binary \ - --unsigned-source \ - --unsigned-changes \ - && mkdir OUT \ - && mv -v ../*.{deb,changes} OUT/. - -# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) -FROM scratch -COPY --from=builder /data/OUT/ / diff --git a/.github/docker/debian/bullseye/arm32v7/public.unstable.Dockerfile b/.github/docker/debian/bullseye/arm32v7/public.unstable.Dockerfile deleted file mode 100644 index 3647feb8..00000000 --- a/.github/docker/debian/bullseye/arm32v7/public.unstable.Dockerfile +++ /dev/null @@ -1,89 +0,0 @@ -ARG BUILDER_IMAGE=arm32v7/debian:bullseye-20240513 - -FROM --platform=linux/arm/v7 ${BUILDER_IMAGE} AS builder - -ARG MAINTAINER_NAME="Andrey Volk" -ARG MAINTAINER_EMAIL="andrey@signalwire.com" - -ARG CODENAME=bullseye -ARG ARCH=arm32 - -ARG BUILD_NUMBER=42 -ARG GIT_SHA=0000000000 - -ARG DATA_DIR=/data - -LABEL maintainer="${MAINTAINER_NAME} <${MAINTAINER_EMAIL}>" - -SHELL ["/bin/bash", "-c"] - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt-get -q update \ - && apt-get -y -q install \ - apt-transport-https \ - autoconf \ - automake \ - build-essential \ - ca-certificates \ - cmake \ - curl \ - debhelper \ - devscripts \ - dh-autoreconf \ - dos2unix \ - doxygen \ - dpkg-dev \ - git \ - graphviz \ - libglib2.0-dev \ - libssl-dev \ - lsb-release \ - pkg-config \ - wget - -RUN update-ca-certificates --fresh - -RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \ - && echo "export ARCH=${ARCH}" | tee -a ~/.env \ - && chmod +x ~/.env - -RUN git config --global --add safe.directory '*' \ - && git config --global user.name "${MAINTAINER_NAME}" \ - && git config --global user.email "${MAINTAINER_EMAIL}" - -# Bootstrap and Build -COPY . ${DATA_DIR} -WORKDIR ${DATA_DIR} - -RUN echo "export VERSION=$(dpkg-parsechangelog --show-field Version | cut -f1 -d'-')" \ - | tee -a ~/.env - -RUN apt-get -q update \ - && mk-build-deps \ - --install \ - --remove debian/control \ - --tool "apt-get -y --no-install-recommends" \ - && apt-get -y -f install - -ENV DEB_BUILD_OPTIONS="parallel=1" - -RUN . ~/.env \ - && dch \ - --controlmaint \ - --distribution "${CODENAME}" \ - --force-bad-version \ - --force-distribution \ - --newversion "${VERSION}-${BUILD_NUMBER}-${GIT_SHA}~${CODENAME}" \ - "Nightly build, ${GIT_SHA}" \ - && debuild \ - --no-tgz-check \ - --build=binary \ - --unsigned-source \ - --unsigned-changes \ - && mkdir OUT \ - && mv -v ../*.{deb,changes} OUT/. - -# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) -FROM scratch -COPY --from=builder /data/OUT/ / diff --git a/.github/docker/debian/bullseye/arm64v8/fsa.release.Dockerfile b/.github/docker/debian/bullseye/arm64v8/Dockerfile similarity index 100% rename from .github/docker/debian/bullseye/arm64v8/fsa.release.Dockerfile rename to .github/docker/debian/bullseye/arm64v8/Dockerfile diff --git a/.github/docker/debian/bullseye/arm64v8/fsa.unstable.Dockerfile b/.github/docker/debian/bullseye/arm64v8/fsa.unstable.Dockerfile deleted file mode 100644 index c6feadcd..00000000 --- a/.github/docker/debian/bullseye/arm64v8/fsa.unstable.Dockerfile +++ /dev/null @@ -1,89 +0,0 @@ -ARG BUILDER_IMAGE=arm64v8/debian:bullseye-20240513 - -FROM --platform=linux/arm64 ${BUILDER_IMAGE} AS builder - -ARG MAINTAINER_NAME="Andrey Volk" -ARG MAINTAINER_EMAIL="andrey@signalwire.com" - -ARG CODENAME=bullseye -ARG ARCH=arm64 - -ARG BUILD_NUMBER=42 -ARG GIT_SHA=0000000000 - -ARG DATA_DIR=/data - -LABEL maintainer="${MAINTAINER_NAME} <${MAINTAINER_EMAIL}>" - -SHELL ["/bin/bash", "-c"] - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt-get -q update \ - && apt-get -y -q install \ - apt-transport-https \ - autoconf \ - automake \ - build-essential \ - ca-certificates \ - cmake \ - curl \ - debhelper \ - devscripts \ - dh-autoreconf \ - dos2unix \ - doxygen \ - dpkg-dev \ - git \ - graphviz \ - libglib2.0-dev \ - libssl-dev \ - lsb-release \ - pkg-config \ - wget - -RUN update-ca-certificates --fresh - -RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \ - && echo "export ARCH=${ARCH}" | tee -a ~/.env \ - && chmod +x ~/.env - -RUN git config --global --add safe.directory '*' \ - && git config --global user.name "${MAINTAINER_NAME}" \ - && git config --global user.email "${MAINTAINER_EMAIL}" - -# Bootstrap and Build -COPY . ${DATA_DIR} -WORKDIR ${DATA_DIR} - -RUN echo "export VERSION=$(dpkg-parsechangelog --show-field Version | cut -f1 -d'-')" \ - | tee -a ~/.env - -RUN apt-get -q update \ - && mk-build-deps \ - --install \ - --remove debian/control \ - --tool "apt-get -y --no-install-recommends" \ - && apt-get -y -f install - -ENV DEB_BUILD_OPTIONS="parallel=1" - -RUN . ~/.env \ - && dch \ - --controlmaint \ - --distribution "${CODENAME}" \ - --force-bad-version \ - --force-distribution \ - --newversion "${VERSION}-${BUILD_NUMBER}-${GIT_SHA}~${CODENAME}" \ - "Nightly build, ${GIT_SHA}" \ - && debuild \ - --no-tgz-check \ - --build=binary \ - --unsigned-source \ - --unsigned-changes \ - && mkdir OUT \ - && mv -v ../*.{deb,changes} OUT/. - -# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) -FROM scratch -COPY --from=builder /data/OUT/ / diff --git a/.github/docker/debian/bullseye/arm64v8/public.release.Dockerfile b/.github/docker/debian/bullseye/arm64v8/public.release.Dockerfile deleted file mode 100644 index c6feadcd..00000000 --- a/.github/docker/debian/bullseye/arm64v8/public.release.Dockerfile +++ /dev/null @@ -1,89 +0,0 @@ -ARG BUILDER_IMAGE=arm64v8/debian:bullseye-20240513 - -FROM --platform=linux/arm64 ${BUILDER_IMAGE} AS builder - -ARG MAINTAINER_NAME="Andrey Volk" -ARG MAINTAINER_EMAIL="andrey@signalwire.com" - -ARG CODENAME=bullseye -ARG ARCH=arm64 - -ARG BUILD_NUMBER=42 -ARG GIT_SHA=0000000000 - -ARG DATA_DIR=/data - -LABEL maintainer="${MAINTAINER_NAME} <${MAINTAINER_EMAIL}>" - -SHELL ["/bin/bash", "-c"] - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt-get -q update \ - && apt-get -y -q install \ - apt-transport-https \ - autoconf \ - automake \ - build-essential \ - ca-certificates \ - cmake \ - curl \ - debhelper \ - devscripts \ - dh-autoreconf \ - dos2unix \ - doxygen \ - dpkg-dev \ - git \ - graphviz \ - libglib2.0-dev \ - libssl-dev \ - lsb-release \ - pkg-config \ - wget - -RUN update-ca-certificates --fresh - -RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \ - && echo "export ARCH=${ARCH}" | tee -a ~/.env \ - && chmod +x ~/.env - -RUN git config --global --add safe.directory '*' \ - && git config --global user.name "${MAINTAINER_NAME}" \ - && git config --global user.email "${MAINTAINER_EMAIL}" - -# Bootstrap and Build -COPY . ${DATA_DIR} -WORKDIR ${DATA_DIR} - -RUN echo "export VERSION=$(dpkg-parsechangelog --show-field Version | cut -f1 -d'-')" \ - | tee -a ~/.env - -RUN apt-get -q update \ - && mk-build-deps \ - --install \ - --remove debian/control \ - --tool "apt-get -y --no-install-recommends" \ - && apt-get -y -f install - -ENV DEB_BUILD_OPTIONS="parallel=1" - -RUN . ~/.env \ - && dch \ - --controlmaint \ - --distribution "${CODENAME}" \ - --force-bad-version \ - --force-distribution \ - --newversion "${VERSION}-${BUILD_NUMBER}-${GIT_SHA}~${CODENAME}" \ - "Nightly build, ${GIT_SHA}" \ - && debuild \ - --no-tgz-check \ - --build=binary \ - --unsigned-source \ - --unsigned-changes \ - && mkdir OUT \ - && mv -v ../*.{deb,changes} OUT/. - -# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) -FROM scratch -COPY --from=builder /data/OUT/ / diff --git a/.github/docker/debian/bullseye/arm64v8/public.unstable.Dockerfile b/.github/docker/debian/bullseye/arm64v8/public.unstable.Dockerfile deleted file mode 100644 index c6feadcd..00000000 --- a/.github/docker/debian/bullseye/arm64v8/public.unstable.Dockerfile +++ /dev/null @@ -1,89 +0,0 @@ -ARG BUILDER_IMAGE=arm64v8/debian:bullseye-20240513 - -FROM --platform=linux/arm64 ${BUILDER_IMAGE} AS builder - -ARG MAINTAINER_NAME="Andrey Volk" -ARG MAINTAINER_EMAIL="andrey@signalwire.com" - -ARG CODENAME=bullseye -ARG ARCH=arm64 - -ARG BUILD_NUMBER=42 -ARG GIT_SHA=0000000000 - -ARG DATA_DIR=/data - -LABEL maintainer="${MAINTAINER_NAME} <${MAINTAINER_EMAIL}>" - -SHELL ["/bin/bash", "-c"] - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt-get -q update \ - && apt-get -y -q install \ - apt-transport-https \ - autoconf \ - automake \ - build-essential \ - ca-certificates \ - cmake \ - curl \ - debhelper \ - devscripts \ - dh-autoreconf \ - dos2unix \ - doxygen \ - dpkg-dev \ - git \ - graphviz \ - libglib2.0-dev \ - libssl-dev \ - lsb-release \ - pkg-config \ - wget - -RUN update-ca-certificates --fresh - -RUN echo "export CODENAME=${CODENAME}" | tee ~/.env \ - && echo "export ARCH=${ARCH}" | tee -a ~/.env \ - && chmod +x ~/.env - -RUN git config --global --add safe.directory '*' \ - && git config --global user.name "${MAINTAINER_NAME}" \ - && git config --global user.email "${MAINTAINER_EMAIL}" - -# Bootstrap and Build -COPY . ${DATA_DIR} -WORKDIR ${DATA_DIR} - -RUN echo "export VERSION=$(dpkg-parsechangelog --show-field Version | cut -f1 -d'-')" \ - | tee -a ~/.env - -RUN apt-get -q update \ - && mk-build-deps \ - --install \ - --remove debian/control \ - --tool "apt-get -y --no-install-recommends" \ - && apt-get -y -f install - -ENV DEB_BUILD_OPTIONS="parallel=1" - -RUN . ~/.env \ - && dch \ - --controlmaint \ - --distribution "${CODENAME}" \ - --force-bad-version \ - --force-distribution \ - --newversion "${VERSION}-${BUILD_NUMBER}-${GIT_SHA}~${CODENAME}" \ - "Nightly build, ${GIT_SHA}" \ - && debuild \ - --no-tgz-check \ - --build=binary \ - --unsigned-source \ - --unsigned-changes \ - && mkdir OUT \ - && mv -v ../*.{deb,changes} OUT/. - -# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) -FROM scratch -COPY --from=builder /data/OUT/ / diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eba32f17..0787f8e4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,8 +13,8 @@ concurrency: group: ${{ github.head_ref || github.ref }} jobs: - deb-fsa: - name: 'DEB-FSA' + deb: + name: 'DEB' permissions: id-token: write contents: read @@ -35,18 +35,15 @@ jobs: runner: ubuntu-latest - name: arm64v8 runner: ubuntu-latest - release: - - release - - unstable with: RUNNER: ${{ matrix.platform.runner }} ARTIFACTS_PATTERN: '.*\.(deb)$' - DOCKERFILE: .github/docker/${{ matrix.os }}/${{ matrix.version }}/${{ matrix.platform.name }}/fsa.${{ matrix.release }}.Dockerfile + DOCKERFILE: .github/docker/${{ matrix.os }}/${{ matrix.version }}/${{ matrix.platform.name }}/Dockerfile MAINTAINER: 'Andrey Volk ' - META_FILE_PATH_PREFIX: /var/www/sofia-sip/fsa/${{ matrix.release }}/${{ github.ref_name }}/${{ github.run_id }}-${{ github.run_number }} + META_FILE_PATH_PREFIX: /var/www/sofia-sip/public/unstable/${{ github.ref_name }}/${{ github.run_id }}-${{ github.run_number }} PLATFORM: ${{ matrix.platform.name }} - TARGET_ARTIFACT_NAME: ${{ matrix.os }}-${{ matrix.version }}-${{ matrix.platform.name }}-fsa-${{ matrix.release }}-artifact - UPLOAD_BUILD_ARTIFACTS: ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.title, ':upload-artifacts') }} + TARGET_ARTIFACT_NAME: ${{ matrix.os }}-${{ matrix.version }}-${{ matrix.platform.name }}-public-unstable-artifact + UPLOAD_BUILD_ARTIFACTS: ${{ github.event_name != 'pull_request' }} secrets: GH_BOT_DEPLOY_TOKEN: ${{ secrets.PAT }} HOSTNAME: ${{ secrets.HOSTNAME }} @@ -54,12 +51,15 @@ jobs: USERNAME: ${{ secrets.USERNAME }} TELEPORT_TOKEN: ${{ secrets.TELEPORT_TOKEN }} - deb-public: - name: 'DEB-PUBLIC' + deb-mirror: + name: 'DEB-MIRROR' + if: ${{ github.event_name != 'pull_request' }} + needs: + - deb + runs-on: ubuntu-latest permissions: id-token: write contents: read - uses: signalwire/actions-template/.github/workflows/cicd-docker-build-and-distribute.yml@main strategy: # max-parallel: 1 fail-fast: false @@ -79,28 +79,46 @@ jobs: release: - release - unstable - with: - RUNNER: ${{ matrix.platform.runner }} - ARTIFACTS_PATTERN: '.*\.(deb)$' - DOCKERFILE: .github/docker/${{ matrix.os }}/${{ matrix.version }}/${{ matrix.platform.name }}/public.${{ matrix.release }}.Dockerfile - MAINTAINER: 'Andrey Volk ' - META_FILE_PATH_PREFIX: /var/www/sofia-sip/public/${{ matrix.release }}/${{ github.ref_name }}/${{ github.run_id }}-${{ github.run_number }} - PLATFORM: ${{ matrix.platform.name }} - TARGET_ARTIFACT_NAME: ${{ matrix.os }}-${{ matrix.version }}-${{ matrix.platform.name }}-public-${{ matrix.release }}-artifact - UPLOAD_BUILD_ARTIFACTS: ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.title, ':upload-artifacts') }} - secrets: - GH_BOT_DEPLOY_TOKEN: ${{ secrets.PAT }} - HOSTNAME: ${{ secrets.HOSTNAME }} - PROXY_URL: ${{ secrets.PROXY_URL }} - USERNAME: ${{ secrets.USERNAME }} - TELEPORT_TOKEN: ${{ secrets.TELEPORT_TOKEN }} + steps: + - name: Checkout reusable actions + uses: actions/checkout@v4 + with: + repository: signalwire/actions-template + ref: main + fetch-depth: 1 + path: actions + sparse-checkout: | + .github/actions/teleport-local-copy/action.yml + sparse-checkout-cone-mode: false + + - name: Mirror artifacts on remote server behind Teleport (public) + uses: ./actions/.github/actions/teleport-local-copy + with: + SRC: '/var/www/sofia-sip/public/unstable/${{ github.ref_name }}/${{ github.run_id }}-${{ github.run_number }}/${{ matrix.os }}-${{ matrix.version }}-${{ matrix.platform.name }}-public-unstable-artifact.tar.gz' + DST: '/var/www/sofia-sip/public/${{ matrix.release }}/${{ github.ref_name }}/${{ github.run_id }}-${{ github.run_number }}/${{ matrix.os }}-${{ matrix.version }}-${{ matrix.platform.name }}-public-${{ matrix.release }}-artifact.tar.gz' + env: + HOSTNAME: ${{ secrets.HOSTNAME }} + PROXY_URL: ${{ secrets.PROXY_URL }} + TOKEN: ${{ secrets.TELEPORT_TOKEN }} + USERNAME: ${{ secrets.USERNAME }} + + - name: Mirror artifacts on remote server behind Teleport (fsa) + uses: ./actions/.github/actions/teleport-local-copy + with: + SRC: '/var/www/sofia-sip/public/unstable/${{ github.ref_name }}/${{ github.run_id }}-${{ github.run_number }}/${{ matrix.os }}-${{ matrix.version }}-${{ matrix.platform.name }}-public-unstable-artifact.tar.gz' + DST: '/var/www/sofia-sip/fsa/${{ matrix.release }}/${{ github.ref_name }}/${{ github.run_id }}-${{ github.run_number }}/${{ matrix.os }}-${{ matrix.version }}-${{ matrix.platform.name }}-fsa-${{ matrix.release }}-artifact.tar.gz' + env: + HOSTNAME: ${{ secrets.HOSTNAME }} + PROXY_URL: ${{ secrets.PROXY_URL }} + TOKEN: ${{ secrets.TELEPORT_TOKEN }} + USERNAME: ${{ secrets.USERNAME }} meta: name: 'Publish build data to meta-repo' - if: ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.title, ':upload-artifacts') }} + if: ${{ github.event_name != 'pull_request' }} needs: - - deb-fsa - - deb-public + - deb + - deb-mirror permissions: id-token: write contents: read