automation-tests/hack
Ed Santiago 17a5f39739 get_ci_vm : allow running without sudo
More complicated than one would think. The first problem is that,
on certain (but not all) Fedora systems, podman cannot mount
volumes read-only (issue #2312). This is baffling, and since
it's not easily reproducible it's likely that the dev team
will not spend much effort on it. Workaround: instead of bind-
mounting /tmp read-only, bind-mount a *tempdir* (subdirectory)
read-write. This is actually cleaner in some ways but it
leads to complications with the paths we use and with cleanup.

Next, allow overriding the default image and allow asking
for no sudo:

    export GCLOUD_IMAGE=quay.io/edsantiago/gcloud_centos:latest
    export GCLOUD_SUDO=

(yes, that's an equal-sign and EOL. Just an empty string).

The third part, unfortunately, requires a custom image because
the as_dollar_user.sh script (the one that runs gcloud in a
container) is hardwired in a cevich image and needs tweaks
in order to detect rootless and avoid sudo.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2019-02-13 05:27:56 -07: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 get_ci_vm : allow running without sudo 2019-02-13 05:27:56 -07:00
install_catatonit.sh add container-init support 2019-01-04 11:42:03 +01:00
libdm_tag.sh Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
ostree_tag.sh build: enable ostree in containers/storage when available 2018-07-11 17:26:21 +00:00
release.sh hack/release.sh: Add a guard against -dev suffixes for argv[2] 2018-06-10 10:51:11 +00:00
selinux_tag.sh Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
tree_status.sh Cirrus: add vendor_check_task 2019-02-06 11:14:06 +01:00