podman/contrib/cirrus
Ed Santiago 3baa9da4ed WIP: run buildah bud tests using podman
Set of scripts to run buildah's bud.bats test using
podman build in podman CI.

podman build is not 100% compatible with buildah bud.
In particular:

  * podman defaults to --layers=true; buildah to false
  * podman defaults to --force-rm=true; buildah to false
  * podman error exit status is 125; buildah is 2
  * differences in error messages, command-line arguments

Some of the above can be dealt with programmatically,
by tweaking the buildah helpers.bash (BATS helpers).
Some need to be tweaked by patching bud.bats itself.
This PR includes a patch that will, I fear, need to
be periodically maintained over time.

There will likely be failures when vendoring in a
new buildah, possibly because new tests were added
for new features that don't exist in podman, possibly
(I hope unlikely) if existing tests are changed in
ways that make the patch file fail to apply. I've
tried to write good instructions and to write the run
script in such a way that it will offer helpful hints
on failure. My instructions and code will be imperfect;
I hope they will be good enough to merit continued use
of this test (possibly with improvements to the instructions
as we learn more about real-world failures).

Signed-off-by: Ed Santiago <santiago@redhat.com>
2021-03-21 06:59:01 -06:00
..
99-do-not-use-google-subnets.conflist Cirrus: Block CNI use of google VPCs 2019-08-28 09:02:31 -04:00
add_second_partition.sh Cirrus: Implement podman automation 2.0 2020-10-02 11:53:04 -04:00
cirrus_yaml_test.py Cirrus: Implement podman automation 2.0 2020-10-02 11:53:04 -04:00
cron-fail_addrs.csv Cirrus: Send cirrus-cron report e-mail to list. 2021-02-08 12:11:16 -05:00
ext_svc_check.sh Spelling 2020-12-22 13:34:31 -05:00
lib.sh Cirrus: Fix running Validate task on branches 2021-01-27 10:35:27 -05:00
logcollector.sh Cirrus: Collect ginkgo node logs artifacts 2021-02-03 10:44:41 -05:00
logformatter Spelling 2020-12-22 13:34:31 -05:00
logformatter.t logformatter: add Synopsis at top of each page 2020-10-01 20:33:20 -06:00
pr-should-include-tests pr-should-include-tests: recognized "renamed" tests 2021-02-22 07:21:04 -07:00
pr-should-include-tests.t pr-should-include-tests: recognized "renamed" tests 2021-02-22 07:21:04 -07:00
required_host_ports.txt Fix static build cache by using cachix 2021-01-27 16:15:23 +01:00
runner.sh WIP: run buildah bud tests using podman 2021-03-21 06:59:01 -06:00
setup_environment.sh WIP: run buildah bud tests using podman 2021-03-21 06:59:01 -06:00
shellcheck.sh Cirrus: Fix running shellcheck locally 2020-10-06 16:01:24 -04:00
swagger_stack_trace.png Improve swagger+CORS metadata docs 2020-06-09 09:53:19 -04:00
timestamp.awk CI - various fixes 2020-07-25 12:32:53 -06:00