Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test suite #68

Closed
debarshiray opened this issue Mar 1, 2019 · 0 comments
Closed

Add test suite #68

debarshiray opened this issue Mar 1, 2019 · 0 comments

Comments

@debarshiray
Copy link
Member

The toolbox has grown enough glue on top of Buildah and Podman that it's worth testing them more methodically. The Podman test suite might serve as a decent starting point for researching how such a test suite might look.

debarshiray pushed a commit to HarryMichal/toolbox that referenced this issue Jan 22, 2020
These tests are written using BATS (Bash Automated Testing System). I
used a very helpful helpers.bash script from the libpod project (Thank
you!) that I tweaked slightly.

containers#68
debarshiray pushed a commit to HarryMichal/toolbox that referenced this issue Jan 22, 2020
debarshiray pushed a commit to HarryMichal/toolbox that referenced this issue Jan 22, 2020
This adds several .yaml files that specify jobs (those in folder
playbooks) and one that serves as the main config (.zuul.yaml).

Tests and builds are currently executed on every change in PRs (ie.,
check and gating) and periodically (according to the documentation
this pipeline should be run at least once a day).

There are 4 tests in total:

1. 'ninja test' - does the same thing that Travis did
2. Fedora 30 - runs the system tests with current Podman and Toolbox
   in Fedora 30
3. Fedora 31 - the same but for Fedora 31
4. Fedora Rawhide - the same but for Fedora Rawhide

containers#68
debarshiray pushed a commit to HarryMichal/toolbox that referenced this issue Jan 22, 2020
Travis was running 'ninja test' and that's now covered by Zuul.

containers#68
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant