summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-04-11 12:07:57 -0600
committermo khan <mo@mokhan.ca>2025-04-11 12:07:57 -0600
commit6a2760e0c07bd1d808f0e252417ad47a5afc07ee (patch)
tree1ee006f3fb7d605e79a2203e970a545311131486
parent7feb44386971073ce0dd87ea59460e575f158daf (diff)
chore: re-organize .gitlab-ci.yml
-rw-r--r--.gitlab-ci.yml30
1 files changed, 15 insertions, 15 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a7f0192..cf68967 100644
--- a/.gitlab-ci.yml
+++ b/.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