Skip to content
Snippets Groups Projects
Commit 23ba225b authored by Sascha Klawohn's avatar Sascha Klawohn
Browse files

Echo commits vars

parent 314eca47
Branches
Tags
No related merge requests found
Pipeline #242137 canceled
# default installed image for docker executor is: python:3.6
# using an image that can do git, docker, docker-compose # using an image that can do git, docker, docker-compose
image: gitlab-registry.mpcdf.mpg.de/nomad-lab/nomad-fair/ci-runner:latest image: gitlab-registry.mpcdf.mpg.de/nomad-lab/nomad-fair/ci-runner:latest
# build directory inside
# https://gitlab.mpcdf.mpg.de/help/ci/runners/configure_runners.md#custom-build-directories
# https://docs.gitlab.com/ee/ci/yaml/workflow.html
# https://docs.gitlab.com/ee/ci/variables/predefined_variables.html
# if: CI_COMMIT_BRANCH && CI_COMMIT_BEFORE_SHA == "0000000000000000000000000000000000000000"
# A branch pipeline, but it is the first commit for that branch
# if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS && $CI_PIPELINE_SOURCE == "push"
# For an existing workflow section to switch from branch pipelines to merge request pipelines when a merge request is created.
# if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
# A branch pipeline, but a merge request is open for that branch, do not run the branch pipeline.
# if: $CI_PIPELINE_SOURCE == "merge_request_event"
# A merge request pipeline, start the pipeline.
# if: $CI_COMMIT_BRANCH
# A branch pipeline, but there is no merge request open for the branch, run the branch pipeline.
.non-docs-changes: &non-docs-changes .non-docs-changes: &non-docs-changes
changes: changes:
- examples - examples
...@@ -58,7 +41,12 @@ stages: ...@@ -58,7 +41,12 @@ stages:
env: env:
script: script:
- env - echo "CI_PIPELINE_SOURCE = $CI_PIPELINE_SOURCE"
- echo "CI_COMMIT_BRANCH = $CI_COMMIT_BRANCH"
- echo "CI_COMMIT_TAG = $CI_COMMIT_TAG"
- echo "CI_COMMIT_REF_NAME = $CI_COMMIT_REF_NAME"
- echo "CI_COMMIT_REF_SLUG = $CI_COMMIT_REF_SLUG"
update changelog: update changelog:
stage: build stage: build
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment