Commit graph

12 commits

Author SHA1 Message Date
Giuseppe Scrivano 769f8f2d72 test/e2e/run_userns_test.go: new file
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>

Closes: #690
Approved by: mheon
2018-05-04 17:15:55 +00:00
Matthew Heon 04d56c9fe3 Update test-related makefile targets
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>

Closes: #460
Approved by: rhatdan
2018-03-08 08:54:32 +00:00
baude c089cb9c92 Final ginkgo migration
Completion of the migration from bats to ginkgo.  This includes:

* load
* mount
* pause
* port
* run_networking
* search

Note: build will be done within a different PR

Signed-off-by: baude <bbaude@redhat.com>
2018-02-08 12:37:07 -06:00
baude dd133a1ad2 Initial gingko work
This implements the ginkgo integration test framework for
podman.  As tests are migrated from bats to ginkgo, we will
still run both integration suites.  When a test is migrated,
we remove the tests from bats at that time.  All new tests
should be just for the ginkgo framework.

One exception is that we only run the ginkgo suit in the
travis/ubuntu environment.  The CentOS and Fedora PAPR nodes
will more than cover those.

Signed-off-by: baude <bbaude@redhat.com>

Closes: #261
Approved by: baude
2018-01-29 19:12:20 +00:00
baude 1710acd18a Set NOTEST variable to skip tests in papr
The papr test with ansible is really handy for setting up test nodes.  However,
most of the time you want to run the tests manually, specifically the integration
tests.  Passing NOTEST=1 will allow you to skip gofmt, lint, and friends and will
exit before the integration tests.

Signed-off-by: baude <bbaude@redhat.com>

Closes: #242
Approved by: mheon
2018-01-19 14:56:30 +00:00
baude 1d7884b9a4 Fix test syntax
Remove the use of bash -c unless it involves a bash pipe. Also, use
run test_runner.sh inside script so that centos can be happy.

Signed-off-by: baude <bbaude@redhat.com>

Closes: #239
Approved by: baude
2018-01-18 17:53:36 +00:00
baude 0985fce12a switch to bats-core
it seems the original bats project is deprecated and bats-core
is an active fork of it.  we dont have packages in distributions
but will build from source.

Signed-off-by: baude <bbaude@redhat.com>

Closes: #232
Approved by: baude
2018-01-16 22:08:07 +00:00
baude 7f531263e6 Add default CNI configuration
podman needs a pair of configuration files to set up its default
network configuration: a bridge and loopback file.

Signed-off-by: baude <bbaude@redhat.com>

Closes: #161
Approved by: baude
2017-12-22 19:23:36 +00:00
baude 40f01d56ab .papr.yml
Add CNI networking packages to our test hosts. Also
upgrade to f27 where possible

Signed-off-by: baude <bbaude@redhat.com>

Closes: #127
Approved by: baude
2017-12-13 21:38:36 +00:00
baude 4db4947661 selinux issues
Signed-off-by: baude <bbaude@redhat.com>

Closes: #133
Approved by: rhatdan
2017-12-13 20:10:48 +00:00
baude d2eda1a864 Enhancements to papr tests
The PR contains several enhancements to our CI testing.

- enable lint testing on Fedora
- add Centos Atomic as test platform
- integration tests on run on the OS natively (uncontainerized)
- builds are done in containers
- inclusion of Vagrant file for local testing

Signed-off-by: baude <bbaude@redhat.com>

Closes: #18
Approved by: mheon
2017-11-17 02:07:18 +00:00
Daniel J Walsh f590429592 Add .papr support
Don't run lint for now, since we seem to be running out of memory.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2017-11-02 18:10:50 -04:00