Commit 5f66f32f authored by Yuelong Yu's avatar Yuelong Yu
Browse files

Update .gitlab-ci.yml

- comment out deploy stage
- run build only for branches
parent b03c6c77
Pipeline #19073 passed with stage
in 43 seconds
......@@ -17,6 +17,8 @@ stages:
build on debian 9:
stage: build
image: $debian9_image_name
only:
- branches
tags:
- DESY-intern
<<: *build_scripts
......@@ -24,32 +26,34 @@ build on debian 9:
build on debian 10:
stage: build
image: $debian10_image_name
only:
- branches
tags:
- DESY-intern
<<: *build_scripts
build package debian 9:
stage: deploy
only:
- master
- tags
variables:
UPSTREAM_IMAGENAME: $debian9_image_name
UPSTREAM_DIST: debian9
UPSTREAM_BRANCH: $CI_COMMIT_REF_NAME
UPSTREAM_HASH: $CI_COMMIT_SHORT_SHA
trigger: detectorsoftware/pcosdk-deploy
build package debian 10:
stage: deploy
only:
- master
- tags
variables:
UPSTREAM_IMAGENAME: $debian10_image_name
UPSTREAM_DIST: debian10
UPSTREAM_BRANCH: $CI_COMMIT_REF_NAME
UPSTREAM_HASH: $CI_COMMIT_SHORT_SHA
trigger: detectorsoftware/pcosdk-deploy
\ No newline at end of file
# build package debian 9:
# stage: deploy
# only:
# - master
# - tags
# variables:
# UPSTREAM_IMAGENAME: $debian9_image_name
# UPSTREAM_DIST: debian9
# UPSTREAM_BRANCH: $CI_COMMIT_REF_NAME
# UPSTREAM_HASH: $CI_COMMIT_SHORT_SHA
# trigger: detectorsoftware/pcosdk-deploy
# build package debian 10:
# stage: deploy
# only:
# - master
# - tags
# variables:
# UPSTREAM_IMAGENAME: $debian10_image_name
# UPSTREAM_DIST: debian10
# UPSTREAM_BRANCH: $CI_COMMIT_REF_NAME
# UPSTREAM_HASH: $CI_COMMIT_SHORT_SHA
# trigger: detectorsoftware/pcosdk-deploy
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment