From 5ad006cb58ec4c137c18f61af1026d85cb448331 Mon Sep 17 00:00:00 2001 From: Pietro Abate Date: Tue, 6 May 2025 13:06:19 +0200 Subject: [PATCH 1/4] packages: remove upgrade routines for legacy packages --- .../packaging/octez/debian/octez-baker.config | 41 +----------------- .../octez/debian/octez-baker.postinst | 43 ------------------- .../octez/debian/octez-baker.preinst | 40 +---------------- .../packaging/octez/debian/octez-node.config | 8 ---- .../octez/debian/octez-node.postinst | 29 ------------- .../octez/debian/octez-node.templates | 13 ------ 6 files changed, 2 insertions(+), 172 deletions(-) diff --git a/scripts/packaging/octez/debian/octez-baker.config b/scripts/packaging/octez/debian/octez-baker.config index 1cd1a6390f30..2513d48f65e4 100755 --- a/scripts/packaging/octez/debian/octez-baker.config +++ b/scripts/packaging/octez/debian/octez-baker.config @@ -15,7 +15,7 @@ case "$new" in # fresh install : nop ;; -1:*) +*) echoerr "Upgrade from $new" if [ -e /etc/default/octez-baker ]; then #shellcheck disable=SC1091 @@ -24,45 +24,6 @@ case "$new" in db_set octez-baker/baker-key "$BAKER_KEY" fi ;; -*) - if [ -e /etc/octez/baker.conf ]; then - echoerr "Legacy upgrade from $new" - echoerr "Updating baker configuration from old /etc/octez/baker.conf" - # the values set here in debconf are going to be used in the - # postinst script to write the /etc/default/ files for this - # package - #shellcheck disable=SC1091 - . /etc/octez/baker.conf - - if [ -n "${lq_vote:-}" ]; then - echoerr "set lq_vote=$lq_vote" - #shellcheck disable=SC2154 - db_set octez-baker/liquidity-vote "$lq_vote" - fi - - if [ -n "${baking_key:-}" ]; then - echoerr "set baking_key=$baking_key" - #shellcheck disable=SC2154 - db_set octez-baker/baker-key "$baking_key" - fi - - if [ -n "${dalurl:-}" ]; then - echoerr "set dalurl=$dalurl" - if [ "$dalurl" = "" ]; then - #shellcheck disable=SC2154 - db_set octez-baker/dal-node false - else - db_set octez-baker/dal-node true - db_set octez-baker/dal-node-url "$dalurl" - fi - else - db_set octez-baker/dal-node true - fi - - #shellcheck disable=SC2119 - db_go - fi - ;; esac db_input high octez-baker/liquidity-vote || true diff --git a/scripts/packaging/octez/debian/octez-baker.postinst b/scripts/packaging/octez/debian/octez-baker.postinst index 76841024b0c7..72e87fdfe395 100755 --- a/scripts/packaging/octez/debian/octez-baker.postinst +++ b/scripts/packaging/octez/debian/octez-baker.postinst @@ -57,49 +57,6 @@ configure) chown tezos:tezos /var/tezos/.tezos-client else echoerr "Upgrading octez-baker from version $2 ( postinst )" - # the configure script is called with the version of the old - # package in case of upgrade. We display a message to the user - # in this case. See octez-node.postinst for a detailed explanation. - case "$2" in - 1:*) - : noop - ;; - *) - echoerr "Setting defaults in /etc/default/octez-baker-*" - echoerr "Migrating values when possible" - - db_get octez-baker/liquidity-vote - echo "LQVOTE=${RET}" >> /etc/default/octez-baker - echoerr "LQVOTE=${RET}" - - db_get octez-baker/baker-key - echo "BAKER_KEY=${RET}" >> /etc/default/octez-baker - echoerr "BAKER_KEY=${RET}" - - db_get octez-baker/agnostic-baker - echo "AGNOSTIC_BAKER=${RET}" >> /etc/default/octez-baker - echoerr "AGNOSTIC_BAKER=${RET}" - - db_get octez-baker/dal-node - DAL=${RET} - case "$DAL" in - true) - db_get octez-baker/dal-node-url - DALURL=${RET} - echo "RUNTIME_OPTS=\" --keep-alive --dal-node $DALURL\"" >> /etc/default/octez-baker - echoerr "RUNTIME_OPTS=--keep-alive --dal-node $DALURL" - ;; - false) - echo "RUNTIME_OPTS=--keep-alive --without-dal" >> /etc/default/octez-baker - echoerr "RUNTIME_OPTS=--keep-alive --without-dal" - ;; - esac - - db_input high octez-baker/upgrade_note_current || true - #shellcheck disable=SC2119 - db_go || true - ;; - esac fi ;; *) diff --git a/scripts/packaging/octez/debian/octez-baker.preinst b/scripts/packaging/octez/debian/octez-baker.preinst index adb81b1e927a..3434e33c3a87 100755 --- a/scripts/packaging/octez/debian/octez-baker.preinst +++ b/scripts/packaging/octez/debian/octez-baker.preinst @@ -20,7 +20,7 @@ install | upgrade) # in this case echo "Upgrading Octez baker from version $2 ( preinst )" case "$2" in - 1:*) + *) if [ -e /etc/default/octez-baker ]; then #shellcheck disable=SC1091 . /etc/default/octez-baker @@ -28,44 +28,6 @@ install | upgrade) db_set octez-baker/baker-key "$BAKER_KEY" fi ;; - *) - if [ -e /etc/octez/baker.conf ]; then - echo "Updating baker configuration from old /etc/octez/baker.conf" - # the values set here in debconf are going to be used in the - # postinst script to write the /etc/default/ files for this - # package - #shellcheck disable=SC1091 - . /etc/octez/baker.conf - - if [ -n "${lq_vote:-}" ]; then - echo "set lq_vote=$lq_vote" - #shellcheck disable=SC2154 - db_set octez-baker/liquidity-vote "$lq_vote" - fi - - if [ -n "${baking_key:-}" ]; then - echo "set baking_key=$baking_key" - #shellcheck disable=SC2154 - db_set octez-baker/baker-key "$baking_key" - fi - - if [ -n "${dalurl:-}" ]; then - echo "set dalurl=$dalurl" - if [ "$dalurl" = "" ]; then - #shellcheck disable=SC2154 - db_set octez-baker/dal-node false - else - db_set octez-baker/dal-node true - db_set octez-baker/dal-node-url "$dalurl" - fi - else - db_set octez-baker/dal-node true - fi - - #shellcheck disable=SC2119 - db_go - fi - ;; esac fi ;; diff --git a/scripts/packaging/octez/debian/octez-node.config b/scripts/packaging/octez/debian/octez-node.config index 77a528f79e51..6fa317609978 100755 --- a/scripts/packaging/octez/debian/octez-node.config +++ b/scripts/packaging/octez/debian/octez-node.config @@ -8,14 +8,6 @@ db_version 2.0 CONF=/var/tezos/.tezos-node/config.json -# in case of upgrade from current -if [ -e /etc/octez/node.conf ]; then - #shellcheck disable=SC1091 - . /etc/octez/node.conf - #shellcheck disable=SC2154 - CONF="$nodedir/config.json" -fi - if [ -e /etc/default/octez-node ]; then . /etc/default/octez-node CONF="$DATADIR/config.json" diff --git a/scripts/packaging/octez/debian/octez-node.postinst b/scripts/packaging/octez/debian/octez-node.postinst index 201f4749b3c5..dc9bc2001482 100755 --- a/scripts/packaging/octez/debian/octez-node.postinst +++ b/scripts/packaging/octez/debian/octez-node.postinst @@ -68,35 +68,6 @@ configure) esac else echo "Upgrading octez-node from version $2 ( postinst )" - # The configure script is called with the version of the old - # package in case of upgrade. - # - # In a testing environment next packages version have an - # epoch `1:` to distinguish them from the current packages - # - # We check if the version string of the old package does NOT contain - # an epoch (no colon) - case "$2" in - 1:*) - # If the version of the package contains the epoch `1:*` then - # we are upgrading a next package to a next package in a testing - # environment. We do nothing. - : nop - ;; - *) - # In that case, we are upgrading from a current package to a - # next package. It can be a released package as well as a dev package. - # This logic is going to be removed after making the next packages - # official. - echo "octez-node: upgrade warning from current" - db_set octez-node/configure "yes" - if [ -e "$TEZOS_HOME/.tezos-node/config.json" ]; then - db_input high octez-node/upgrade_note_current || true - #shellcheck disable=SC2119 - db_go || true - fi - ;; - esac fi ;; diff --git a/scripts/packaging/octez/debian/octez-node.templates b/scripts/packaging/octez/debian/octez-node.templates index 93776b382882..3ede907f48f7 100644 --- a/scripts/packaging/octez/debian/octez-node.templates +++ b/scripts/packaging/octez/debian/octez-node.templates @@ -62,19 +62,6 @@ Description: Skip node initialization . And setting the desidered storage mode and network. -Template: octez-node/upgrade_note_current -Type: note -Description: Important upgrade information - This package has been upgraded to a new version. Please note that - some changes have been made that may affect your usage of the - package. - . - In particular this new version now uses systemd to manage the Octez Node - life-cycle instead of a plain system V init script. Also the default values - in /etc/default/octez-node have been revised and updated. - . - Please review the release notes for more information. - Template: octez-node/snapshot-import Type: boolean Default: true -- GitLab From 51a46602361f3c33ddb442f5314b8e0ae187a790 Mon Sep 17 00:00:00 2001 From: Pietro Abate Date: Tue, 6 May 2025 13:06:48 +0200 Subject: [PATCH 2/4] packages: remove script to build legacy packages --- scripts/ci/build-debian-packages_old.sh | 32 ------------------------- 1 file changed, 32 deletions(-) delete mode 100755 scripts/ci/build-debian-packages_old.sh diff --git a/scripts/ci/build-debian-packages_old.sh b/scripts/ci/build-debian-packages_old.sh deleted file mode 100755 index d19ec9aacc68..000000000000 --- a/scripts/ci/build-debian-packages_old.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh -set -e - -BUILDDIR=$(pwd) -export BLST_PORTABLE=true - -# fetch tags for releases -git fetch --tags -q - -# Prepare the building area: copying all files from -# the dependency image a staging area. This is necessary -# to build on arm64 where the BUILDDIR is in ram. -cp -a ./* /root/tezos/ -cp -a ./.git /root/tezos/ -cd /root/tezos/ - -# shellcheck disable=SC1091 -. "$HOME/.cargo/env" -eval "$(opam env)" -eval "$(dpkg-architecture)" - -# Build octez debian packages -make all -# shellcheck disable=SC2155 -export TIMESTAMP="$(date -d "$CI_PIPELINE_CREATED_AT" '+%Y%m%d%H%M')" && - ./scripts/dpkg/make_dpkg.sh "scripts/dpkg/$1" - -echo "Version of Octez: $(dune exec src/lib_version/exe/octez_print_version.exe)" - -# Move the debian package to be packed as artifacts -mkdir -p "$BUILDDIR/packages/$DISTRIBUTION/$RELEASE" -cp -a -- *.deb "$BUILDDIR/packages/$DISTRIBUTION/$RELEASE" -- GitLab From 8f149cebc6e2ae0062fdbc6dfc0ead88fbb31467 Mon Sep 17 00:00:00 2001 From: Pietro Abate Date: Tue, 6 May 2025 13:08:04 +0200 Subject: [PATCH 3/4] packages: refactor upgrade/install tests to upgrade from the last release --- docs/introduction/install-bin-deb.sh | 77 ++++++++----------- docs/introduction/upgrade-bin-deb.sh | 47 +++++------ .../tests/deb/upgrade-systemd-test.sh | 48 +++++++----- 3 files changed, 86 insertions(+), 86 deletions(-) diff --git a/docs/introduction/install-bin-deb.sh b/docs/introduction/install-bin-deb.sh index a10529362cf9..1a4b93087c4c 100755 --- a/docs/introduction/install-bin-deb.sh +++ b/docs/introduction/install-bin-deb.sh @@ -11,7 +11,7 @@ protocol=$(head -1 script-inputs/active_protocol_versions_without_number) # This logic must be kept in sync with the script in # ./scripts/ci/create_debian_repo.sh -# The prefix used for these packages in the repository. E.g. 'next' +# The prefix used for these packages in the repository. E.g. 'old' if [ -n "$PREFIX" ]; then PREFIX=${PREFIX}/ else @@ -77,11 +77,10 @@ else fi # [ preeseed octez ] -if [ -z "$PREFIX" ]; then - # preseed octez-node for debconf. Notice we set purge_warning to yes, - # to make the `autopurge` pass and remove all the node data at the end of this - # script. - cat << EOF > preseed.cfg +# preseed octez-node for debconf. Notice we set purge_warning to yes, +# to make the `autopurge` pass and remove all the node data at the end of this +# script. +cat << EOF > preseed.cfg octez-node octez-node/configure boolean true octez-node octez-node/history-mode string full octez-node octez-node/network string mainnet @@ -90,12 +89,11 @@ octez-node octez-node/snapshot-import boolean false octez-node octez-node/snapshot-no-check boolean true debconf debconf/frontend select Noninteractive EOF - # preseed the package - sudo debconf-set-selections preseed.cfg +# preseed the package +sudo debconf-set-selections preseed.cfg - # check the package configuration - sudo debconf-get-selections | grep octez -fi +# check the package configuration +sudo debconf-get-selections | grep octez # [install tezos] apt-get install -y octez-client @@ -105,13 +103,7 @@ apt-get install -y octez-baker apt-get install -y octez-dal-node # [install octez additional packages] -if [ -z "$PREFIX" ]; then - # [install octez NEXT packages] - apt-get install -y octez-smart-rollup-node -else - # [install octez current packages] - apt-get install -y octez-smartrollup -fi +apt-get install -y octez-smart-rollup-node # [test executables] octez-client --version @@ -123,30 +115,27 @@ octez-node --version apt-get autopurge -y octez-node octez-client octez-baker octez-dal-node # [check autopurge] -set +x - -if [ -z "$PREFIX" ]; then - # check the package configuration - sudo debconf-get-selections | if grep -q octez; then - echo "Leftovers in debconf db" - sudo debconf-get-selections | grep -q octez - exit 1 - fi - - printf "Check if the user tezos was removed:" - if id tezos > /dev/null 2>&1; then - echo "Tezos user not correctly removed" - id tezos - exit 1 - else - echo "Ok." - fi - - printf "Check if the datadir was correctly removed:" - if [ -e /var/tezos ]; then - echo "Datadir /var/tezos not correctly removed" - ls -la /var/tezos - else - echo "Ok." - fi + +# check the package configuration +sudo debconf-get-selections | if grep -q octez; then + echo "Leftovers in debconf db" + sudo debconf-get-selections | grep -q octez + exit 1 +fi + +printf "Check if the user tezos was removed:" +if id tezos > /dev/null 2>&1; then + echo "Tezos user not correctly removed" + id tezos + exit 1 +else + echo "Ok." +fi + +printf "Check if the datadir was correctly removed:" +if [ -e /var/tezos ]; then + echo "Datadir /var/tezos not correctly removed" + ls -la /var/tezos +else + echo "Ok." fi diff --git a/docs/introduction/upgrade-bin-deb.sh b/docs/introduction/upgrade-bin-deb.sh index a63a11974297..9ac54a66ea7f 100755 --- a/docs/introduction/upgrade-bin-deb.sh +++ b/docs/introduction/upgrade-bin-deb.sh @@ -1,6 +1,7 @@ #!/bin/sh distribution=$1 +distroname=$1 release=$2 # check if it's a real or a fake release or we are testing @@ -67,46 +68,48 @@ apt-get install -y sudo gpg curl apt-utils debconf-utils jq echo "debconf debconf/frontend select Noninteractive" | sudo debconf-set-selections # [add current repository] -sudo curl "https://$bucket.storage.googleapis.com/old/$distribution/octez.asc" | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/octez.gpg +curl "https://packages.nomadic-labs.com/$distroname/octez.asc" | sudo gpg --dearmor -o /etc/apt/keyrings/octez.gpg -REPO="deb https://$bucket.storage.googleapis.com/old/$distribution $release main" +REPO="deb [signed-by=/etc/apt/keyrings/octez.gpg] https://packages.nomadic-labs.com/$distroname $release main" echo "$REPO" | sudo tee /etc/apt/sources.list.d/octez-current.list sudo apt-get update +# [ preeseed octez ] +# preseed octez-node for debconf. Notice we set purge_warning to yes, +# to make the `autopurge` pass and remove all the node data at the end of this +# script. +cat << EOF > preseed.cfg +octez-node octez-node/configure boolean true +octez-node octez-node/history-mode string full +octez-node octez-node/network string mainnet +octez-node octez-node/purge_warning boolean true +octez-node octez-node/snapshot-import boolean false +octez-node octez-node/snapshot-no-check boolean true +debconf debconf/frontend select Noninteractive +EOF +# preseed the package +sudo debconf-set-selections preseed.cfg + +# check the package configuration +sudo debconf-get-selections | grep octez + # [install tezos] -sudo apt-get install -y octez-client -sudo apt-get install -y octez-node sudo apt-get install -y octez-baker -dpkg -l octez-\* - -# [setup Octez node] -sudo su tezos -c "octez-node config init --network=mainnet --history-mode=rolling --net-addr=\"[::]:9732\" --rpc-addr=\"127.0.0.1:8732\"" -sudo systemctl enable octez-node -sudo systemctl enable octez-baker - -# [setup baker] -PROTOCOL=$(octez-client --protocol PtParisBxoLz list understood protocols | tee | head -1) -sudo su tezos -c "octez-client -p $PROTOCOL gen keys baker" -BAKER_KEY=$(sudo su tezos -c "octez-client -p $PROTOCOL show address baker" | head -1 | awk '{print $2}') -echo "baking_key=$BAKER_KEY" >> /etc/octez/baker.conf -echo "lq_vote=yes" >> /etc/octez/baker.conf # [add next repository] -REPO="deb https://$bucket.storage.googleapis.com/$distribution $release main" +REPO="deb [signed-by=/etc/apt/keyrings/octez-dev.gpg] https://$bucket.storage.googleapis.com/$distribution $release main" +curl "https://$bucket.storage.googleapis.com/$distroname/octez.asc" | sudo gpg --dearmor -o /etc/apt/keyrings/octez-dev.gpg echo "$REPO" | sudo tee /etc/apt/sources.list.d/octez-next.list sudo apt-get update # [upgrade octez] -# --force-overwrite is necessary because legacy package shipped the zcash -# parameters as part of the octez-node package. -sudo apt-get upgrade -y -o DPkg::options::="--force-overwrite" octez-node +sudo apt-get upgrade -y octez-node sudo apt-get upgrade -y octez-client octez-baker # [ check configuration after the upgrade ] # we check the debconf parameters sudo debconf-get-selections | grep octez # we check if the configuration of octez did not change -sudo su tezos -c "octez-client -p $PROTOCOL show address baker" sudo su tezos -c "octez-node config show" # [check executables version] diff --git a/scripts/packaging/tests/deb/upgrade-systemd-test.sh b/scripts/packaging/tests/deb/upgrade-systemd-test.sh index 66313b13badb..f4b0261307ae 100755 --- a/scripts/packaging/tests/deb/upgrade-systemd-test.sh +++ b/scripts/packaging/tests/deb/upgrade-systemd-test.sh @@ -4,7 +4,7 @@ set -eu set -x REPO="https://storage.googleapis.com/$GCP_LINUX_PACKAGES_BUCKET/$CI_COMMIT_REF_NAME" -REPOOLD="https://storage.googleapis.com/$GCP_LINUX_PACKAGES_BUCKET/old/$CI_COMMIT_REF_NAME" +REPOOLD="https://packages.nomadic-labs.com" DISTRO=$1 RELEASE=$2 @@ -21,25 +21,35 @@ apt-get install -y sudo gpg curl apt-utils debconf-utils procps jq echo "debconf debconf/frontend select Noninteractive" | sudo debconf-set-selections # [add current repository] -sudo curl "$REPOOLD/$DISTRO/octez.asc" | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/octez.gpg +sudo curl "$REPOOLD/$DISTRO/octez.asc" | sudo gpg --dearmor -o /etc/apt/keyrings/octez.gpg -reposityory="deb $REPOOLD/$DISTRO $RELEASE main" +reposityory="deb [signed-by=/etc/apt/keyrings/octez.gpg] $REPOOLD/$DISTRO $RELEASE main" echo "$reposityory" | sudo tee /etc/apt/sources.list.d/octez-current.list apt-get update +# [ preeseed octez ] +# preseed octez-node for debconf. Notice we set purge_warning to yes, +# to make the `autopurge` pass and remove all the node data at the end of this +# script. +cat << EOF > preseed.cfg +octez-node octez-node/configure boolean true +octez-node octez-node/history-mode string rolling +octez-node octez-node/network string ghostnet +octez-node octez-node/purge_warning boolean true +octez-node octez-node/snapshot-import boolean true +octez-node octez-node/snapshot-no-check boolean true +octez-baker octez-baker/liquidity-vote select on +debconf debconf/frontend select Noninteractive +EOF +# preseed the package +sudo debconf-set-selections preseed.cfg +# check the package configuration +sudo debconf-get-selections | grep octez + # [install octez] -apt-get install -y octez-client -apt-get install -y octez-node apt-get install -y octez-baker -dpkg -l octez-\* - -# [setup Octez node] -sudo su tezos -c "octez-node config init --data-dir=/var/tezos/.tezos-node --network=ghostnet --history-mode=rolling --net-addr=\"[::]:9732\" --rpc-addr=\"127.0.0.1:8732\"" - -curl https://snapshots.tzinit.org/ghostnet/rolling -o /tmp/rolling -sudo su tezos -c "octez-node snapshot import --data-dir=/var/tezos/.tezos-node --no-check /tmp/rolling" -sudo /etc/init.d/octez-node start +systemctl start octez-node #shellcheck disable=SC2009 ps aux | grep octez @@ -48,12 +58,11 @@ ps aux | grep octez PROTOCOL=$(octez-client --protocol PtParisBxoLz list understood protocols | tee | head -1) sudo su tezos -c "octez-client -p $PROTOCOL gen keys baker" BAKER_KEY=$(sudo su tezos -c "octez-client -p $PROTOCOL show address baker" | head -1 | awk '{print $2}') -echo "baking_key=$BAKER_KEY" >> /etc/octez/baker.conf -echo "lq_vote=on" >> /etc/octez/baker.conf +echo "BAKER_KEY=$BAKER_KEY" >> /etc/default/octez-baker # ideally we should also start the baker, but it will timeout # waiting for the node to sync -#sudo /etc/init.d/octez-baker start +systemctl start octez-baker #shellcheck disable=SC2009 ps aux | grep baker @@ -61,14 +70,13 @@ ps aux | grep baker sudo su tezos -c "octez-node config show" # [add next repository] -repository="deb $REPO/$DISTRO $RELEASE main" +sudo curl "$REPO/$DISTRO/octez.asc" | sudo gpg --dearmor -o /etc/apt/keyrings/octez-dev.gpg +repository="deb [signed-by=/etc/apt/keyrings/octez-dev.gpg] $REPO/$DISTRO $RELEASE main" echo "$repository" | sudo tee /etc/apt/sources.list.d/octez-next.list apt-get update # [upgrade octez] -# --force-overwrite is necessary because legacy package shipped the zcash -# parameters as part of the octez-node package. -apt-get upgrade -y -o DPkg::options::="--force-overwrite" octez-baker +apt-get upgrade -y octez-baker cat /etc/default/octez-node cat /etc/default/octez-baker -- GitLab From 4393d87af3dce2883a0d3295c24951645f0a09e1 Mon Sep 17 00:00:00 2001 From: Pietro Abate Date: Tue, 6 May 2025 13:08:51 +0200 Subject: [PATCH 4/4] packages: remove legacy packages from ci jobs --- .../ci/pipelines/debian_repository_full.yml | 256 ------------------ .../pipelines/debian_repository_partial.yml | 124 --------- .../debian_repository_partial_auto.yml | 124 --------- .gitlab/ci/pipelines/non_release_tag.yml | 252 ----------------- .gitlab/ci/pipelines/non_release_tag_test.yml | 252 ----------------- .../ci/pipelines/octez_beta_release_tag.yml | 252 ----------------- .gitlab/ci/pipelines/octez_release_tag.yml | 252 ----------------- .../ci/pipelines/octez_release_tag_test.yml | 252 ----------------- .../schedule_master_test_release.yml | 252 ----------------- ci/bin/debian_repository.ml | 122 +-------- ci/bin/release_tag.ml | 2 +- 11 files changed, 11 insertions(+), 2129 deletions(-) diff --git a/.gitlab/ci/pipelines/debian_repository_full.yml b/.gitlab/ci/pipelines/debian_repository_full.yml index 48099b6fe0d9..ec019d7fb053 100644 --- a/.gitlab/ci/pipelines/debian_repository_full.yml +++ b/.gitlab/ci/pipelines/debian_repository_full.yml @@ -177,100 +177,6 @@ oc.build-debian: - gcp_very_high_cpu - gcp_arm64 -oc.build-debian-old_a: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-debian-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh A - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: debian - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - unstable - - bookworm - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - -oc.build-debian-old_b: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-debian-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh B - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: debian - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - unstable - - bookworm - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - oc.build-data_packages: image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} stage: build @@ -296,38 +202,6 @@ oc.build-data_packages: paths: - packages/$DISTRIBUTION/$RELEASE -apt_repo_debian_old: - image: debian:bookworm - stage: publishing - tags: - - gcp - needs: - - oc.build-debian-old_a - - oc.build-debian-old_b - dependencies: - - oc.build-debian-old_a - - oc.build-debian-old_b - timeout: 60 minutes - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/version.sh - - ./scripts/ci/install-gsutil.sh - - apt install -y apt-utils debsigs jq - script: - - ./scripts/ci/create_debian_repo.sh debian bookworm - variables: - ARCHITECTURES: amd64 arm64 - GNUPGHOME: $CI_PROJECT_DIR/.gnupg - PREFIX: old - id_tokens: - GCP_ID_TOKEN: - aud: https://iam.googleapis.com/projects/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROJECT_ID}/locations/global/workloadIdentityPools/${GCP_WORKLOAD_IDENTITY_FEDERATION_POOL_ID}/providers/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER_ID} - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - apt_repo_debian: image: debian:bookworm stage: publishing @@ -441,132 +315,6 @@ oc.build-ubuntu: - gcp_very_high_cpu - gcp_arm64 -oc.build-ubuntu-old_a: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-ubuntu-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh A - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: ubuntu - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - noble - - jammy - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - -oc.build-ubuntu-old_b: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-ubuntu-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh B - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: ubuntu - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - noble - - jammy - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - -apt_repo_ubuntu_old: - image: public.ecr.aws/lts/ubuntu:24.04_stable - stage: publishing - tags: - - gcp - needs: - - oc.build-ubuntu-old_a - - oc.build-ubuntu-old_b - dependencies: - - oc.build-ubuntu-old_a - - oc.build-ubuntu-old_b - timeout: 60 minutes - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/version.sh - - ./scripts/ci/install-gsutil.sh - - apt install -y apt-utils debsigs jq - script: - - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy - variables: - ARCHITECTURES: amd64 arm64 - GNUPGHOME: $CI_PROJECT_DIR/.gnupg - PREFIX: old - id_tokens: - GCP_ID_TOKEN: - aud: https://iam.googleapis.com/projects/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROJECT_ID}/locations/global/workloadIdentityPools/${GCP_WORKLOAD_IDENTITY_FEDERATION_POOL_ID}/providers/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER_ID} - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - apt_repo_ubuntu: image: public.ecr.aws/lts/ubuntu:24.04_stable stage: publishing @@ -646,7 +394,6 @@ oc.upgrade_bin_debian_bookworm: tags: - gcp needs: - - apt_repo_debian_old - apt_repo_debian dependencies: [] timeout: 60 minutes @@ -764,7 +511,6 @@ oc.upgrade_bin_debian_bookworm-systemd: needs: - oc.docker-systemd_tests_debian - apt_repo_debian - - apt_repo_debian_old dependencies: [] allow_failure: true timeout: 60 minutes @@ -858,7 +604,6 @@ oc.upgrade_bin_ubuntu_jammy: tags: - gcp needs: - - apt_repo_ubuntu_old - apt_repo_ubuntu dependencies: [] timeout: 60 minutes @@ -908,7 +653,6 @@ oc.upgrade_bin_ubuntu_noble_systemd_test: needs: - oc.docker-systemd_tests_ubuntu - apt_repo_ubuntu - - apt_repo_ubuntu_old dependencies: [] allow_failure: true timeout: 60 minutes diff --git a/.gitlab/ci/pipelines/debian_repository_partial.yml b/.gitlab/ci/pipelines/debian_repository_partial.yml index 8bb35e6b1f10..5ae45603b1ed 100644 --- a/.gitlab/ci/pipelines/debian_repository_partial.yml +++ b/.gitlab/ci/pipelines/debian_repository_partial.yml @@ -137,96 +137,6 @@ oc.build-debian: TAGS: - gcp_very_high_cpu -oc.build-debian-old_a: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-debian-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh A - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: debian - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - bookworm - TAGS: - - gcp_very_high_cpu - -oc.build-debian-old_b: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-debian-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh B - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: debian - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - bookworm - TAGS: - - gcp_very_high_cpu - oc.build-data_packages: image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} stage: build @@ -252,38 +162,6 @@ oc.build-data_packages: paths: - packages/$DISTRIBUTION/$RELEASE -apt_repo_debian_old: - image: debian:bookworm - stage: publishing - tags: - - gcp - needs: - - oc.build-debian-old_a - - oc.build-debian-old_b - dependencies: - - oc.build-debian-old_a - - oc.build-debian-old_b - timeout: 60 minutes - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/version.sh - - ./scripts/ci/install-gsutil.sh - - apt install -y apt-utils debsigs jq - script: - - ./scripts/ci/create_debian_repo.sh debian bookworm - variables: - ARCHITECTURES: amd64 - GNUPGHOME: $CI_PROJECT_DIR/.gnupg - PREFIX: old - id_tokens: - GCP_ID_TOKEN: - aud: https://iam.googleapis.com/projects/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROJECT_ID}/locations/global/workloadIdentityPools/${GCP_WORKLOAD_IDENTITY_FEDERATION_POOL_ID}/providers/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER_ID} - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - apt_repo_debian: image: debian:bookworm stage: publishing @@ -363,7 +241,6 @@ oc.upgrade_bin_debian_bookworm: tags: - gcp needs: - - apt_repo_debian_old - apt_repo_debian dependencies: [] timeout: 60 minutes @@ -481,7 +358,6 @@ oc.upgrade_bin_debian_bookworm-systemd: needs: - oc.docker-systemd_tests_debian - apt_repo_debian - - apt_repo_debian_old dependencies: [] allow_failure: true timeout: 60 minutes diff --git a/.gitlab/ci/pipelines/debian_repository_partial_auto.yml b/.gitlab/ci/pipelines/debian_repository_partial_auto.yml index 8bb35e6b1f10..5ae45603b1ed 100644 --- a/.gitlab/ci/pipelines/debian_repository_partial_auto.yml +++ b/.gitlab/ci/pipelines/debian_repository_partial_auto.yml @@ -137,96 +137,6 @@ oc.build-debian: TAGS: - gcp_very_high_cpu -oc.build-debian-old_a: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-debian-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh A - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: debian - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - bookworm - TAGS: - - gcp_very_high_cpu - -oc.build-debian-old_b: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-debian-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh B - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: debian - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - bookworm - TAGS: - - gcp_very_high_cpu - oc.build-data_packages: image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} stage: build @@ -252,38 +162,6 @@ oc.build-data_packages: paths: - packages/$DISTRIBUTION/$RELEASE -apt_repo_debian_old: - image: debian:bookworm - stage: publishing - tags: - - gcp - needs: - - oc.build-debian-old_a - - oc.build-debian-old_b - dependencies: - - oc.build-debian-old_a - - oc.build-debian-old_b - timeout: 60 minutes - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/version.sh - - ./scripts/ci/install-gsutil.sh - - apt install -y apt-utils debsigs jq - script: - - ./scripts/ci/create_debian_repo.sh debian bookworm - variables: - ARCHITECTURES: amd64 - GNUPGHOME: $CI_PROJECT_DIR/.gnupg - PREFIX: old - id_tokens: - GCP_ID_TOKEN: - aud: https://iam.googleapis.com/projects/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROJECT_ID}/locations/global/workloadIdentityPools/${GCP_WORKLOAD_IDENTITY_FEDERATION_POOL_ID}/providers/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER_ID} - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - apt_repo_debian: image: debian:bookworm stage: publishing @@ -363,7 +241,6 @@ oc.upgrade_bin_debian_bookworm: tags: - gcp needs: - - apt_repo_debian_old - apt_repo_debian dependencies: [] timeout: 60 minutes @@ -481,7 +358,6 @@ oc.upgrade_bin_debian_bookworm-systemd: needs: - oc.docker-systemd_tests_debian - apt_repo_debian - - apt_repo_debian_old dependencies: [] allow_failure: true timeout: 60 minutes diff --git a/.gitlab/ci/pipelines/non_release_tag.yml b/.gitlab/ci/pipelines/non_release_tag.yml index 4892609761cd..47c75cdf1a24 100644 --- a/.gitlab/ci/pipelines/non_release_tag.yml +++ b/.gitlab/ci/pipelines/non_release_tag.yml @@ -374,100 +374,6 @@ oc.build-debian: - gcp_very_high_cpu - gcp_arm64 -oc.build-debian-old_a: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-debian-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh A - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: debian - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - unstable - - bookworm - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - -oc.build-debian-old_b: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-debian-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh B - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: debian - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - unstable - - bookworm - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - oc.build-data_packages: image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} stage: build @@ -493,38 +399,6 @@ oc.build-data_packages: paths: - packages/$DISTRIBUTION/$RELEASE -apt_repo_debian_old: - image: debian:bookworm - stage: publishing - tags: - - gcp - needs: - - oc.build-debian-old_a - - oc.build-debian-old_b - dependencies: - - oc.build-debian-old_a - - oc.build-debian-old_b - timeout: 60 minutes - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/version.sh - - ./scripts/ci/install-gsutil.sh - - apt install -y apt-utils debsigs jq - script: - - ./scripts/ci/create_debian_repo.sh debian bookworm - variables: - ARCHITECTURES: amd64 arm64 - GNUPGHOME: $CI_PROJECT_DIR/.gnupg - PREFIX: old - id_tokens: - GCP_ID_TOKEN: - aud: https://iam.googleapis.com/projects/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROJECT_ID}/locations/global/workloadIdentityPools/${GCP_WORKLOAD_IDENTITY_FEDERATION_POOL_ID}/providers/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER_ID} - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - apt_repo_debian: image: debian:bookworm stage: publishing @@ -638,132 +512,6 @@ oc.build-ubuntu: - gcp_very_high_cpu - gcp_arm64 -oc.build-ubuntu-old_a: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-ubuntu-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh A - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: ubuntu - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - noble - - jammy - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - -oc.build-ubuntu-old_b: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-ubuntu-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh B - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: ubuntu - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - noble - - jammy - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - -apt_repo_ubuntu_old: - image: public.ecr.aws/lts/ubuntu:24.04_stable - stage: publishing - tags: - - gcp - needs: - - oc.build-ubuntu-old_a - - oc.build-ubuntu-old_b - dependencies: - - oc.build-ubuntu-old_a - - oc.build-ubuntu-old_b - timeout: 60 minutes - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/version.sh - - ./scripts/ci/install-gsutil.sh - - apt install -y apt-utils debsigs jq - script: - - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy - variables: - ARCHITECTURES: amd64 arm64 - GNUPGHOME: $CI_PROJECT_DIR/.gnupg - PREFIX: old - id_tokens: - GCP_ID_TOKEN: - aud: https://iam.googleapis.com/projects/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROJECT_ID}/locations/global/workloadIdentityPools/${GCP_WORKLOAD_IDENTITY_FEDERATION_POOL_ID}/providers/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER_ID} - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - apt_repo_ubuntu: image: public.ecr.aws/lts/ubuntu:24.04_stable stage: publishing diff --git a/.gitlab/ci/pipelines/non_release_tag_test.yml b/.gitlab/ci/pipelines/non_release_tag_test.yml index ee2b9a2fa24f..1d6e456fa2d3 100644 --- a/.gitlab/ci/pipelines/non_release_tag_test.yml +++ b/.gitlab/ci/pipelines/non_release_tag_test.yml @@ -374,100 +374,6 @@ oc.build-debian: - gcp_very_high_cpu - gcp_arm64 -oc.build-debian-old_a: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-debian-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh A - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: debian - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - unstable - - bookworm - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - -oc.build-debian-old_b: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-debian-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh B - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: debian - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - unstable - - bookworm - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - oc.build-data_packages: image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} stage: build @@ -493,38 +399,6 @@ oc.build-data_packages: paths: - packages/$DISTRIBUTION/$RELEASE -apt_repo_debian_old: - image: debian:bookworm - stage: publishing - tags: - - gcp - needs: - - oc.build-debian-old_a - - oc.build-debian-old_b - dependencies: - - oc.build-debian-old_a - - oc.build-debian-old_b - timeout: 60 minutes - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/version.sh - - ./scripts/ci/install-gsutil.sh - - apt install -y apt-utils debsigs jq - script: - - ./scripts/ci/create_debian_repo.sh debian bookworm - variables: - ARCHITECTURES: amd64 arm64 - GNUPGHOME: $CI_PROJECT_DIR/.gnupg - PREFIX: old - id_tokens: - GCP_ID_TOKEN: - aud: https://iam.googleapis.com/projects/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROJECT_ID}/locations/global/workloadIdentityPools/${GCP_WORKLOAD_IDENTITY_FEDERATION_POOL_ID}/providers/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER_ID} - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - apt_repo_debian: image: debian:bookworm stage: publishing @@ -638,132 +512,6 @@ oc.build-ubuntu: - gcp_very_high_cpu - gcp_arm64 -oc.build-ubuntu-old_a: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-ubuntu-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh A - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: ubuntu - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - noble - - jammy - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - -oc.build-ubuntu-old_b: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-ubuntu-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh B - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: ubuntu - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - noble - - jammy - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - -apt_repo_ubuntu_old: - image: public.ecr.aws/lts/ubuntu:24.04_stable - stage: publishing - tags: - - gcp - needs: - - oc.build-ubuntu-old_a - - oc.build-ubuntu-old_b - dependencies: - - oc.build-ubuntu-old_a - - oc.build-ubuntu-old_b - timeout: 60 minutes - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/version.sh - - ./scripts/ci/install-gsutil.sh - - apt install -y apt-utils debsigs jq - script: - - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy - variables: - ARCHITECTURES: amd64 arm64 - GNUPGHOME: $CI_PROJECT_DIR/.gnupg - PREFIX: old - id_tokens: - GCP_ID_TOKEN: - aud: https://iam.googleapis.com/projects/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROJECT_ID}/locations/global/workloadIdentityPools/${GCP_WORKLOAD_IDENTITY_FEDERATION_POOL_ID}/providers/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER_ID} - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - apt_repo_ubuntu: image: public.ecr.aws/lts/ubuntu:24.04_stable stage: publishing diff --git a/.gitlab/ci/pipelines/octez_beta_release_tag.yml b/.gitlab/ci/pipelines/octez_beta_release_tag.yml index 3f6380719c82..76ef6c9ea56e 100644 --- a/.gitlab/ci/pipelines/octez_beta_release_tag.yml +++ b/.gitlab/ci/pipelines/octez_beta_release_tag.yml @@ -375,100 +375,6 @@ oc.build-debian: - gcp_very_high_cpu - gcp_arm64 -oc.build-debian-old_a: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-debian-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh A - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: debian - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - unstable - - bookworm - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - -oc.build-debian-old_b: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-debian-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh B - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: debian - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - unstable - - bookworm - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - oc.build-data_packages: image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} stage: build @@ -494,38 +400,6 @@ oc.build-data_packages: paths: - packages/$DISTRIBUTION/$RELEASE -apt_repo_debian_old: - image: debian:bookworm - stage: publishing - tags: - - gcp - needs: - - oc.build-debian-old_a - - oc.build-debian-old_b - dependencies: - - oc.build-debian-old_a - - oc.build-debian-old_b - timeout: 60 minutes - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/version.sh - - ./scripts/ci/install-gsutil.sh - - apt install -y apt-utils debsigs jq - script: - - ./scripts/ci/create_debian_repo.sh debian bookworm - variables: - ARCHITECTURES: amd64 arm64 - GNUPGHOME: $CI_PROJECT_DIR/.gnupg - PREFIX: old - id_tokens: - GCP_ID_TOKEN: - aud: https://iam.googleapis.com/projects/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROJECT_ID}/locations/global/workloadIdentityPools/${GCP_WORKLOAD_IDENTITY_FEDERATION_POOL_ID}/providers/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER_ID} - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - apt_repo_debian: image: debian:bookworm stage: publishing @@ -639,132 +513,6 @@ oc.build-ubuntu: - gcp_very_high_cpu - gcp_arm64 -oc.build-ubuntu-old_a: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-ubuntu-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh A - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: ubuntu - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - noble - - jammy - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - -oc.build-ubuntu-old_b: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-ubuntu-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh B - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: ubuntu - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - noble - - jammy - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - -apt_repo_ubuntu_old: - image: public.ecr.aws/lts/ubuntu:24.04_stable - stage: publishing - tags: - - gcp - needs: - - oc.build-ubuntu-old_a - - oc.build-ubuntu-old_b - dependencies: - - oc.build-ubuntu-old_a - - oc.build-ubuntu-old_b - timeout: 60 minutes - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/version.sh - - ./scripts/ci/install-gsutil.sh - - apt install -y apt-utils debsigs jq - script: - - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy - variables: - ARCHITECTURES: amd64 arm64 - GNUPGHOME: $CI_PROJECT_DIR/.gnupg - PREFIX: old - id_tokens: - GCP_ID_TOKEN: - aud: https://iam.googleapis.com/projects/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROJECT_ID}/locations/global/workloadIdentityPools/${GCP_WORKLOAD_IDENTITY_FEDERATION_POOL_ID}/providers/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER_ID} - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - apt_repo_ubuntu: image: public.ecr.aws/lts/ubuntu:24.04_stable stage: publishing diff --git a/.gitlab/ci/pipelines/octez_release_tag.yml b/.gitlab/ci/pipelines/octez_release_tag.yml index 0d58ac8bcb16..e8331e29fc03 100644 --- a/.gitlab/ci/pipelines/octez_release_tag.yml +++ b/.gitlab/ci/pipelines/octez_release_tag.yml @@ -376,100 +376,6 @@ oc.build-debian: - gcp_very_high_cpu - gcp_arm64 -oc.build-debian-old_a: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-debian-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh A - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: debian - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - unstable - - bookworm - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - -oc.build-debian-old_b: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-debian-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh B - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: debian - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - unstable - - bookworm - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - oc.build-data_packages: image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} stage: build @@ -495,38 +401,6 @@ oc.build-data_packages: paths: - packages/$DISTRIBUTION/$RELEASE -apt_repo_debian_old: - image: debian:bookworm - stage: publishing - tags: - - gcp - needs: - - oc.build-debian-old_a - - oc.build-debian-old_b - dependencies: - - oc.build-debian-old_a - - oc.build-debian-old_b - timeout: 60 minutes - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/version.sh - - ./scripts/ci/install-gsutil.sh - - apt install -y apt-utils debsigs jq - script: - - ./scripts/ci/create_debian_repo.sh debian bookworm - variables: - ARCHITECTURES: amd64 arm64 - GNUPGHOME: $CI_PROJECT_DIR/.gnupg - PREFIX: old - id_tokens: - GCP_ID_TOKEN: - aud: https://iam.googleapis.com/projects/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROJECT_ID}/locations/global/workloadIdentityPools/${GCP_WORKLOAD_IDENTITY_FEDERATION_POOL_ID}/providers/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER_ID} - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - apt_repo_debian: image: debian:bookworm stage: publishing @@ -640,132 +514,6 @@ oc.build-ubuntu: - gcp_very_high_cpu - gcp_arm64 -oc.build-ubuntu-old_a: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-ubuntu-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh A - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: ubuntu - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - noble - - jammy - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - -oc.build-ubuntu-old_b: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-ubuntu-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh B - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: ubuntu - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - noble - - jammy - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - -apt_repo_ubuntu_old: - image: public.ecr.aws/lts/ubuntu:24.04_stable - stage: publishing - tags: - - gcp - needs: - - oc.build-ubuntu-old_a - - oc.build-ubuntu-old_b - dependencies: - - oc.build-ubuntu-old_a - - oc.build-ubuntu-old_b - timeout: 60 minutes - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/version.sh - - ./scripts/ci/install-gsutil.sh - - apt install -y apt-utils debsigs jq - script: - - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy - variables: - ARCHITECTURES: amd64 arm64 - GNUPGHOME: $CI_PROJECT_DIR/.gnupg - PREFIX: old - id_tokens: - GCP_ID_TOKEN: - aud: https://iam.googleapis.com/projects/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROJECT_ID}/locations/global/workloadIdentityPools/${GCP_WORKLOAD_IDENTITY_FEDERATION_POOL_ID}/providers/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER_ID} - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - apt_repo_ubuntu: image: public.ecr.aws/lts/ubuntu:24.04_stable stage: publishing diff --git a/.gitlab/ci/pipelines/octez_release_tag_test.yml b/.gitlab/ci/pipelines/octez_release_tag_test.yml index 9cc8203a2e62..691a7b3d62d5 100644 --- a/.gitlab/ci/pipelines/octez_release_tag_test.yml +++ b/.gitlab/ci/pipelines/octez_release_tag_test.yml @@ -376,100 +376,6 @@ oc.build-debian: - gcp_very_high_cpu - gcp_arm64 -oc.build-debian-old_a: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-debian-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh A - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: debian - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - unstable - - bookworm - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - -oc.build-debian-old_b: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-debian-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh B - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: debian - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - unstable - - bookworm - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - oc.build-data_packages: image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} stage: build @@ -495,38 +401,6 @@ oc.build-data_packages: paths: - packages/$DISTRIBUTION/$RELEASE -apt_repo_debian_old: - image: debian:bookworm - stage: publishing - tags: - - gcp - needs: - - oc.build-debian-old_a - - oc.build-debian-old_b - dependencies: - - oc.build-debian-old_a - - oc.build-debian-old_b - timeout: 60 minutes - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/version.sh - - ./scripts/ci/install-gsutil.sh - - apt install -y apt-utils debsigs jq - script: - - ./scripts/ci/create_debian_repo.sh debian bookworm - variables: - ARCHITECTURES: amd64 arm64 - GNUPGHOME: $CI_PROJECT_DIR/.gnupg - PREFIX: old - id_tokens: - GCP_ID_TOKEN: - aud: https://iam.googleapis.com/projects/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROJECT_ID}/locations/global/workloadIdentityPools/${GCP_WORKLOAD_IDENTITY_FEDERATION_POOL_ID}/providers/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER_ID} - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - apt_repo_debian: image: debian:bookworm stage: publishing @@ -640,132 +514,6 @@ oc.build-ubuntu: - gcp_very_high_cpu - gcp_arm64 -oc.build-ubuntu-old_a: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-ubuntu-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh A - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: ubuntu - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - noble - - jammy - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - -oc.build-ubuntu-old_b: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-ubuntu-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh B - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: ubuntu - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - noble - - jammy - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - -apt_repo_ubuntu_old: - image: public.ecr.aws/lts/ubuntu:24.04_stable - stage: publishing - tags: - - gcp - needs: - - oc.build-ubuntu-old_a - - oc.build-ubuntu-old_b - dependencies: - - oc.build-ubuntu-old_a - - oc.build-ubuntu-old_b - timeout: 60 minutes - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/version.sh - - ./scripts/ci/install-gsutil.sh - - apt install -y apt-utils debsigs jq - script: - - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy - variables: - ARCHITECTURES: amd64 arm64 - GNUPGHOME: $CI_PROJECT_DIR/.gnupg - PREFIX: old - id_tokens: - GCP_ID_TOKEN: - aud: https://iam.googleapis.com/projects/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROJECT_ID}/locations/global/workloadIdentityPools/${GCP_WORKLOAD_IDENTITY_FEDERATION_POOL_ID}/providers/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER_ID} - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - apt_repo_ubuntu: image: public.ecr.aws/lts/ubuntu:24.04_stable stage: publishing diff --git a/.gitlab/ci/pipelines/schedule_master_test_release.yml b/.gitlab/ci/pipelines/schedule_master_test_release.yml index 58678a155a54..94a224f3104f 100644 --- a/.gitlab/ci/pipelines/schedule_master_test_release.yml +++ b/.gitlab/ci/pipelines/schedule_master_test_release.yml @@ -377,100 +377,6 @@ oc.build-debian: - gcp_very_high_cpu - gcp_arm64 -oc.build-debian-old_a: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-debian-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh A - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: debian - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - unstable - - bookworm - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - -oc.build-debian-old_b: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-debian-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh B - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: debian - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - unstable - - bookworm - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - oc.build-data_packages: image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} stage: build @@ -496,38 +402,6 @@ oc.build-data_packages: paths: - packages/$DISTRIBUTION/$RELEASE -apt_repo_debian_old: - image: debian:bookworm - stage: publishing - tags: - - gcp - needs: - - oc.build-debian-old_a - - oc.build-debian-old_b - dependencies: - - oc.build-debian-old_a - - oc.build-debian-old_b - timeout: 60 minutes - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/version.sh - - ./scripts/ci/install-gsutil.sh - - apt install -y apt-utils debsigs jq - script: - - ./scripts/ci/create_debian_repo.sh debian bookworm - variables: - ARCHITECTURES: amd64 arm64 - GNUPGHOME: $CI_PROJECT_DIR/.gnupg - PREFIX: old - id_tokens: - GCP_ID_TOKEN: - aud: https://iam.googleapis.com/projects/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROJECT_ID}/locations/global/workloadIdentityPools/${GCP_WORKLOAD_IDENTITY_FEDERATION_POOL_ID}/providers/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER_ID} - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - apt_repo_debian: image: debian:bookworm stage: publishing @@ -641,132 +515,6 @@ oc.build-ubuntu: - gcp_very_high_cpu - gcp_arm64 -oc.build-ubuntu-old_a: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-ubuntu-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh A - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: ubuntu - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - noble - - jammy - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - -oc.build-ubuntu-old_b: - image: $DEP_IMAGE:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} - stage: build - tags: - - $TAGS - needs: - - oc.docker-build-ubuntu-dependencies - dependencies: [] - timeout: 90 minutes - cache: - key: sccache-$CI_JOB_NAME_SLUG - paths: - - $CI_PROJECT_DIR/_sccache - policy: pull-push - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/ci/sccache-start.sh - script: - - export CARGO_NET_OFFLINE=false - - ./scripts/ci/build-debian-packages_old.sh B - after_script: - - ./scripts/ci/sccache-stop.sh - variables: - FLAVOUR: build - DEP_IMAGE: ${GCP_REGISTRY}/$CI_PROJECT_NAMESPACE/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DEP_IMAGE_PROTECTED: ${GCP_PROTECTED_REGISTRY}/tezos/tezos/$FLAVOUR-$DISTRIBUTION-$RELEASE - DISTRIBUTION: ubuntu - SCCACHE_DIR: $CI_PROJECT_DIR/_sccache - SCCACHE_CACHE_SIZE: 5G - SCCACHE_IDLE_TIMEOUT: "0" - artifacts: - paths: - - packages/$DISTRIBUTION/$RELEASE - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - parallel: - matrix: - - RELEASE: - - noble - - jammy - TAGS: - - gcp_very_high_cpu - - gcp_arm64 - -apt_repo_ubuntu_old: - image: public.ecr.aws/lts/ubuntu:24.04_stable - stage: publishing - tags: - - gcp - needs: - - oc.build-ubuntu-old_a - - oc.build-ubuntu-old_b - dependencies: - - oc.build-ubuntu-old_a - - oc.build-ubuntu-old_b - timeout: 60 minutes - before_script: - - . ./scripts/ci/datadog_send_job_info.sh - - . ./scripts/version.sh - - ./scripts/ci/install-gsutil.sh - - apt install -y apt-utils debsigs jq - script: - - ./scripts/ci/create_debian_repo.sh ubuntu noble jammy - variables: - ARCHITECTURES: amd64 arm64 - GNUPGHOME: $CI_PROJECT_DIR/.gnupg - PREFIX: old - id_tokens: - GCP_ID_TOKEN: - aud: https://iam.googleapis.com/projects/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROJECT_ID}/locations/global/workloadIdentityPools/${GCP_WORKLOAD_IDENTITY_FEDERATION_POOL_ID}/providers/${GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER_ID} - retry: - max: 2 - when: - - stuck_or_timeout_failure - - runner_system_failure - apt_repo_ubuntu: image: public.ecr.aws/lts/ubuntu:24.04_stable stage: publishing diff --git a/ci/bin/debian_repository.ml b/ci/bin/debian_repository.ml index 7a501a852191..a5723d92e240 100644 --- a/ci/bin/debian_repository.ml +++ b/ci/bin/debian_repository.ml @@ -205,54 +205,6 @@ let jobs pipeline_type = |> enable_sccache ~idle_timeout:"0" in - (* These jobs build the old packages in a matrix using the - build dependencies images *) - let job_build_debian_package_old_a : tezos_job = - make_job_build_debian_packages - ~__POS__ - ~name:"oc.build-debian-old_a" - ~distribution:"debian" - ~dependencies:(Dependent [Job job_docker_build_debian_dependencies]) - ~script:"./scripts/ci/build-debian-packages_old.sh A" - ~matrix:(debian_package_release_matrix pipeline_type) - ~timeout:(Minutes 90) - () - in - let job_build_ubuntu_package_old_a : tezos_job = - make_job_build_debian_packages - ~__POS__ - ~name:"oc.build-ubuntu-old_a" - ~distribution:"ubuntu" - ~dependencies:(Dependent [Job job_docker_build_ubuntu_dependencies]) - ~script:"./scripts/ci/build-debian-packages_old.sh A" - ~matrix:(ubuntu_package_release_matrix pipeline_type) - ~timeout:(Minutes 90) - () - in - - let job_build_debian_package_old_b : tezos_job = - make_job_build_debian_packages - ~__POS__ - ~name:"oc.build-debian-old_b" - ~distribution:"debian" - ~dependencies:(Dependent [Job job_docker_build_debian_dependencies]) - ~script:"./scripts/ci/build-debian-packages_old.sh B" - ~matrix:(debian_package_release_matrix pipeline_type) - ~timeout:(Minutes 90) - () - in - let job_build_ubuntu_package_old_b : tezos_job = - make_job_build_debian_packages - ~__POS__ - ~name:"oc.build-ubuntu-old_b" - ~distribution:"ubuntu" - ~dependencies:(Dependent [Job job_docker_build_ubuntu_dependencies]) - ~script:"./scripts/ci/build-debian-packages_old.sh B" - ~matrix:(ubuntu_package_release_matrix pipeline_type) - ~timeout:(Minutes 90) - () - in - (* data packages. we build them once *) let job_build_data_packages : tezos_job = job @@ -296,37 +248,6 @@ let jobs pipeline_type = () in - (* These jobs create the apt repository for the old packages *) - let job_apt_repo_debian_old = - make_job_apt_repo - ~__POS__ - ~name:"apt_repo_debian_old" - ~dependencies: - (Dependent - [ - Artifacts job_build_debian_package_old_a; - Artifacts job_build_debian_package_old_b; - ]) - ~prefix:"old" - ~variables:(archs_variables pipeline_type) - ~image:Images.debian_bookworm - ["./scripts/ci/create_debian_repo.sh debian bookworm"] - in - let job_apt_repo_ubuntu_old = - make_job_apt_repo - ~__POS__ - ~name:"apt_repo_ubuntu_old" - ~dependencies: - (Dependent - [ - Artifacts job_build_ubuntu_package_old_a; - Artifacts job_build_ubuntu_package_old_b; - ]) - ~prefix:"old" - ~variables:(archs_variables pipeline_type) - ~image:Images.ubuntu_noble - ["./scripts/ci/create_debian_repo.sh ubuntu noble jammy"] - in (* These jobs create the apt repository for the packages *) let job_apt_repo_debian = make_job_apt_repo @@ -408,7 +329,7 @@ let jobs pipeline_type = ]) script in - (* These test the upgrade from the old packages *) + (* These test the upgrade from previous released version *) let job_upgrade_bin ~__POS__ ~name ~dependencies ~image ?allow_failure script = job @@ -447,8 +368,7 @@ let jobs pipeline_type = job_upgrade_bin ~__POS__ ~name:"oc.upgrade_bin_ubuntu_jammy" - ~dependencies: - (Dependent [Job job_apt_repo_ubuntu_old; Job job_apt_repo_ubuntu]) + ~dependencies:(Dependent [Job job_apt_repo_ubuntu]) ~image:Images.ubuntu_jammy ["./docs/introduction/upgrade-bin-deb.sh ubuntu jammy"]; job_install_systemd_bin @@ -479,7 +399,6 @@ let jobs pipeline_type = [ Job job_docker_systemd_test_ubuntu_dependencies; Job job_apt_repo_ubuntu; - Job job_apt_repo_ubuntu_old; ]) ~variables: (variables @@ -510,8 +429,7 @@ let jobs pipeline_type = job_upgrade_bin ~__POS__ ~name:"oc.upgrade_bin_debian_bookworm" - ~dependencies: - (Dependent [Job job_apt_repo_debian_old; Job job_apt_repo_debian]) + ~dependencies:(Dependent [Job job_apt_repo_debian]) ~image:Images.debian_bookworm ["./docs/introduction/upgrade-bin-deb.sh debian bookworm"]; job_install_systemd_bin @@ -594,7 +512,6 @@ let jobs pipeline_type = [ Job job_docker_systemd_test_debian_dependencies; Job job_apt_repo_debian; - Job job_apt_repo_debian_old; ]) ~variables: (variables @@ -615,10 +532,7 @@ let jobs pipeline_type = [ job_docker_build_debian_dependencies; job_build_debian_package; - job_build_debian_package_old_a; - job_build_debian_package_old_b; job_build_data_packages; - job_apt_repo_debian_old; job_apt_repo_debian; ] in @@ -626,34 +540,18 @@ let jobs pipeline_type = [ job_docker_build_ubuntu_dependencies; job_build_ubuntu_package; - job_build_ubuntu_package_old_a; - job_build_ubuntu_package_old_b; - job_apt_repo_ubuntu_old; job_apt_repo_ubuntu; ] in match pipeline_type with | Partial -> - ( (job_docker_systemd_test_debian_dependencies :: debian_jobs) - @ test_debian_packages_jobs, - job_build_ubuntu_package_old_a, - job_build_debian_package_old_a, - job_build_ubuntu_package_old_b, - job_build_debian_package_old_b ) + (job_docker_systemd_test_debian_dependencies :: debian_jobs) + @ test_debian_packages_jobs | Full -> - ( job_docker_systemd_test_debian_dependencies - :: job_docker_systemd_test_ubuntu_dependencies :: debian_jobs - @ ubuntu_jobs @ test_debian_packages_jobs @ test_ubuntu_packages_jobs, - job_build_ubuntu_package_old_a, - job_build_debian_package_old_a, - job_build_ubuntu_package_old_b, - job_build_debian_package_old_b ) - | Release -> - ( debian_jobs @ ubuntu_jobs, - job_build_ubuntu_package_old_a, - job_build_debian_package_old_a, - job_build_ubuntu_package_old_b, - job_build_debian_package_old_b ) + job_docker_systemd_test_debian_dependencies + :: job_docker_systemd_test_ubuntu_dependencies :: debian_jobs + @ ubuntu_jobs @ test_debian_packages_jobs @ test_ubuntu_packages_jobs + | Release -> debian_jobs @ ubuntu_jobs let register ~auto ~description pipeline_type = let pipeline_name = @@ -663,7 +561,7 @@ let register ~auto ~description pipeline_type = | Full, _ -> "debian_repository_full" | Release, _ -> "debian_repository_release" in - let jobs, _, _, _, _ = jobs pipeline_type in + let jobs = jobs pipeline_type in Pipeline.register_child pipeline_name ~description diff --git a/ci/bin/release_tag.ml b/ci/bin/release_tag.ml index f8ae910908d9..b894695a2c0c 100644 --- a/ci/bin/release_tag.ml +++ b/ci/bin/release_tag.ml @@ -205,7 +205,7 @@ let octez_jobs ?(test = false) release_tag_pipeline_type = ] in let jobs_dnf_repository = Rpm_repository.jobs Release in - let jobs_debian_repository, _, _, _, _ = Debian_repository.jobs Release in + let jobs_debian_repository = Debian_repository.jobs Release in let job_gitlab_release_or_publish = let dependencies = Dependent -- GitLab