changeset 52209:74a9fbc1b574 stable

ci: move some variables closer to their usage These were defined globaly because we had trouble making them inherited. This is now fixed, so we can get them were they belong.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 08 Nov 2024 14:44:56 +0100
parents 75bc7557e49f
children b3d6afa6ebbf
files contrib/heptapod-ci.yml
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/heptapod-ci.yml	Fri Nov 08 14:35:57 2024 +0100
+++ b/contrib/heptapod-ci.yml	Fri Nov 08 14:44:56 2024 +0100
@@ -32,8 +32,6 @@
 variables:
     PYTHON: python
     HG_CI_IMAGE_TAG: "v2.1"
-    TEST_HGTESTS_ALLOW_NETIO: "0"
-    SHOW_VERSION_OF: "$PYTHON"
 
 .all:
   # help changing all job at once when debugging
@@ -81,6 +79,9 @@
 .runtests:
     extends: .all
     stage: tests
+    variables:
+      SHOW_VERSION_OF: "$PYTHON"
+      TEST_HGTESTS_ALLOW_NETIO: "0"
     # The runner made a clone as root.
     # We make a new clone owned by user used to run the step.
     before_script: