diff --git a/.github/workflows.src/build.inc.yml b/.github/workflows.src/build.inc.yml index b2ee72888a5..b2478ef2057 100644 --- a/.github/workflows.src/build.inc.yml +++ b/.github/workflows.src/build.inc.yml @@ -30,25 +30,29 @@ <% if tgt.family == "debian" %> idx_file=<< tgt.platform_version >>.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "<< tgt.arch >>" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing << tgt.name >>' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "<< tgt.arch >>" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing << tgt.name >>' + val=false + fi fi <% elif tgt.family == "redhat" %> idx_file=el<< tgt.platform_version >>.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "<< tgt.arch >>" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing << tgt.name >>' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "<< tgt.arch >>" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing << tgt.name >>' + val=false + fi fi <% elif tgt.family == "generic" %> - out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/<< tgt.platform_version >>-unknown-linux-<< "{}".format(tgt.platform_libc) if tgt.platform_libc else "gnu" >>.nightly.json | jq -r --arg REV "$rev" --arg ARCH "<< tgt.arch >>" "$jq_filter") + out=$(curl --fail -s https://packages.edgedb.com/archive/.jsonindexes/<< tgt.platform_version >>-unknown-linux-<< "{}".format(tgt.platform_libc) if tgt.platform_libc else "gnu" >>.nightly.json | jq -r --arg REV "$rev" --arg ARCH "<< tgt.arch >>" "$jq_filter" || true) if [ -n "$out" ]; then echo 'Skip rebuilding existing << tgt.name >>' val=false @@ -59,13 +63,13 @@ <% for tgt in targets.macos %> val=true <% if tgt.platform == "macos" %> - out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/<< tgt.platform_version >>-apple-darwin.nightly.json | jq -r --arg REV "$rev" --arg ARCH "<< tgt.arch >>" "$jq_filter") + out=$(curl --fail -s https://packages.edgedb.com/archive/.jsonindexes/<< tgt.platform_version >>-apple-darwin.nightly.json | jq -r --arg REV "$rev" --arg ARCH "<< tgt.arch >>" "$jq_filter" || true) if [ -n "$out" ]; then echo 'Skip rebuilding existing << tgt.platform >>-<< tgt.platform_version >>' val=false fi <% elif tgt.platform == "win" %> - out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/<< tgt.platform_version >>-pc-windows-msvc.nightly.json | jq -r --arg REV "$rev" --arg ARCH "<< tgt.arch >>" "$jq_filter") + out=$(curl --fail -s https://packages.edgedb.com/archive/.jsonindexes/<< tgt.platform_version >>-pc-windows-msvc.nightly.json | jq -r --arg REV "$rev" --arg ARCH "<< tgt.arch >>" "$jq_filter" || true) if [ -n "$out" ]; then echo 'Skip rebuilding existing << tgt.platform >>-<< tgt.platform_version >>' val=false diff --git a/.github/workflows.src/build.targets.yml b/.github/workflows.src/build.targets.yml index 99f135c7f16..09a94e95496 100644 --- a/.github/workflows.src/build.targets.yml +++ b/.github/workflows.src/build.targets.yml @@ -78,6 +78,17 @@ targets: platform: ubuntu platform_version: jammy family: debian + - name: ubuntu-noble-x86_64 + arch: x86_64 + platform: ubuntu + platform_version: noble + family: debian + runs_on: [package-builder, self-hosted, linux, x64] + - name: ubuntu-noble-aarch64 + arch: aarch64 + platform: ubuntu + platform_version: noble + family: debian runs_on: [package-builder, self-hosted, linux, arm64] - name: centos-8-x86_64 arch: x86_64 diff --git a/.github/workflows/dryrun.yml b/.github/workflows/dryrun.yml index 1cb69312db4..f8c2b93ded8 100644 --- a/.github/workflows/dryrun.yml +++ b/.github/workflows/dryrun.yml @@ -35,6 +35,10 @@ jobs: if_ubuntu_jammy_aarch64: ${{ steps.scm.outputs.if_ubuntu_jammy_aarch64 }} + if_ubuntu_noble_x86_64: ${{ steps.scm.outputs.if_ubuntu_noble_x86_64 }} + + if_ubuntu_noble_aarch64: ${{ steps.scm.outputs.if_ubuntu_noble_aarch64 }} + if_centos_8_x86_64: ${{ steps.scm.outputs.if_centos_8_x86_64 }} if_centos_8_aarch64: ${{ steps.scm.outputs.if_centos_8_aarch64 }} @@ -78,12 +82,14 @@ jobs: idx_file=buster.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing debian-buster-x86_64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing debian-buster-x86_64' + val=false + fi fi echo if_debian_buster_x86_64="$val" >> $GITHUB_OUTPUT @@ -92,12 +98,14 @@ jobs: idx_file=buster.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing debian-buster-aarch64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing debian-buster-aarch64' + val=false + fi fi echo if_debian_buster_aarch64="$val" >> $GITHUB_OUTPUT @@ -106,12 +114,14 @@ jobs: idx_file=bullseye.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing debian-bullseye-x86_64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing debian-bullseye-x86_64' + val=false + fi fi echo if_debian_bullseye_x86_64="$val" >> $GITHUB_OUTPUT @@ -120,12 +130,14 @@ jobs: idx_file=bullseye.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing debian-bullseye-aarch64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing debian-bullseye-aarch64' + val=false + fi fi echo if_debian_bullseye_aarch64="$val" >> $GITHUB_OUTPUT @@ -134,12 +146,14 @@ jobs: idx_file=bookworm.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing debian-bookworm-x86_64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing debian-bookworm-x86_64' + val=false + fi fi echo if_debian_bookworm_x86_64="$val" >> $GITHUB_OUTPUT @@ -148,12 +162,14 @@ jobs: idx_file=bookworm.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing debian-bookworm-aarch64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing debian-bookworm-aarch64' + val=false + fi fi echo if_debian_bookworm_aarch64="$val" >> $GITHUB_OUTPUT @@ -162,12 +178,14 @@ jobs: idx_file=bionic.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing ubuntu-bionic-x86_64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing ubuntu-bionic-x86_64' + val=false + fi fi echo if_ubuntu_bionic_x86_64="$val" >> $GITHUB_OUTPUT @@ -176,12 +194,14 @@ jobs: idx_file=bionic.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing ubuntu-bionic-aarch64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing ubuntu-bionic-aarch64' + val=false + fi fi echo if_ubuntu_bionic_aarch64="$val" >> $GITHUB_OUTPUT @@ -190,12 +210,14 @@ jobs: idx_file=focal.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing ubuntu-focal-x86_64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing ubuntu-focal-x86_64' + val=false + fi fi echo if_ubuntu_focal_x86_64="$val" >> $GITHUB_OUTPUT @@ -204,12 +226,14 @@ jobs: idx_file=focal.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing ubuntu-focal-aarch64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing ubuntu-focal-aarch64' + val=false + fi fi echo if_ubuntu_focal_aarch64="$val" >> $GITHUB_OUTPUT @@ -218,12 +242,14 @@ jobs: idx_file=jammy.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing ubuntu-jammy-x86_64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing ubuntu-jammy-x86_64' + val=false + fi fi echo if_ubuntu_jammy_x86_64="$val" >> $GITHUB_OUTPUT @@ -232,26 +258,62 @@ jobs: idx_file=jammy.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing ubuntu-jammy-aarch64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing ubuntu-jammy-aarch64' + val=false + fi fi echo if_ubuntu_jammy_aarch64="$val" >> $GITHUB_OUTPUT val=true + idx_file=noble.nightly.json + if [ ! -e "/tmp/$idx_file" ]; then + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true + fi + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing ubuntu-noble-x86_64' + val=false + fi + fi + + echo if_ubuntu_noble_x86_64="$val" >> $GITHUB_OUTPUT + + val=true + + idx_file=noble.nightly.json + if [ ! -e "/tmp/$idx_file" ]; then + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true + fi + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing ubuntu-noble-aarch64' + val=false + fi + fi + + echo if_ubuntu_noble_aarch64="$val" >> $GITHUB_OUTPUT + + val=true + idx_file=el8.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing centos-8-x86_64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing centos-8-x86_64' + val=false + fi fi echo if_centos_8_x86_64="$val" >> $GITHUB_OUTPUT @@ -260,12 +322,14 @@ jobs: idx_file=el8.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing centos-8-aarch64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing centos-8-aarch64' + val=false + fi fi echo if_centos_8_aarch64="$val" >> $GITHUB_OUTPUT @@ -274,12 +338,14 @@ jobs: idx_file=el9.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing rockylinux-9-x86_64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing rockylinux-9-x86_64' + val=false + fi fi echo if_rockylinux_9_x86_64="$val" >> $GITHUB_OUTPUT @@ -288,19 +354,21 @@ jobs: idx_file=el9.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing rockylinux-9-aarch64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing rockylinux-9-aarch64' + val=false + fi fi echo if_rockylinux_9_aarch64="$val" >> $GITHUB_OUTPUT val=true - out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/x86_64-unknown-linux-gnu.nightly.json | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + out=$(curl --fail -s https://packages.edgedb.com/archive/.jsonindexes/x86_64-unknown-linux-gnu.nightly.json | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter" || true) if [ -n "$out" ]; then echo 'Skip rebuilding existing linux-x86_64' val=false @@ -310,7 +378,7 @@ jobs: val=true - out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/aarch64-unknown-linux-gnu.nightly.json | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + out=$(curl --fail -s https://packages.edgedb.com/archive/.jsonindexes/aarch64-unknown-linux-gnu.nightly.json | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter" || true) if [ -n "$out" ]; then echo 'Skip rebuilding existing linux-aarch64' val=false @@ -320,7 +388,7 @@ jobs: val=true - out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/x86_64-unknown-linux-musl.nightly.json | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + out=$(curl --fail -s https://packages.edgedb.com/archive/.jsonindexes/x86_64-unknown-linux-musl.nightly.json | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter" || true) if [ -n "$out" ]; then echo 'Skip rebuilding existing linuxmusl-x86_64' val=false @@ -330,7 +398,7 @@ jobs: val=true - out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/aarch64-unknown-linux-musl.nightly.json | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + out=$(curl --fail -s https://packages.edgedb.com/archive/.jsonindexes/aarch64-unknown-linux-musl.nightly.json | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter" || true) if [ -n "$out" ]; then echo 'Skip rebuilding existing linuxmusl-aarch64' val=false @@ -341,7 +409,7 @@ jobs: val=true - out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/x86_64-apple-darwin.nightly.json | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + out=$(curl --fail -s https://packages.edgedb.com/archive/.jsonindexes/x86_64-apple-darwin.nightly.json | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter" || true) if [ -n "$out" ]; then echo 'Skip rebuilding existing macos-x86_64' val=false @@ -351,7 +419,7 @@ jobs: val=true - out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/aarch64-apple-darwin.nightly.json | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + out=$(curl --fail -s https://packages.edgedb.com/archive/.jsonindexes/aarch64-apple-darwin.nightly.json | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter" || true) if [ -n "$out" ]; then echo 'Skip rebuilding existing macos-aarch64' val=false @@ -626,7 +694,7 @@ jobs: path: artifacts/ubuntu-jammy build-ubuntu-jammy-aarch64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + runs-on: ubuntu-latest needs: prep if: needs.prep.outputs.if_ubuntu_jammy_aarch64 == 'true' @@ -649,6 +717,54 @@ jobs: name: builds-ubuntu-jammy-aarch64 path: artifacts/ubuntu-jammy + build-ubuntu-noble-x86_64: + runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] + needs: prep + + if: needs.prep.outputs.if_ubuntu_noble_x86_64 == 'true' + + + steps: + - name: Build + uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-noble@master + env: + SRC_REF: "${{ needs.prep.outputs.branch }}" + PKG_REVISION: "" + PKG_SUBDIST: "nightly" + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + EXTRA_OPTIMIZATIONS: "true" + METAPKG_GIT_CACHE: disabled + + - uses: actions/upload-artifact@v4 + with: + name: builds-ubuntu-noble-x86_64 + path: artifacts/ubuntu-noble + + build-ubuntu-noble-aarch64: + runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + needs: prep + + if: needs.prep.outputs.if_ubuntu_noble_aarch64 == 'true' + + + steps: + - name: Build + uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-noble@master + env: + SRC_REF: "${{ needs.prep.outputs.branch }}" + PKG_REVISION: "" + PKG_SUBDIST: "nightly" + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + EXTRA_OPTIMIZATIONS: "true" + METAPKG_GIT_CACHE: disabled + + - uses: actions/upload-artifact@v4 + with: + name: builds-ubuntu-noble-aarch64 + path: artifacts/ubuntu-noble + build-centos-8-x86_64: runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] needs: prep @@ -1196,7 +1312,7 @@ jobs: test-ubuntu-jammy-aarch64: needs: [build-ubuntu-jammy-aarch64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + runs-on: ubuntu-latest steps: - uses: actions/download-artifact@v4 @@ -1213,6 +1329,48 @@ jobs: PKG_PLATFORM_LIBC: "" # edb test with -j higher than 1 seems to result in workflow # jobs getting killed arbitrarily by Github. + PKG_TEST_JOBS: 1 + + test-ubuntu-noble-x86_64: + needs: [build-ubuntu-noble-x86_64] + runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] + + steps: + - uses: actions/download-artifact@v4 + with: + name: builds-ubuntu-noble-x86_64 + path: artifacts/ubuntu-noble + + - name: Test + uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-noble@master + env: + PKG_SUBDIST: "nightly" + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + PKG_PLATFORM_LIBC: "" + # edb test with -j higher than 1 seems to result in workflow + # jobs getting killed arbitrarily by Github. + PKG_TEST_JOBS: 0 + + test-ubuntu-noble-aarch64: + needs: [build-ubuntu-noble-aarch64] + runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + + steps: + - uses: actions/download-artifact@v4 + with: + name: builds-ubuntu-noble-aarch64 + path: artifacts/ubuntu-noble + + - name: Test + uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-noble@master + env: + PKG_SUBDIST: "nightly" + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + PKG_PLATFORM_LIBC: "" + # edb test with -j higher than 1 seems to result in workflow + # jobs getting killed arbitrarily by Github. PKG_TEST_JOBS: 0 test-centos-8-x86_64: @@ -1466,6 +1624,10 @@ jobs: - test-ubuntu-jammy-x86_64 - build-ubuntu-jammy-aarch64 - test-ubuntu-jammy-aarch64 + - build-ubuntu-noble-x86_64 + - test-ubuntu-noble-x86_64 + - build-ubuntu-noble-aarch64 + - test-ubuntu-noble-aarch64 - build-centos-8-x86_64 - test-centos-8-x86_64 - build-centos-8-aarch64 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index fa68df82fd5..c43fb4163f7 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -40,6 +40,10 @@ jobs: if_ubuntu_jammy_aarch64: ${{ steps.scm.outputs.if_ubuntu_jammy_aarch64 }} + if_ubuntu_noble_x86_64: ${{ steps.scm.outputs.if_ubuntu_noble_x86_64 }} + + if_ubuntu_noble_aarch64: ${{ steps.scm.outputs.if_ubuntu_noble_aarch64 }} + if_centos_8_x86_64: ${{ steps.scm.outputs.if_centos_8_x86_64 }} if_centos_8_aarch64: ${{ steps.scm.outputs.if_centos_8_aarch64 }} @@ -83,12 +87,14 @@ jobs: idx_file=buster.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing debian-buster-x86_64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing debian-buster-x86_64' + val=false + fi fi echo if_debian_buster_x86_64="$val" >> $GITHUB_OUTPUT @@ -97,12 +103,14 @@ jobs: idx_file=buster.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing debian-buster-aarch64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing debian-buster-aarch64' + val=false + fi fi echo if_debian_buster_aarch64="$val" >> $GITHUB_OUTPUT @@ -111,12 +119,14 @@ jobs: idx_file=bullseye.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing debian-bullseye-x86_64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing debian-bullseye-x86_64' + val=false + fi fi echo if_debian_bullseye_x86_64="$val" >> $GITHUB_OUTPUT @@ -125,12 +135,14 @@ jobs: idx_file=bullseye.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing debian-bullseye-aarch64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing debian-bullseye-aarch64' + val=false + fi fi echo if_debian_bullseye_aarch64="$val" >> $GITHUB_OUTPUT @@ -139,12 +151,14 @@ jobs: idx_file=bookworm.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing debian-bookworm-x86_64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing debian-bookworm-x86_64' + val=false + fi fi echo if_debian_bookworm_x86_64="$val" >> $GITHUB_OUTPUT @@ -153,12 +167,14 @@ jobs: idx_file=bookworm.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing debian-bookworm-aarch64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing debian-bookworm-aarch64' + val=false + fi fi echo if_debian_bookworm_aarch64="$val" >> $GITHUB_OUTPUT @@ -167,12 +183,14 @@ jobs: idx_file=bionic.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing ubuntu-bionic-x86_64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing ubuntu-bionic-x86_64' + val=false + fi fi echo if_ubuntu_bionic_x86_64="$val" >> $GITHUB_OUTPUT @@ -181,12 +199,14 @@ jobs: idx_file=bionic.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing ubuntu-bionic-aarch64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing ubuntu-bionic-aarch64' + val=false + fi fi echo if_ubuntu_bionic_aarch64="$val" >> $GITHUB_OUTPUT @@ -195,12 +215,14 @@ jobs: idx_file=focal.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing ubuntu-focal-x86_64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing ubuntu-focal-x86_64' + val=false + fi fi echo if_ubuntu_focal_x86_64="$val" >> $GITHUB_OUTPUT @@ -209,12 +231,14 @@ jobs: idx_file=focal.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing ubuntu-focal-aarch64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing ubuntu-focal-aarch64' + val=false + fi fi echo if_ubuntu_focal_aarch64="$val" >> $GITHUB_OUTPUT @@ -223,12 +247,14 @@ jobs: idx_file=jammy.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing ubuntu-jammy-x86_64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing ubuntu-jammy-x86_64' + val=false + fi fi echo if_ubuntu_jammy_x86_64="$val" >> $GITHUB_OUTPUT @@ -237,26 +263,62 @@ jobs: idx_file=jammy.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing ubuntu-jammy-aarch64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing ubuntu-jammy-aarch64' + val=false + fi fi echo if_ubuntu_jammy_aarch64="$val" >> $GITHUB_OUTPUT val=true + idx_file=noble.nightly.json + if [ ! -e "/tmp/$idx_file" ]; then + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true + fi + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing ubuntu-noble-x86_64' + val=false + fi + fi + + echo if_ubuntu_noble_x86_64="$val" >> $GITHUB_OUTPUT + + val=true + + idx_file=noble.nightly.json + if [ ! -e "/tmp/$idx_file" ]; then + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file || true + fi + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing ubuntu-noble-aarch64' + val=false + fi + fi + + echo if_ubuntu_noble_aarch64="$val" >> $GITHUB_OUTPUT + + val=true + idx_file=el8.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing centos-8-x86_64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing centos-8-x86_64' + val=false + fi fi echo if_centos_8_x86_64="$val" >> $GITHUB_OUTPUT @@ -265,12 +327,14 @@ jobs: idx_file=el8.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing centos-8-aarch64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing centos-8-aarch64' + val=false + fi fi echo if_centos_8_aarch64="$val" >> $GITHUB_OUTPUT @@ -279,12 +343,14 @@ jobs: idx_file=el9.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing rockylinux-9-x86_64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing rockylinux-9-x86_64' + val=false + fi fi echo if_rockylinux_9_x86_64="$val" >> $GITHUB_OUTPUT @@ -293,19 +359,21 @@ jobs: idx_file=el9.nightly.json if [ ! -e "/tmp/$idx_file" ]; then - curl -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file > /tmp/$idx_file + curl --fail -o /tmp/$idx_file -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file || true fi - out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") - if [ -n "$out" ]; then - echo 'Skip rebuilding existing rockylinux-9-aarch64' - val=false + if [ -e "/tmp/$idx_file" ]; then + out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + if [ -n "$out" ]; then + echo 'Skip rebuilding existing rockylinux-9-aarch64' + val=false + fi fi echo if_rockylinux_9_aarch64="$val" >> $GITHUB_OUTPUT val=true - out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/x86_64-unknown-linux-gnu.nightly.json | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + out=$(curl --fail -s https://packages.edgedb.com/archive/.jsonindexes/x86_64-unknown-linux-gnu.nightly.json | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter" || true) if [ -n "$out" ]; then echo 'Skip rebuilding existing linux-x86_64' val=false @@ -315,7 +383,7 @@ jobs: val=true - out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/aarch64-unknown-linux-gnu.nightly.json | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + out=$(curl --fail -s https://packages.edgedb.com/archive/.jsonindexes/aarch64-unknown-linux-gnu.nightly.json | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter" || true) if [ -n "$out" ]; then echo 'Skip rebuilding existing linux-aarch64' val=false @@ -325,7 +393,7 @@ jobs: val=true - out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/x86_64-unknown-linux-musl.nightly.json | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + out=$(curl --fail -s https://packages.edgedb.com/archive/.jsonindexes/x86_64-unknown-linux-musl.nightly.json | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter" || true) if [ -n "$out" ]; then echo 'Skip rebuilding existing linuxmusl-x86_64' val=false @@ -335,7 +403,7 @@ jobs: val=true - out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/aarch64-unknown-linux-musl.nightly.json | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + out=$(curl --fail -s https://packages.edgedb.com/archive/.jsonindexes/aarch64-unknown-linux-musl.nightly.json | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter" || true) if [ -n "$out" ]; then echo 'Skip rebuilding existing linuxmusl-aarch64' val=false @@ -346,7 +414,7 @@ jobs: val=true - out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/x86_64-apple-darwin.nightly.json | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter") + out=$(curl --fail -s https://packages.edgedb.com/archive/.jsonindexes/x86_64-apple-darwin.nightly.json | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter" || true) if [ -n "$out" ]; then echo 'Skip rebuilding existing macos-x86_64' val=false @@ -356,7 +424,7 @@ jobs: val=true - out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/aarch64-apple-darwin.nightly.json | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter") + out=$(curl --fail -s https://packages.edgedb.com/archive/.jsonindexes/aarch64-apple-darwin.nightly.json | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter" || true) if [ -n "$out" ]; then echo 'Skip rebuilding existing macos-aarch64' val=false @@ -631,7 +699,7 @@ jobs: path: artifacts/ubuntu-jammy build-ubuntu-jammy-aarch64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + runs-on: ubuntu-latest needs: prep if: needs.prep.outputs.if_ubuntu_jammy_aarch64 == 'true' @@ -654,6 +722,54 @@ jobs: name: builds-ubuntu-jammy-aarch64 path: artifacts/ubuntu-jammy + build-ubuntu-noble-x86_64: + runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] + needs: prep + + if: needs.prep.outputs.if_ubuntu_noble_x86_64 == 'true' + + + steps: + - name: Build + uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-noble@master + env: + SRC_REF: "${{ needs.prep.outputs.branch }}" + PKG_REVISION: "" + PKG_SUBDIST: "nightly" + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + EXTRA_OPTIMIZATIONS: "true" + METAPKG_GIT_CACHE: disabled + + - uses: actions/upload-artifact@v4 + with: + name: builds-ubuntu-noble-x86_64 + path: artifacts/ubuntu-noble + + build-ubuntu-noble-aarch64: + runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + needs: prep + + if: needs.prep.outputs.if_ubuntu_noble_aarch64 == 'true' + + + steps: + - name: Build + uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-noble@master + env: + SRC_REF: "${{ needs.prep.outputs.branch }}" + PKG_REVISION: "" + PKG_SUBDIST: "nightly" + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + EXTRA_OPTIMIZATIONS: "true" + METAPKG_GIT_CACHE: disabled + + - uses: actions/upload-artifact@v4 + with: + name: builds-ubuntu-noble-aarch64 + path: artifacts/ubuntu-noble + build-centos-8-x86_64: runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] needs: prep @@ -1201,7 +1317,7 @@ jobs: test-ubuntu-jammy-aarch64: needs: [build-ubuntu-jammy-aarch64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + runs-on: ubuntu-latest steps: - uses: actions/download-artifact@v4 @@ -1218,6 +1334,48 @@ jobs: PKG_PLATFORM_LIBC: "" # edb test with -j higher than 1 seems to result in workflow # jobs getting killed arbitrarily by Github. + PKG_TEST_JOBS: 1 + + test-ubuntu-noble-x86_64: + needs: [build-ubuntu-noble-x86_64] + runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] + + steps: + - uses: actions/download-artifact@v4 + with: + name: builds-ubuntu-noble-x86_64 + path: artifacts/ubuntu-noble + + - name: Test + uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-noble@master + env: + PKG_SUBDIST: "nightly" + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + PKG_PLATFORM_LIBC: "" + # edb test with -j higher than 1 seems to result in workflow + # jobs getting killed arbitrarily by Github. + PKG_TEST_JOBS: 0 + + test-ubuntu-noble-aarch64: + needs: [build-ubuntu-noble-aarch64] + runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + + steps: + - uses: actions/download-artifact@v4 + with: + name: builds-ubuntu-noble-aarch64 + path: artifacts/ubuntu-noble + + - name: Test + uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-noble@master + env: + PKG_SUBDIST: "nightly" + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + PKG_PLATFORM_LIBC: "" + # edb test with -j higher than 1 seems to result in workflow + # jobs getting killed arbitrarily by Github. PKG_TEST_JOBS: 0 test-centos-8-x86_64: @@ -2035,7 +2193,7 @@ jobs: check-published-ubuntu-jammy-aarch64: needs: [publish-ubuntu-jammy-aarch64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + runs-on: ubuntu-latest steps: - uses: actions/download-artifact@v4 @@ -2065,6 +2223,110 @@ jobs: version-core: ${{ steps.describe.outputs.version-core }} catalog-version: ${{ steps.describe.outputs.catalog-version }} + publish-ubuntu-noble-x86_64: + needs: [test-ubuntu-noble-x86_64] + runs-on: ubuntu-latest + + steps: + - uses: actions/download-artifact@v4 + with: + name: builds-ubuntu-noble-x86_64 + path: artifacts/ubuntu-noble + + - name: Publish + uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master + env: + PKG_SUBDIST: "nightly" + PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/ + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + PKG_PLATFORM_LIBC: "" + PACKAGE_UPLOAD_SSH_KEY: "${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}" + + check-published-ubuntu-noble-x86_64: + needs: [publish-ubuntu-noble-x86_64] + runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] + + steps: + - uses: actions/download-artifact@v4 + with: + name: builds-ubuntu-noble-x86_64 + path: artifacts/ubuntu-noble + + - name: Describe + id: describe + uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master + with: + target: ubuntu-noble + + - name: Test Published + uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-noble@master + env: + PKG_NAME: "${{ steps.describe.outputs.name }}" + PKG_SUBDIST: "nightly" + PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/ + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + PKG_INSTALL_REF: "${{ steps.describe.outputs.install-ref }}" + PKG_VERSION_SLOT: "${{ steps.describe.outputs.version-slot }}" + + outputs: + version-slot: ${{ steps.describe.outputs.version-slot }} + version-core: ${{ steps.describe.outputs.version-core }} + catalog-version: ${{ steps.describe.outputs.catalog-version }} + + publish-ubuntu-noble-aarch64: + needs: [test-ubuntu-noble-aarch64] + runs-on: ubuntu-latest + + steps: + - uses: actions/download-artifact@v4 + with: + name: builds-ubuntu-noble-aarch64 + path: artifacts/ubuntu-noble + + - name: Publish + uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master + env: + PKG_SUBDIST: "nightly" + PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/ + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + PKG_PLATFORM_LIBC: "" + PACKAGE_UPLOAD_SSH_KEY: "${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}" + + check-published-ubuntu-noble-aarch64: + needs: [publish-ubuntu-noble-aarch64] + runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + + steps: + - uses: actions/download-artifact@v4 + with: + name: builds-ubuntu-noble-aarch64 + path: artifacts/ubuntu-noble + + - name: Describe + id: describe + uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master + with: + target: ubuntu-noble + + - name: Test Published + uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-noble@master + env: + PKG_NAME: "${{ steps.describe.outputs.name }}" + PKG_SUBDIST: "nightly" + PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/ + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + PKG_INSTALL_REF: "${{ steps.describe.outputs.install-ref }}" + PKG_VERSION_SLOT: "${{ steps.describe.outputs.version-slot }}" + + outputs: + version-slot: ${{ steps.describe.outputs.version-slot }} + version-core: ${{ steps.describe.outputs.version-core }} + catalog-version: ${{ steps.describe.outputs.catalog-version }} + publish-centos-8-x86_64: needs: [test-centos-8-x86_64] runs-on: ubuntu-latest @@ -2677,6 +2939,14 @@ jobs: - test-ubuntu-jammy-aarch64 - publish-ubuntu-jammy-aarch64 - check-published-ubuntu-jammy-aarch64 + - build-ubuntu-noble-x86_64 + - test-ubuntu-noble-x86_64 + - publish-ubuntu-noble-x86_64 + - check-published-ubuntu-noble-x86_64 + - build-ubuntu-noble-aarch64 + - test-ubuntu-noble-aarch64 + - publish-ubuntu-noble-aarch64 + - check-published-ubuntu-noble-aarch64 - build-centos-8-x86_64 - test-centos-8-x86_64 - publish-centos-8-x86_64 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 05287bb219e..cdb6815ddd0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -265,7 +265,7 @@ jobs: path: artifacts/ubuntu-jammy build-ubuntu-jammy-aarch64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + runs-on: ubuntu-latest needs: prep @@ -286,6 +286,50 @@ jobs: name: builds-ubuntu-jammy-aarch64 path: artifacts/ubuntu-jammy + build-ubuntu-noble-x86_64: + runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] + needs: prep + + + steps: + - name: Build + uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-noble@master + env: + SRC_REF: "${{ needs.prep.outputs.branch }}" + PKG_REVISION: "" + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + EXTRA_OPTIMIZATIONS: "true" + BUILD_IS_RELEASE: "true" + METAPKG_GIT_CACHE: disabled + + - uses: actions/upload-artifact@v4 + with: + name: builds-ubuntu-noble-x86_64 + path: artifacts/ubuntu-noble + + build-ubuntu-noble-aarch64: + runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + needs: prep + + + steps: + - name: Build + uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-noble@master + env: + SRC_REF: "${{ needs.prep.outputs.branch }}" + PKG_REVISION: "" + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + EXTRA_OPTIMIZATIONS: "true" + BUILD_IS_RELEASE: "true" + METAPKG_GIT_CACHE: disabled + + - uses: actions/upload-artifact@v4 + with: + name: builds-ubuntu-noble-aarch64 + path: artifacts/ubuntu-noble + build-centos-8-x86_64: runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] needs: prep @@ -802,7 +846,7 @@ jobs: test-ubuntu-jammy-aarch64: needs: [build-ubuntu-jammy-aarch64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + runs-on: ubuntu-latest steps: - uses: actions/download-artifact@v4 @@ -818,6 +862,46 @@ jobs: PKG_PLATFORM_LIBC: "" # edb test with -j higher than 1 seems to result in workflow # jobs getting killed arbitrarily by Github. + PKG_TEST_JOBS: 1 + + test-ubuntu-noble-x86_64: + needs: [build-ubuntu-noble-x86_64] + runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] + + steps: + - uses: actions/download-artifact@v4 + with: + name: builds-ubuntu-noble-x86_64 + path: artifacts/ubuntu-noble + + - name: Test + uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-noble@master + env: + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + PKG_PLATFORM_LIBC: "" + # edb test with -j higher than 1 seems to result in workflow + # jobs getting killed arbitrarily by Github. + PKG_TEST_JOBS: 0 + + test-ubuntu-noble-aarch64: + needs: [build-ubuntu-noble-aarch64] + runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + + steps: + - uses: actions/download-artifact@v4 + with: + name: builds-ubuntu-noble-aarch64 + path: artifacts/ubuntu-noble + + - name: Test + uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-noble@master + env: + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + PKG_PLATFORM_LIBC: "" + # edb test with -j higher than 1 seems to result in workflow + # jobs getting killed arbitrarily by Github. PKG_TEST_JOBS: 0 test-centos-8-x86_64: @@ -1044,6 +1128,8 @@ jobs: - test-ubuntu-focal-aarch64 - test-ubuntu-jammy-x86_64 - test-ubuntu-jammy-aarch64 + - test-ubuntu-noble-x86_64 + - test-ubuntu-noble-aarch64 - test-centos-8-x86_64 - test-centos-8-aarch64 - test-rockylinux-9-x86_64 @@ -1629,7 +1715,7 @@ jobs: check-published-ubuntu-jammy-aarch64: needs: [publish-ubuntu-jammy-aarch64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + runs-on: ubuntu-latest steps: - uses: actions/download-artifact@v4 @@ -1658,6 +1744,106 @@ jobs: version-core: ${{ steps.describe.outputs.version-core }} catalog-version: ${{ steps.describe.outputs.catalog-version }} + publish-ubuntu-noble-x86_64: + needs: [collect] + runs-on: ubuntu-latest + + steps: + - uses: actions/download-artifact@v4 + with: + name: builds-ubuntu-noble-x86_64 + path: artifacts/ubuntu-noble + + - name: Publish + uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master + env: + PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/ + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + PKG_PLATFORM_LIBC: "" + PACKAGE_UPLOAD_SSH_KEY: "${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}" + + check-published-ubuntu-noble-x86_64: + needs: [publish-ubuntu-noble-x86_64] + runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] + + steps: + - uses: actions/download-artifact@v4 + with: + name: builds-ubuntu-noble-x86_64 + path: artifacts/ubuntu-noble + + - name: Describe + id: describe + uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master + with: + target: ubuntu-noble + + - name: Test Published + uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-noble@master + env: + PKG_NAME: "${{ steps.describe.outputs.name }}" + PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/ + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + PKG_INSTALL_REF: "${{ steps.describe.outputs.install-ref }}" + PKG_VERSION_SLOT: "${{ steps.describe.outputs.version-slot }}" + + outputs: + version-slot: ${{ steps.describe.outputs.version-slot }} + version-core: ${{ steps.describe.outputs.version-core }} + catalog-version: ${{ steps.describe.outputs.catalog-version }} + + publish-ubuntu-noble-aarch64: + needs: [collect] + runs-on: ubuntu-latest + + steps: + - uses: actions/download-artifact@v4 + with: + name: builds-ubuntu-noble-aarch64 + path: artifacts/ubuntu-noble + + - name: Publish + uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master + env: + PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/ + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + PKG_PLATFORM_LIBC: "" + PACKAGE_UPLOAD_SSH_KEY: "${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}" + + check-published-ubuntu-noble-aarch64: + needs: [publish-ubuntu-noble-aarch64] + runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + + steps: + - uses: actions/download-artifact@v4 + with: + name: builds-ubuntu-noble-aarch64 + path: artifacts/ubuntu-noble + + - name: Describe + id: describe + uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master + with: + target: ubuntu-noble + + - name: Test Published + uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-noble@master + env: + PKG_NAME: "${{ steps.describe.outputs.name }}" + PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/ + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + PKG_INSTALL_REF: "${{ steps.describe.outputs.install-ref }}" + PKG_VERSION_SLOT: "${{ steps.describe.outputs.version-slot }}" + + outputs: + version-slot: ${{ steps.describe.outputs.version-slot }} + version-core: ${{ steps.describe.outputs.version-core }} + catalog-version: ${{ steps.describe.outputs.catalog-version }} + publish-centos-8-x86_64: needs: [collect] runs-on: ubuntu-latest @@ -2253,6 +2439,14 @@ jobs: - test-ubuntu-jammy-aarch64 - publish-ubuntu-jammy-aarch64 - check-published-ubuntu-jammy-aarch64 + - build-ubuntu-noble-x86_64 + - test-ubuntu-noble-x86_64 + - publish-ubuntu-noble-x86_64 + - check-published-ubuntu-noble-x86_64 + - build-ubuntu-noble-aarch64 + - test-ubuntu-noble-aarch64 + - publish-ubuntu-noble-aarch64 + - check-published-ubuntu-noble-aarch64 - build-centos-8-x86_64 - test-centos-8-x86_64 - publish-centos-8-x86_64 diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 4355397448b..1b79c462a27 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -276,7 +276,7 @@ jobs: path: artifacts/ubuntu-jammy build-ubuntu-jammy-aarch64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + runs-on: ubuntu-latest needs: prep @@ -298,6 +298,52 @@ jobs: name: builds-ubuntu-jammy-aarch64 path: artifacts/ubuntu-jammy + build-ubuntu-noble-x86_64: + runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] + needs: prep + + + steps: + - name: Build + uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-noble@master + env: + SRC_REF: "${{ needs.prep.outputs.branch }}" + PKG_REVISION: "" + PKG_SUBDIST: "testing" + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + EXTRA_OPTIMIZATIONS: "true" + BUILD_IS_RELEASE: "true" + METAPKG_GIT_CACHE: disabled + + - uses: actions/upload-artifact@v4 + with: + name: builds-ubuntu-noble-x86_64 + path: artifacts/ubuntu-noble + + build-ubuntu-noble-aarch64: + runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + needs: prep + + + steps: + - name: Build + uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-noble@master + env: + SRC_REF: "${{ needs.prep.outputs.branch }}" + PKG_REVISION: "" + PKG_SUBDIST: "testing" + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + EXTRA_OPTIMIZATIONS: "true" + BUILD_IS_RELEASE: "true" + METAPKG_GIT_CACHE: disabled + + - uses: actions/upload-artifact@v4 + with: + name: builds-ubuntu-noble-aarch64 + path: artifacts/ubuntu-noble + build-centos-8-x86_64: runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] needs: prep @@ -835,7 +881,7 @@ jobs: test-ubuntu-jammy-aarch64: needs: [build-ubuntu-jammy-aarch64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + runs-on: ubuntu-latest steps: - uses: actions/download-artifact@v4 @@ -852,6 +898,48 @@ jobs: PKG_PLATFORM_LIBC: "" # edb test with -j higher than 1 seems to result in workflow # jobs getting killed arbitrarily by Github. + PKG_TEST_JOBS: 1 + + test-ubuntu-noble-x86_64: + needs: [build-ubuntu-noble-x86_64] + runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] + + steps: + - uses: actions/download-artifact@v4 + with: + name: builds-ubuntu-noble-x86_64 + path: artifacts/ubuntu-noble + + - name: Test + uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-noble@master + env: + PKG_SUBDIST: "testing" + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + PKG_PLATFORM_LIBC: "" + # edb test with -j higher than 1 seems to result in workflow + # jobs getting killed arbitrarily by Github. + PKG_TEST_JOBS: 0 + + test-ubuntu-noble-aarch64: + needs: [build-ubuntu-noble-aarch64] + runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + + steps: + - uses: actions/download-artifact@v4 + with: + name: builds-ubuntu-noble-aarch64 + path: artifacts/ubuntu-noble + + - name: Test + uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-noble@master + env: + PKG_SUBDIST: "testing" + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + PKG_PLATFORM_LIBC: "" + # edb test with -j higher than 1 seems to result in workflow + # jobs getting killed arbitrarily by Github. PKG_TEST_JOBS: 0 test-centos-8-x86_64: @@ -1088,6 +1176,8 @@ jobs: - test-ubuntu-focal-aarch64 - test-ubuntu-jammy-x86_64 - test-ubuntu-jammy-aarch64 + - test-ubuntu-noble-x86_64 + - test-ubuntu-noble-aarch64 - test-centos-8-x86_64 - test-centos-8-aarch64 - test-rockylinux-9-x86_64 @@ -1696,7 +1786,7 @@ jobs: check-published-ubuntu-jammy-aarch64: needs: [publish-ubuntu-jammy-aarch64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + runs-on: ubuntu-latest steps: - uses: actions/download-artifact@v4 @@ -1726,6 +1816,110 @@ jobs: version-core: ${{ steps.describe.outputs.version-core }} catalog-version: ${{ steps.describe.outputs.catalog-version }} + publish-ubuntu-noble-x86_64: + needs: [collect] + runs-on: ubuntu-latest + + steps: + - uses: actions/download-artifact@v4 + with: + name: builds-ubuntu-noble-x86_64 + path: artifacts/ubuntu-noble + + - name: Publish + uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master + env: + PKG_SUBDIST: "testing" + PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/ + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + PKG_PLATFORM_LIBC: "" + PACKAGE_UPLOAD_SSH_KEY: "${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}" + + check-published-ubuntu-noble-x86_64: + needs: [publish-ubuntu-noble-x86_64] + runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] + + steps: + - uses: actions/download-artifact@v4 + with: + name: builds-ubuntu-noble-x86_64 + path: artifacts/ubuntu-noble + + - name: Describe + id: describe + uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master + with: + target: ubuntu-noble + + - name: Test Published + uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-noble@master + env: + PKG_NAME: "${{ steps.describe.outputs.name }}" + PKG_SUBDIST: "testing" + PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/ + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + PKG_INSTALL_REF: "${{ steps.describe.outputs.install-ref }}" + PKG_VERSION_SLOT: "${{ steps.describe.outputs.version-slot }}" + + outputs: + version-slot: ${{ steps.describe.outputs.version-slot }} + version-core: ${{ steps.describe.outputs.version-core }} + catalog-version: ${{ steps.describe.outputs.catalog-version }} + + publish-ubuntu-noble-aarch64: + needs: [collect] + runs-on: ubuntu-latest + + steps: + - uses: actions/download-artifact@v4 + with: + name: builds-ubuntu-noble-aarch64 + path: artifacts/ubuntu-noble + + - name: Publish + uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master + env: + PKG_SUBDIST: "testing" + PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/ + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + PKG_PLATFORM_LIBC: "" + PACKAGE_UPLOAD_SSH_KEY: "${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}" + + check-published-ubuntu-noble-aarch64: + needs: [publish-ubuntu-noble-aarch64] + runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + + steps: + - uses: actions/download-artifact@v4 + with: + name: builds-ubuntu-noble-aarch64 + path: artifacts/ubuntu-noble + + - name: Describe + id: describe + uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master + with: + target: ubuntu-noble + + - name: Test Published + uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-noble@master + env: + PKG_NAME: "${{ steps.describe.outputs.name }}" + PKG_SUBDIST: "testing" + PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/ + PKG_PLATFORM: "ubuntu" + PKG_PLATFORM_VERSION: "noble" + PKG_INSTALL_REF: "${{ steps.describe.outputs.install-ref }}" + PKG_VERSION_SLOT: "${{ steps.describe.outputs.version-slot }}" + + outputs: + version-slot: ${{ steps.describe.outputs.version-slot }} + version-core: ${{ steps.describe.outputs.version-core }} + catalog-version: ${{ steps.describe.outputs.catalog-version }} + publish-centos-8-x86_64: needs: [collect] runs-on: ubuntu-latest @@ -2339,6 +2533,14 @@ jobs: - test-ubuntu-jammy-aarch64 - publish-ubuntu-jammy-aarch64 - check-published-ubuntu-jammy-aarch64 + - build-ubuntu-noble-x86_64 + - test-ubuntu-noble-x86_64 + - publish-ubuntu-noble-x86_64 + - check-published-ubuntu-noble-x86_64 + - build-ubuntu-noble-aarch64 + - test-ubuntu-noble-aarch64 + - publish-ubuntu-noble-aarch64 + - check-published-ubuntu-noble-aarch64 - build-centos-8-x86_64 - test-centos-8-x86_64 - publish-centos-8-x86_64