Skip to content
Snippets Groups Projects

Merging final pip in main

Closed Isabelle Josephine Karal requested to merge s91190/app-service:stable into main
1 file
+ 7
5
Compare changes
  • Side-by-side
  • Inline
+ 7
5
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
#pip wird nur ausgeführt, wenn ein merge request gibt auf egal welchen branch
- if: $CI_PIPELINE_SOURCE == "merge_request_event" #https://docs.gitlab.com/ee/ci/yaml/workflow.html
when: always
- if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "stable"
# und wenn es ein push auf stable gibt
- if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "stable" #https://docs.gitlab.com/ee/ci/yaml/workflow.html
when: always
- when: never
@@ -28,7 +29,8 @@ job_test:
- go get -t ./...
- go test -race -v ./...
rules:
- if: $CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "merge_request_event"
#tests werden immer ausgeführt, wenn es ein push (egal wohin) oder ein merge request gibt
- if: $CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "merge_request_event" #https://docs.gitlab.com/ee/ci/yaml/workflow.html
when: always
job_release:
@@ -36,5 +38,5 @@ job_release:
script:
- echo release
rules:
- if: $CI_COMMIT_BRANCH == "stable"
- if: $CI_COMMIT_BRANCH == "stable" || $CI_COMMIT_REF_NAME =~ /stable/ #https://docs.gitlab.com/ee/ci/variables/predefined_variables.html, https://docs.gitlab.com/ee/ci/yaml/#workflow
when: always
Loading