diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2efe010efa01ea17b1afc934be8ba974a7060e04..f2ab2a146ff9fb41abbde11d366a26f107cc1a5e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,23 +1,6 @@ -# default installed image for docker executor is: python:3.6 # using an image that can do git, docker, docker-compose 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 changes: - examples @@ -58,7 +41,12 @@ stages: env: 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: stage: build