summaryrefslogtreecommitdiff
path: root/code-of-conduct.md
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2019-02-12 15:13:50 -0700
committerEd Santiago <santiago@redhat.com>2019-02-13 05:27:56 -0700
commit17a5f39739f560326c8c4d5f10348e2aa9050ef9 (patch)
tree63de81997785a20ffa502dbdba100184b7e2848f /code-of-conduct.md
parentbdf537f4fc983c30c945297d9ee33891a127f9bd (diff)
downloadpodman-17a5f39739f560326c8c4d5f10348e2aa9050ef9.tar.gz
podman-17a5f39739f560326c8c4d5f10348e2aa9050ef9.tar.bz2
podman-17a5f39739f560326c8c4d5f10348e2aa9050ef9.zip
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>
Diffstat (limited to 'code-of-conduct.md')
0 files changed, 0 insertions, 0 deletions