The version of bats (1.1.0) pre-installed in VM images does not support
the --jobs option. Further, executing bats tests in parallel is
discouraged from a reliability and consistency perspective.
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>