diff options
author | Chris Evich <cevich@redhat.com> | 2019-03-16 12:14:43 -0400 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2019-03-16 12:14:43 -0400 |
commit | 2e2a17356715884e49877fb7d7808bdb4041900e (patch) | |
tree | b570e2574b5a3c199adf49674d320d85d2726aa5 /contrib/cirrus | |
parent | 97fb49571828b9d206ff284ed18448f96ae877e9 (diff) | |
download | podman-2e2a17356715884e49877fb7d7808bdb4041900e.tar.gz podman-2e2a17356715884e49877fb7d7808bdb4041900e.tar.bz2 podman-2e2a17356715884e49877fb7d7808bdb4041900e.zip |
Cirrus: Fix post-merge failure notice
Likely caused by rebase typos after removing test-commit. This fixes
notifications to actually get sent. Also show env. vars after setting
up the environment - helps debugging.
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus')
-rwxr-xr-x | contrib/cirrus/notice_master_failure.sh | 3 | ||||
-rwxr-xr-x | contrib/cirrus/setup_environment.sh | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/contrib/cirrus/notice_master_failure.sh b/contrib/cirrus/notice_master_failure.sh index e18460a54..4b09331d3 100755 --- a/contrib/cirrus/notice_master_failure.sh +++ b/contrib/cirrus/notice_master_failure.sh @@ -12,8 +12,7 @@ NOR="$(echo -n -e '\x0f')" if [[ "$CIRRUS_BRANCH" =~ "master" ]] then BURL="https://cirrus-ci.com/build/$CIRRUS_BUILD_ID" - echo "Monitoring execution of $CIRRUS_TASK_NAME and notifying on failure" - MSG="${RED}[Action Recommended]: ${NOR}Post-merge testing ${RED}$CIRRUS_BRANCH failed${NOR} in $CIRRUS_TASK_NAME on $(os_release_id)-$(os_release_ver): $BURL. Please investigate, and re-run if appropriate." + ircmsg "${RED}[Action Recommended]: ${NOR}Post-merge testing ${RED}$CIRRUS_BRANCH failed${NOR} in $CIRRUS_TASK_NAME on $(os_release_id)-$(os_release_ver): $BURL. Please investigate, and re-run if appropriate." fi # This script assumed to be executed on failure diff --git a/contrib/cirrus/setup_environment.sh b/contrib/cirrus/setup_environment.sh index ead2f7343..618027ecd 100755 --- a/contrib/cirrus/setup_environment.sh +++ b/contrib/cirrus/setup_environment.sh @@ -89,4 +89,6 @@ then fi fi +show_env_vars + record_timestamp "env. setup end" |