Skip to content
Snippets Groups Projects

Use Gitlab CI DAG pipelines

Merged Marco Clemencic requested to merge use-ci-dag-pipelines into master
1 file
+ 0
18
Compare changes
  • Side-by-side
  • Inline
+ 0
18
@@ -8,12 +8,6 @@
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
#####################################################################################
stages:
- pre-build-checks
- build
- test
- deploy
variables:
LCG_VERSION: "101"
CMAKE_GENERATOR: 'Ninja' # default build system
@@ -30,7 +24,6 @@ default:
# Job templates
.build: &template_build
stage: build
tags:
- cvmfs
script:
@@ -59,13 +52,11 @@ default:
- .ccache
.build-check: &template_build_check
stage: test
script:
- ci-utils/build-check build/build.log
allow_failure: true
.test: &template_test
stage: test
tags:
- cvmfs
script:
@@ -216,7 +207,6 @@ lhcb-gcc11:build-check:
### Misc checks
x86_64-centos7-gcc11-opt:check-unused:
stage: test
needs:
- job: "x86_64-centos7-gcc11-opt"
artifacts: true
@@ -225,7 +215,6 @@ x86_64-centos7-gcc11-opt:check-unused:
allow_failure: true
pre-commit-checks:
stage: pre-build-checks
image: registry.cern.ch/docker.io/library/python:3.8
variables:
PRE_COMMIT_HOME: ${CI_PROJECT_DIR}/.cache/pre-commit
@@ -264,18 +253,14 @@ pre-commit-checks:
- 0001-pre-commit-fixes.patch
when: on_failure
expire_in: 1 week
allow_failure: true
check-copyright:
stage: pre-build-checks
image: gitlab-registry.cern.ch/ci-tools/ci-worker:cc7
script:
- curl -o lb-check-copyright "https://gitlab.cern.ch/lhcb-core/LbDevTools/-/raw/master/LbDevTools/SourceTools.py?inline=false"
- python lb-check-copyright --exclude lhcbproject.yml origin/${TARGET_BRANCH}
allow_failure: true
website:
stage: build
image: python
script:
- rm -rf public
@@ -284,14 +269,12 @@ website:
- pip install -r source/requirements.txt
- make html
- cp -a build/html/. ../public/.
allow_failure: true
artifacts:
paths:
- public
expire_in: 1 day
doxygen:
stage: test
tags:
- cvmfs
needs:
@@ -316,7 +299,6 @@ doxygen:
# see https://gitlab.cern.ch/gitlabci-examples/deploy_eos for the details
# of the configuration
deploy-website:
stage: deploy
needs:
- job: "website"
artifacts: true
Loading