From 9c0bc0873e4fd6bf03b51984996395330d1cc2c7 Mon Sep 17 00:00:00 2001 From: Rylie Pavlik Date: Mon, 15 Apr 2024 16:47:26 -0500 Subject: [PATCH] ci: Fix reprepro. It has to run on the latest Debian-like distro. --- .gitlab-ci.yml | 6 +++--- .gitlab-ci/config.yml | 8 +++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5cffa14e6..64bc60fe8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -179,7 +179,7 @@ debian:bookworm:container_prep: - .fdo.container-build@debian # from ci-templates variables: - FDO_DISTRIBUTION_PACKAGES: 'build-essential ca-certificates clang-format cmake codespell curl debhelper devscripts doxygen dput-ng gettext-base git glslang-tools graphviz libbluetooth-dev libbsd-dev libcjson-dev libdbus-1-dev libegl1-mesa-dev libeigen3-dev libgl1-mesa-dev libglvnd-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libhidapi-dev libopencv-dev libsdl2-dev libsystemd-dev libudev-dev libusb-1.0-0-dev libuvc-dev libv4l-dev libvulkan-dev libwayland-dev libx11-dev libx11-xcb-dev libxcb-randr0-dev libxrandr-dev libxxf86vm-dev ninja-build pandoc patch pipx pkg-config python3 python3-click python3-pip unzip wayland-protocols wget' + FDO_DISTRIBUTION_PACKAGES: 'build-essential ca-certificates clang-format cmake codespell curl debhelper devscripts doxygen dput-ng gettext-base git glslang-tools graphviz libbluetooth-dev libbsd-dev libcjson-dev libdbus-1-dev libegl1-mesa-dev libeigen3-dev libgl1-mesa-dev libglvnd-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libhidapi-dev libopencv-dev libsdl2-dev libsystemd-dev libudev-dev libusb-1.0-0-dev libuvc-dev libv4l-dev libvulkan-dev libwayland-dev libx11-dev libx11-xcb-dev libxcb-randr0-dev libxrandr-dev libxxf86vm-dev ninja-build pandoc patch pipx pkg-config python3 python3-click python3-pip reprepro unzip wayland-protocols wget' FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/i386_and_proclamation_container_prep.sh' # Make Debian bullseye image @@ -225,7 +225,7 @@ ubuntu:jammy:container_prep: - .fdo.container-build@ubuntu # from ci-templates variables: - FDO_DISTRIBUTION_PACKAGES: 'build-essential ca-certificates cmake curl debhelper devscripts dput-ng gettext-base git glslang-tools libbluetooth-dev libbsd-dev libcjson-dev libdbus-1-dev libegl1-mesa-dev libeigen3-dev libgl1-mesa-dev libglvnd-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libhidapi-dev libopencv-dev libsdl2-dev libsystemd-dev libudev-dev libusb-1.0-0-dev libuvc-dev libv4l-dev libvulkan-dev libwayland-dev libx11-dev libx11-xcb-dev libxcb-randr0-dev libxrandr-dev libxxf86vm-dev ninja-build pandoc patch pkg-config python3 reprepro unzip wayland-protocols wget' + FDO_DISTRIBUTION_PACKAGES: 'build-essential ca-certificates cmake curl debhelper devscripts dput-ng gettext-base git glslang-tools libbluetooth-dev libbsd-dev libcjson-dev libdbus-1-dev libegl1-mesa-dev libeigen3-dev libgl1-mesa-dev libglvnd-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libhidapi-dev libopencv-dev libsdl2-dev libsystemd-dev libudev-dev libusb-1.0-0-dev libuvc-dev libv4l-dev libvulkan-dev libwayland-dev libx11-dev libx11-xcb-dev libxcb-randr0-dev libxrandr-dev libxxf86vm-dev ninja-build pandoc patch pkg-config python3 unzip wayland-protocols wget' # Make Arch image arch:container_prep: @@ -712,7 +712,7 @@ ubuntu:jammy:package: reprepro:package: stage: reprepro extends: - - .monado.image.ubuntu:jammy + - .monado.image.debian:bookworm - .monado.packaging.conditions needs: diff --git a/.gitlab-ci/config.yml b/.gitlab-ci/config.yml index d9a77cc0e..29270413c 100644 --- a/.gitlab-ci/config.yml +++ b/.gitlab-ci/config.yml @@ -76,13 +76,16 @@ distributions: deb_version_suffix: bpo12 packages: <<: *default_debian_packages + clang-format: codespell: doxygen: graphviz: pipx: - python3-pip: python3-click: - clang-format: + python3-pip: + # reprepro must always run on the most recent debian-derived distribution so it is aware of all distros we package for. + # Right now that is bookworm but it will be a new Ubuntu soon. + reprepro: build_jobs: - name: "debian:cmake" # Generate "changes since last release" and add to changelog, @@ -198,7 +201,6 @@ distributions: deb_version_suffix: ubuntu2204 packages: <<: *default_debian_packages - reprepro: build_jobs: - name: "ubuntu:jammy:cmake" cmake_defines: