Skip to content
Snippets Groups Projects
Commit afb5ade2 authored by Julien Leduc's avatar Julien Leduc
Browse files

enabling CI_DEBUG_TRACE to try to better understand failing jobs.

parent c127db10
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,8 @@ before_script:
cta_srpm:
stage: build:srpm
image: gitlab-registry.cern.ch/linuxsupport/cc7-base
variables:
CI_DEBUG_TRACE: "true"
script:
- yum install -y gcc-c++ cmake make rpm-build
- mkdir build_srpm
......@@ -33,6 +35,8 @@ cta_srpm:
cta_rpm:
stage: build:rpm
image: gitlab-registry.cern.ch/linuxsupport/cc7-base
variables:
CI_DEBUG_TRACE: "true"
script:
- cp -f continuousintegration/docker/ctafrontend/cc7/etc/yum.repos.d/*.repo /etc/yum.repos.d/
- yum install -y gcc-c++ cmake make rpm-build
......@@ -54,6 +58,8 @@ cta_rpm:
cta_tagged_rpm:
stage: build:rpm
image: gitlab-registry.cern.ch/linuxsupport/cc7-base
variables:
CI_DEBUG_TRACE: "true"
script:
- if [ -z "${CI_COMMIT_TAG}" ]; then echo "This is not a tagged commit, exiting"; exit 0; fi
- echo "Building package for tag ${CI_COMMIT_TAG}. CTA_VERSION=${TAG_VERSION} - CTA_RELEASE=${TAG_RELEASE}"
......@@ -77,6 +83,8 @@ cta_tagged_rpm:
publish_tagged_rpm:
stage: publish_rpm
image: gitlab-registry.cern.ch/linuxsupport/cc7-base
variables:
CI_DEBUG_TRACE: "true"
script:
- if [ -z "${CI_COMMIT_TAG}" ]; then echo "This is not a tagged commit, exiting"; exit 0; fi
- EOS_ACCOUNT_USERNAME=${DOCKER_LOGIN_USERNAME} EOS_ACCOUNT_PASSWORD=${DOCKER_LOGIN_PASSWORD} CI_OUTPUT_DIR=build_tagged_rpm/RPM/RPMS EOS_PATH=/eos/user/c/ctareg/www/cta-repo HOOK=/eos/user/c/ctareg/www/cta-repo/update_repos.sh continuousintegration/ci_helpers/deploy-eos.sh
......@@ -105,6 +113,8 @@ ctageneric_docker:
stage: build:dockerimage
tags:
- docker-image-build
variables:
CI_DEBUG_TRACE: "true"
script:
- ""
variables:
......@@ -115,6 +125,7 @@ ctageneric_docker:
ctageneric_docker_rename:
stage: rename:dockerimage
variables:
CI_DEBUG_TRACE: "true"
TO: gitlab-registry.cern.ch/cta/ctageneric
REPOSITORY: cta/ctageneric
GITLAB_HOST: gitlab.cern.ch
......@@ -127,6 +138,8 @@ ctageneric_docker_rename:
archiveretrieve:
stage: test
variables:
CI_DEBUG_TRACE: "true"
script:
- export NAMESPACE="archiveretrieve-${CTA_BUILD_ID}-$(cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 4 | head -n 1)"
- cd continuousintegration/orchestration/; ./run_systemtest.sh -n ${NAMESPACE} -p ${CI_PIPELINE_ID} -s tests/systest.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment