Skip to content
Snippets Groups Projects

Improve CI

Merged Florian Uhlig requested to merge f.uhlig/cbmroot_old:improve_CI_1 into master
2 files
+ 21
16
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 16
13
@@ -7,8 +7,8 @@ CbmRoot_Continuous:
tags:
- CbmRoot
only:
- master
only:
refs:
- master
variables:
- $CI_PROJECT_PATH == "computing/cbmroot"
cache:
@@ -61,14 +61,14 @@ CbmRoot_Continuous:
# tags:
# - CbmRoot
# only:
# - merge_requests
# only:
# refs:
# - merge_requests
# variables:
# - $CI_MERGE_REQUEST_PROJECT_PATH == "computing/cbmroot"
# script:
# - set -xv
# - echo "export FAIRSOFT_VERSION=jun19p1" >> Dart.cfg
# - echo "export FAIRROOT_VERSION=v18.2.0" >> Dart.cfg
# - echo "export FAIRSOFT_VERSION=jun19p1" > env.sh
# - echo "export FAIRROOT_VERSION=v18.2.0" >> env.sh
# - echo "export SIMPATH=/cvmfs/fairroot.gsi.de/fairsoft/\${FAIRSOFT_VERSION}" >> env.sh
# - echo "export BUILDDIR=$PWD/build" >> env.sh
# - echo "export SOURCEDIR=$PWD" >> env.sh
@@ -82,18 +82,21 @@ CbmRoot_Merge:
stage: build
tags:
- CbmRoot
only:
- merge_requests
# only:
# variables:
# - $CI_MERGE_REQUEST_PROJECT_PATH == "computing/cbmroot"
# - merge_requests
only:
refs:
- merge_requests
variables:
- $CI_MERGE_REQUEST_PROJECT_PATH == "computing/cbmroot"
script:
# - set -xv
- echo $CI_MERGE_REQUEST_SOURCE_PROJECT_PATH
- echo $CI_MERGE_REQUEST_PROJECT_PATH
# - if [ "$CI_MERGE_REQUEST_PROJECT_PATH" == "computing/cbmroot" ]; then
# - echo "Here"
# - fi
- if [ "$CI_MERGE_REQUEST_PROJECT_PATH" != "computing/cbmroot" ]; then
- echo "Should not come here"
- exit 1
- fi
- echo $CI_MERGE_REQUEST_TARGET_BRANCH_NAME
- echo $CI_MERGE_REQUEST_ID
- echo $CI_MERGE_REQUEST_IID
Loading