Commit 6a2760e

mo khan <mo@mokhan.ca>
2025-04-11 18:07:57
chore: re-organize .gitlab-ci.yml
1 parent 7feb443
Changed files (1)
.gitlab-ci.yml
@@ -1,6 +1,21 @@
+stages:
+  - build
+  - test
+  - validate
+  - runway_staging
+  - runway_production
+
 variables:
   CONTAINER_IMAGE_COMMIT: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA
 
+include:
+  - project: 'gitlab-com/gl-infra/platform/runway/runwayctl'
+    file: 'ci-tasks/service-project/runway.yml'
+    inputs:
+      runway_service_id: sparkle
+      image: "$CONTAINER_IMAGE_COMMIT"
+      runway_version: v3.61.5
+
 build image:
   image: docker:28
   interruptible: true
@@ -18,18 +33,3 @@ unit:
   stage: test
   script:
     - go test ./...
-
-stages:
-  - build
-  - test
-  - validate
-  - runway_staging
-  - runway_production
-
-include:
-  - project: 'gitlab-com/gl-infra/platform/runway/runwayctl'
-    file: 'ci-tasks/service-project/runway.yml'
-    inputs:
-      runway_service_id: sparkle
-      image: "$CONTAINER_IMAGE_COMMIT"
-      runway_version: v3.61.5