From 1077b8c2ac9807f0732d24819d4229a5beb432fc Mon Sep 17 00:00:00 2001 From: Neo <11726174-neo.nomadic@users.noreply.gitlab.com> Date: Thu, 24 Jul 2025 18:08:12 +0200 Subject: [PATCH] CI: Add [gcp_not_interruptible] in CIAO --- ci/lib_tezos_ci/tezos_ci.ml | 14 +++++++++++--- ci/lib_tezos_ci/tezos_ci.mli | 4 ++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/ci/lib_tezos_ci/tezos_ci.ml b/ci/lib_tezos_ci/tezos_ci.ml index 0bca75943d10..ac6d3e651fa2 100644 --- a/ci/lib_tezos_ci/tezos_ci.ml +++ b/ci/lib_tezos_ci/tezos_ci.ml @@ -730,6 +730,8 @@ type tag = | Gcp_arm64 | Gcp_dev | Gcp_dev_arm64 + | Gcp_not_interruptible + | Gcp_not_interruptible_dev | Gcp_tezt | Gcp_tezt_dev | Gcp_high_cpu @@ -746,6 +748,8 @@ let string_of_tag = function | Gcp_arm64 -> "gcp_arm64" | Gcp_dev -> "gcp_dev" | Gcp_dev_arm64 -> "gcp_dev_arm64" + | Gcp_not_interruptible -> "gcp_not_interruptible" + | Gcp_not_interruptible_dev -> "gcp_not_interruptible_dev" | Gcp_tezt -> "gcp_tezt" | Gcp_tezt_dev -> "gcp_tezt_dev" | Gcp_high_cpu -> "gcp_high_cpu" @@ -760,8 +764,9 @@ let string_of_tag = function (** The architecture of the runner associated to a tag . *) let arch_of_tag = function | Gcp_arm64 | Gcp_dev_arm64 -> Some Arm64 - | Gcp | Gcp_dev | Gcp_tezt | Gcp_tezt_dev | Gcp_high_cpu | Gcp_high_cpu_dev - | Gcp_very_high_cpu | Gcp_very_high_cpu_dev | Gcp_very_high_cpu_ramfs + | Gcp | Gcp_dev | Gcp_not_interruptible | Gcp_not_interruptible_dev | Gcp_tezt + | Gcp_tezt_dev | Gcp_high_cpu | Gcp_high_cpu_dev | Gcp_very_high_cpu + | Gcp_very_high_cpu_dev | Gcp_very_high_cpu_ramfs | Gcp_very_high_cpu_ramfs_dev | Aws_specific -> Some Amd64 | Dynamic -> None @@ -984,7 +989,10 @@ let job ?arch ?after_script ?allow_failure ?artifacts ?(before_script = []) (match (Sys.getenv_opt Gitlab_ci.Predefined_vars.(show gitlab_user_login), tag) with - | Some "nomadic-margebot", (Gcp_dev | Gcp_dev_arm64) -> + | ( Some "nomadic-margebot", + ( Gcp_dev | Gcp_dev_arm64 | Gcp_not_interruptible_dev | Gcp_tezt_dev + | Gcp_high_cpu_dev | Gcp_very_high_cpu_dev | Gcp_very_high_cpu_ramfs_dev + ) ) -> failwith "[job] Attempting to merge a CI configuration using development \ runners (job: %s)" diff --git a/ci/lib_tezos_ci/tezos_ci.mli b/ci/lib_tezos_ci/tezos_ci.mli index a983cac13a5f..4c4bd4da9c99 100644 --- a/ci/lib_tezos_ci/tezos_ci.mli +++ b/ci/lib_tezos_ci/tezos_ci.mli @@ -299,6 +299,10 @@ type tag = | Gcp_arm64 (** GCP prod ARM64 runner, general purpose. *) | Gcp_dev (** GCP dev AMD64 runner, general purpose. *) | Gcp_dev_arm64 (** GCP dev ARM64 runner, general purpose. *) + | Gcp_not_interruptible + (** GCP prod AMD64 runner, suitable for jobs that should not be interrupted. *) + | Gcp_not_interruptible_dev + (** GCP dev AMD64 runner, suitable for jobs that should not be interrupted. *) | Gcp_tezt (** GCP prod AMD64 runner, suitable for tezt jobs (more RAM and CPU) *) | Gcp_tezt_dev -- GitLab