summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2019-10-30 10:35:20 -0400
committerChris Evich <cevich@redhat.com>2019-10-30 14:31:38 -0400
commit326ef19d942c8922ebba68e96d870d5117f67472 (patch)
treed95167354848a6366ee1553e3a5630a8e127cbd4 /Dockerfile
parent63b57f5147462bef19df842f9c92868f7bdaea8a (diff)
downloadpodman-326ef19d942c8922ebba68e96d870d5117f67472.tar.gz
podman-326ef19d942c8922ebba68e96d870d5117f67472.tar.bz2
podman-326ef19d942c8922ebba68e96d870d5117f67472.zip
Cirrus: Fix upload_release_archive on branch or tag
Cirrus-CI only sets `$CIRRUS_BASE_SHA` when testing PRs since the destination and it's state is easy to discover. However, when post-merge and/or tag-push testing, the previous state is not easily discoverable (changes have already merged). The `upload_release_archive` script incorrectly assumed this variable was always set, causing a constant stream of post-merge testing failures. Tweak the `is_release()` function to properly handle an empty `$CIRRUS_BASE_SHA` whether or not `$CIRRUS_TAG` is also set. Also update the unit-tests to check for this. Also account for a corner case where hack/get_ci_vm.sh is running on a VM w/o git. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'Dockerfile')
0 files changed, 0 insertions, 0 deletions