From 7156a55983fbe87d7edffb1ebc3e5f8c5c4765d8 Mon Sep 17 00:00:00 2001 From: Vitalii Koshura Date: Thu, 25 Apr 2024 21:45:24 +0200 Subject: [PATCH] [CI] Build linux packages for Ubuntu 24.04 Signed-off-by: Vitalii Koshura --- .github/workflows/debrepo/aptly.noble.conf | 25 ++++++++++++++++++++ .github/workflows/debrepo/package_depends.sh | 2 +- .github/workflows/linux-package.yml | 8 +++---- 3 files changed, 30 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/debrepo/aptly.noble.conf diff --git a/.github/workflows/debrepo/aptly.noble.conf b/.github/workflows/debrepo/aptly.noble.conf new file mode 100644 index 0000000000..2266d96182 --- /dev/null +++ b/.github/workflows/debrepo/aptly.noble.conf @@ -0,0 +1,25 @@ +{ + "rootDir": "http-data/noble", + "downloadConcurrency": 4, + "downloadSpeedLimit": 0, + "architectures": [], + "dependencyFollowSuggests": false, + "dependencyFollowRecommends": false, + "dependencyFollowAllVariants": false, + "dependencyFollowSource": false, + "dependencyVerboseResolve": false, + "gpgDisableSign": false, + "gpgDisableVerify": false, + "gpgProvider": "gpg1", + "downloadSourcePackages": false, + "skipLegacyPool": true, + "ppaDistributorID": "ubuntu", + "ppaCodename": "", + "FileSystemPublishEndpoints": {}, + "S3PublishEndpoints": {}, + "SwiftPublishEndpoints": {}, + "enableMetricsEndpoint": false, + "logLevel": "info", + "logFormat": "default", + "serveInAPIMode": false +} diff --git a/.github/workflows/debrepo/package_depends.sh b/.github/workflows/debrepo/package_depends.sh index a0fd321bd2..d57451e978 100755 --- a/.github/workflows/debrepo/package_depends.sh +++ b/.github/workflows/debrepo/package_depends.sh @@ -27,7 +27,7 @@ function exit_usage() { } case "$1_$2" in -"focal_linux_client" | "jammy_linux_client" | "buster_linux_client" | "bullseye_linux_client" | "bookworm_linux_client") +"focal_linux_client" | "jammy_linux_client" | "noble_linux_client" | "buster_linux_client" | "bullseye_linux_client" | "bookworm_linux_client") echo "libc6,libxss1 (>= 1.2.3),ca-certificates" ;; *) echo "libc6" diff --git a/.github/workflows/linux-package.yml b/.github/workflows/linux-package.yml index 85ad252455..3e303a1fbe 100644 --- a/.github/workflows/linux-package.yml +++ b/.github/workflows/linux-package.yml @@ -130,7 +130,7 @@ jobs: needs: prepare-binaries strategy: matrix: - os: [focal, jammy, buster, bullseye, bookworm] + os: [focal, jammy, noble, buster, bullseye, bookworm] type: [client, manager] fail-fast: false env: @@ -205,7 +205,7 @@ jobs: echo "------------------------" - name: Create Ubuntu Package - if: ${{ success() && ( matrix.os == 'focal' || matrix.os == 'jammy' ) }} + if: ${{ success() && ( matrix.os == 'focal' || matrix.os == 'jammy' || matrix.os == 'noble' ) }} run: | cd ${{ github.workspace }}/ # Build the actual package for Ubuntu with XZ compression @@ -630,7 +630,7 @@ jobs: needs: build-deb-package strategy: matrix: - os: [focal, jammy] + os: [focal, jammy, noble] fail-fast: false steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 @@ -765,7 +765,7 @@ jobs: needs: [test-debian-deb-package, test-ubuntu-deb-package] strategy: matrix: - os: [focal, jammy, buster, bullseye, bookworm] + os: [focal, jammy, noble, buster, bullseye, bookworm] fail-fast: false steps: - name: Check if build is running from origin repo