aboutsummaryrefslogtreecommitdiff
path: root/tcwg-gcc-release-automation.yaml
diff options
context:
space:
mode:
authorYvan Roux <yvan.roux@linaro.org>2019-01-14 16:44:08 +0100
committerYvan Roux <yvan.roux@linaro.org>2019-01-15 12:13:04 +0000
commitd6932b26ca00d6c834363c363aa51d8869b25745 (patch)
treea060a95c908fcd8e25f3f050c646ab4a9dc7d5b3 /tcwg-gcc-release-automation.yaml
parent55157a2512f67e6dc0c895502efc8f7f6de72f34 (diff)
tcwg-gcc-release-automation: Disable binary builds for snapshots.
Change-Id: I28654adc41f3b4e80a650086528bddf585133b06
Diffstat (limited to 'tcwg-gcc-release-automation.yaml')
-rw-r--r--tcwg-gcc-release-automation.yaml23
1 files changed, 14 insertions, 9 deletions
diff --git a/tcwg-gcc-release-automation.yaml b/tcwg-gcc-release-automation.yaml
index 4555d299..b78a7417 100644
--- a/tcwg-gcc-release-automation.yaml
+++ b/tcwg-gcc-release-automation.yaml
@@ -100,8 +100,8 @@
case "$tag_kind" in
snapshot) FLAGS+=" -S" ; dir_suffix="-snap";;
- candidate) FLAGS+=" -r $rc_num" ;;
- release) FLAGS+=" -R" ;;
+ candidate) FLAGS+=" -r $rc_num" ; touch ${WORKSPACE}/trig-bin ;;
+ release) FLAGS+=" -R" ; touch ${WORKSPACE}/trig-bin ;;
*) echo "ERROR: tag_king is missing"; exit 1 ;;
esac
@@ -160,13 +160,18 @@
- project: tcwg-make-source-tarball
property-file: ${WORKSPACE}/env.properties
block: true
- - project: tcwg-make-and-test-release
- property-file: ${WORKSPACE}/env.properties
- predefined-parameters: |
- gcc_src=gcc.git~$tag
- toolchain_config=$toolchainconf
- abe_branch=$abe_branch
- block: true
+ - conditional-step:
+ condition-kind: file-exists
+ condition-filename: ${WORKSPACE}/trig-bin
+ steps:
+ - trigger-builds:
+ - project: tcwg-make-and-test-release
+ property-file: ${WORKSPACE}/env.properties
+ predefined-parameters: |
+ gcc_src=gcc.git~$tag
+ toolchain_config=$toolchainconf
+ abe_branch=$abe_branch
+ block: true
publishers:
- email-ext:
recipients: 'yvan.roux@linaro.org'