Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
APIGOV-28112 - custom pipeline naming
Browse files Browse the repository at this point in the history
  • Loading branch information
dfeldick committed Jun 11, 2024
1 parent 91f50ab commit 0dc9dfc
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,22 @@ variables:
# just to be sure we don't do vendoring
GOFLAGS: "-mod=mod"

########################################
# set up custom names for the pipelines of releases and nightly schedules
########################################
PIPELINE_NAME: "$CI_COMMIT_MESSAGE"

workflow:
name: "$PIPELINE_NAME"
rules:
- if: $CI_PIPELINE_SOURCE == "schedule" && $COMPONENT_TESTS_ONLY == "y"
variables:
PIPELINE_NAME: "Scheduled nightly tests"
- if: $CI_PIPELINE_SOURCE == "schedule"
variables:
PIPELINE_NAME: "Scheduled nightly CSR"
- when: always

stages:
- test
- qa-test
Expand Down

0 comments on commit 0dc9dfc

Please sign in to comment.