changeset 52197:c32b17e8f414 stable

ci: pre-adjust some identation We adjust a couple of job to consistently use double space identation. This will make the next changesets clearer.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 06 Nov 2024 16:37:10 +0100
parents e88939f53342
children 2c4283c9fa93
files contrib/heptapod-ci.yml
diffstat 1 files changed, 21 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/heptapod-ci.yml	Thu Nov 07 11:02:35 2024 +0100
+++ b/contrib/heptapod-ci.yml	Wed Nov 06 16:37:10 2024 +0100
@@ -42,29 +42,29 @@
 # TODO: we should use an image based on manylinux instead "all-in-one" image
 # used for all test so far.
 .build-wheel: &wheel
-    <<: *all
-    stage: build
-    variables:
-      WHEEL_TYPE: ""
-      FLAVOR: ""
-    before_script:
-      - echo "python used, $PYTHON"
-      - $PYTHON --version
-      - echo $WHEEL_TYPE
-      - test -n "$WHEEL_TYPE"
-      - echo $FLAVOR
-      - mkdir -p wheels/$WHEEL_TYPE
-    script:
-      - $PYTHON setup.py bdist_wheel $FLAVOR --dist-dir wheels/$WHEEL_TYPE
-    artifacts:
-      paths:
-        - wheels/$WHEEL_TYPE
-      expire_in: 1 week
+  <<: *all
+  stage: build
+  variables:
+    WHEEL_TYPE: ""
+    FLAVOR: ""
+  before_script:
+    - echo "python used, $PYTHON"
+    - $PYTHON --version
+    - echo $WHEEL_TYPE
+    - test -n "$WHEEL_TYPE"
+    - echo $FLAVOR
+    - mkdir -p wheels/$WHEEL_TYPE
+  script:
+    - $PYTHON setup.py bdist_wheel $FLAVOR --dist-dir wheels/$WHEEL_TYPE
+  artifacts:
+    paths:
+      - wheels/$WHEEL_TYPE
+    expire_in: 1 week
 
 build-c-wheel:
-    <<: *wheel
-    variables:
-      WHEEL_TYPE: "c"
+  <<: *wheel
+  variables:
+    WHEEL_TYPE: "c"
 
 # TODO: We should select the wheel compatible with the python (and plateform)
 # we use. This is necessary to build multiple wheel.