Also modernize main library to resemble what's used in other
containers-org repositories. Lastly, update hack/get_ci_vm.sh to use
the new shared container image.
Signed-off-by: Chris Evich <cevich@redhat.com>
It's not possible to run any of the scripts on distributions which do
have `bash` not in `/bin`. This is being fixed by using `/usr/bin/env
bash` instead.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
For some unknown reason, running BATS on any version of Ubuntu VM using
the parallel `--jobs`` argument will execute tests properly but only
produce errors like `...stdout: No such file or directory`. When
operating on an Ubuntu VM, override `$JOBS` with `1` as a workaround.
Also, fix `get_ci_vm.sh` to properly parse env. vars. out of
`.cirrus.yml` while properly substituting embedded variable values.
This makes it properly print out image name hints, and properly set
variables during execution.
Signed-off-by: Chris Evich <cevich@redhat.com>
Previously automation on this project used the low-level VM images
mostly as-is from google. However, due to many items fixed by
https://github.com/containers/libpod/pull/3632 it makes more sense
to use the cache-images instead.
Non-deterministic behavior is a severe detriment to testing
reliability. By using the libpod cache-images, this projects inherits
the libpod PR-based image-build workflow, a slew of pre-installed
packages, along with disabled default background services.
This should result in both faster and more reliable testing.
Signed-off-by: Chris Evich <cevich@redhat.com>