From 99b79a54e0ebf767d6b9cb4df30ee2d978de7bcb Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 28 Aug 2019 17:25:25 +0200 Subject: [PATCH] Fix notifications of nightly builds The branch "nightly-build" is replaced by the branch "dogfood-on-next" every night by the Jenkins job "trigger-nightly-sonar-enterprise". That triggers the execution of integration tests on all databases. Unfortunately the team is not notified when tests fail. Errors are not visible from: - wallboards - the project default page on burgr - slack channels The root cause is that burgr does not consider the branch "nightly-build" as being shared by the team. The workaround is to rename the branch by prefixing it with "branch-". This is convention for long-living maintenance branches. --- .cirrus.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 323e00d4dc2..f30bfa1dd29 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -79,7 +79,7 @@ deploy_docs_task: validate_task: depends_on: build - only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master" && $CIRRUS_BRANCH != "nightly-build" + only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master" && $CIRRUS_BRANCH != "branch-nightly-build" timeout_in: 90m gke_container: dockerfile: private/docker/Dockerfile-build @@ -114,7 +114,7 @@ validate_task: qa_task: depends_on: build - only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master" && $CIRRUS_BRANCH != "nightly-build" + only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master" && $CIRRUS_BRANCH != "branch-nightly-build" gke_container: dockerfile: private/docker/Dockerfile-build builder_image_project: ci-cd-215716 @@ -171,7 +171,7 @@ promote_task: - build - validate - qa - only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master" && $CIRRUS_BRANCH != "nightly-build" + only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master" && $CIRRUS_BRANCH != "branch-nightly-build" gke_container: dockerfile: private/docker/Dockerfile-build builder_image_project: ci-cd-215716 @@ -193,7 +193,7 @@ sql_mssql2017_task: depends_on: build # Comment the following line and commit with message "DO NOT MERGE" in order to run # this task on your branch - only_if: $CIRRUS_BRANCH == "nightly-build" + only_if: $CIRRUS_BRANCH == "branch-nightly-build" gke_container: dockerfile: private/docker/Dockerfile-build builder_image_project: ci-cd-215716 @@ -231,7 +231,7 @@ sql_postgres93_task: depends_on: build # Comment the following line and commit with message "DO NOT MERGE" in order to run # this task on your branch - only_if: $CIRRUS_BRANCH == "nightly-build" + only_if: $CIRRUS_BRANCH == "branch-nightly-build" gke_container: dockerfile: private/docker/Dockerfile-build builder_image_project: ci-cd-215716 @@ -267,7 +267,7 @@ sql_oracle12_task: depends_on: build # Comment the following line and commit with message "DO NOT MERGE" in order to run # this task on your branch - only_if: $CIRRUS_BRANCH == "nightly-build" + only_if: $CIRRUS_BRANCH == "branch-nightly-build" gke_container: dockerfile: private/docker/Dockerfile-build builder_image_project: ci-cd-215716 @@ -302,7 +302,7 @@ upgd_mssql2017_task: depends_on: build # Comment the following line and commit with message "DO NOT MERGE" in order to run # this task on your branch - only_if: $CIRRUS_BRANCH == "nightly-build" + only_if: $CIRRUS_BRANCH == "branch-nightly-build" gke_container: dockerfile: private/docker/Dockerfile-build builder_image_project: ci-cd-215716 @@ -347,7 +347,7 @@ upgd_oracle12_task: depends_on: build # Comment the following line and commit with message "DO NOT MERGE" in order to run # this task on your branch - only_if: $CIRRUS_BRANCH == "nightly-build" + only_if: $CIRRUS_BRANCH == "branch-nightly-build" gke_container: dockerfile: private/docker/Dockerfile-build builder_image_project: ci-cd-215716 -- 2.39.5