diff options
author | Chris Evich <cevich@redhat.com> | 2019-07-09 12:03:04 -0400 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2019-08-01 14:07:55 -0400 |
commit | 0a05af1dd6ed8b6e58270b7a5de25291b24362f0 (patch) | |
tree | d24284c4521f9e3fa9b767b3bac16525f2a8b940 /contrib/cirrus/setup_environment.sh | |
parent | afb493ae9b1cc98db1f6d9a211b561bb245692de (diff) | |
download | podman-0a05af1dd6ed8b6e58270b7a5de25291b24362f0.tar.gz podman-0a05af1dd6ed8b6e58270b7a5de25291b24362f0.tar.bz2 podman-0a05af1dd6ed8b6e58270b7a5de25291b24362f0.zip |
Cirrus: Add Second partition for storage testing
This is mainly/initially to support use of Cirrus-CI
in https://github.com/containers/buildah since that setup
re-uses the VM images from this project. However, it also
opens doors here, if libpod ever needs/wants to do things
with a dedicated storage device and/or storage-drivers.
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/setup_environment.sh')
-rwxr-xr-x | contrib/cirrus/setup_environment.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/cirrus/setup_environment.sh b/contrib/cirrus/setup_environment.sh index 2230684ac..5d350263e 100755 --- a/contrib/cirrus/setup_environment.sh +++ b/contrib/cirrus/setup_environment.sh @@ -42,8 +42,11 @@ case "${OS_REL_VER}" in ln -f "$CRIO_RUNC_PATH" "/usr/bin/runc" fi ;; - fedora-30) ;; - fedora-29) ;; + fedora-30) ;& # continue to next item + fedora-29) + if [[ "$ADD_SECOND_PARTITION" == "true" ]]; then + bash "$SCRIPT_BASE/add_second_partition.sh"; fi + ;; centos-7) # Current VM is an image-builder-image no local podman/testing echo "No further setup required for VM image building" exit 0 |