From d63bec8ec5847ae00464878627f542b4f8c90557 Mon Sep 17 00:00:00 2001 From: Sean Myers Date: Tue, 28 Mar 2017 11:28:20 -0400 Subject: [PATCH] Disable unsupported nightlies for 2.13+ closes #2674 https://pulp.plan.io/issues/2674 --- ci/jobs/build-automation.yaml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/ci/jobs/build-automation.yaml b/ci/jobs/build-automation.yaml index 36b55088..6443e18e 100644 --- a/ci/jobs/build-automation.yaml +++ b/ci/jobs/build-automation.yaml @@ -66,9 +66,19 @@ if [ $RELEASE_BUILD == true ] ; then ./build-all.py {release_config} --release else - # include unsupported dists in nightlies; this should highlight when dist_lists need to be - # updated, and also provides continued testing of el6 nightly and in PRs - ./build-all.py {release_config} --build-unsupported + # el6 builds are broken on 2.13. We don't really need them to be working, but since + # 2.12 is still working, this is here to prevent building el6 packages on 2.13+ but + # continue building el6 package for 2.12. We aren't building nightlies for anything + # lower than 2.12, so we can get away with match 2.12 explicitly. + # If we fix https://pulp.plan.io/issues/2667 and get el6 nightlies working again for + # 2.13+, this should be removed. + if grep -q 2.12 <<< "{release_config}"; then + # include unsupported dists in nightlies; this should highlight when dist_lists need to be + # updated, and also provides continued testing of el6 nightly for 2.12. + ./build-all.py {release_config} --build-unsupported + else + ./build-all.py {release_config} + fi fi publishers: - join-trigger: