ci: pre-adjust some identation stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 06 Nov 2024 16:37:10 +0100
branchstable
changeset 52197 c32b17e8f414
parent 52196 e88939f53342
child 52198 2c4283c9fa93
ci: pre-adjust some identation We adjust a couple of job to consistently use double space identation. This will make the next changesets clearer.
contrib/heptapod-ci.yml
--- 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.