spiegel_podman/hack
Ed Santiago f75ad6d5c2 podman-registry helper script: handle errors
My initial revision of the podman-registry helper script
was written in haste, with an enormous tradeoff: no
visibility into any errors. We are now paying for this
in #6366: the script is failing on Ubuntu and we
have no way of knowing why.

This PR adds a must_pass() function used for critical
steps. This runs the action silently; if the command
fails, it displays the failing command name with
full output logs, cleans up the temporary workdir,
and exits with error status.

As a reminder, the reason this is necessary is that
our script convention is to output a series of
environment variables to stdout -- we must therefore
take pains not to emit anything else to stdout.
And, unfortunately, podman and openssl tend to be
rather verbose.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-05-24 08:10:54 -06:00
..
podman-registry-go add go-bindings for hack/podman-registry 2020-05-20 15:12:35 +02:00
apparmor_tag.sh AppArmor: runtime check if it's enabled on the host 2018-07-23 18:11:09 +00:00
btrfs_installed_tag.sh Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
btrfs_tag.sh Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
get_ci_vm.sh Cirrus: Fix image-name hints 2020-05-14 15:00:34 -04:00
get_release_info.sh Cirrus: Fix gate image & false-positive exits 2020-03-02 08:50:54 -05:00
golangci-lint.sh podman rmi: refactor logic 2020-04-21 08:12:25 +02:00
install_catatonit.sh catatonit: clone and build 2019-09-25 11:05:41 +02:00
install_golangci.sh Cirrus: Fix gate image & false-positive exits 2020-03-02 08:50:54 -05:00
libdm_tag.sh Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
man-page-checker Merge pull request #5465 from edsantiago/man_page_option_checker 2020-03-19 16:53:02 +01:00
podman-commands.sh auto updates 2020-03-17 17:18:56 +01:00
podman-registry podman-registry helper script: handle errors 2020-05-24 08:10:54 -06:00
podmanv2-retry podmanv2-retry - new helper for testing v2 2020-04-01 14:14:00 -06:00
release.sh Fix a syntax error in hack/release.sh 2020-01-31 10:55:17 -05:00
selinux_tag.sh Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
swagger-check swagger-check: new CI tool to cross-check swagger 2020-04-14 11:27:44 -06:00
systemd_tag.sh Use systemd/sd-daemon.h headers for systemd presence 2019-12-16 20:37:15 +05:30
tree_status.sh Cirrus: Add check for make varlink_api_generate 2019-05-03 15:04:48 -04:00
xref-helpmsgs-manpages Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00