Skip to content

Commit

Permalink
APIGOV-28112 - custom pipeline names
Browse files Browse the repository at this point in the history
  • Loading branch information
dfeldick committed Jun 11, 2024
1 parent ae87694 commit 1d8e253
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 @@ -17,6 +17,22 @@ variables:
GOWORK: ${CI_PROJECT_DIR}/go.work
GOFLAGS: "-mod=readonly"

########################################
# 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

include:
- project: "apigov/gitlabci"
ref: master
Expand Down

0 comments on commit 1d8e253

Please sign in to comment.