summaryrefslogtreecommitdiff
path: root/pkg/adapter/pods.go
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2019-10-22 12:31:30 -0400
committerChris Evich <cevich@redhat.com>2019-10-29 10:34:58 -0400
commit8303eb30377a41879c982b62b53cc549c60b74c0 (patch)
tree4b7242de8dba16a0406552ebee90135ec95e322e /pkg/adapter/pods.go
parenta56131fef4a82824b397c94f6b7edcdb24769624 (diff)
downloadpodman-8303eb30377a41879c982b62b53cc549c60b74c0.tar.gz
podman-8303eb30377a41879c982b62b53cc549c60b74c0.tar.bz2
podman-8303eb30377a41879c982b62b53cc549c60b74c0.zip
Cirrus: Only upload tagged releases
Prior to this commit, every push to master had it's builds packaged and uploaded to google storage. This is a waste, since potential users are only ever concerned about tagged releases. Unfortunately because the release process involves humans with potentially multiple human and automation steps happening in parallel, it's easy for automation to not detect a tagged release, or trigger on development|pre-release tags. Fix this in `upload_release_archive.sh` using a new unit-tested function `is_release()`. This acts as the definitive authority on whether or not a specific commit rage or `$CIRRUS_TAG` value constitutes something worthy of upload. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'pkg/adapter/pods.go')
0 files changed, 0 insertions, 0 deletions