Commit Graph

7 Commits

Author SHA1 Message Date
Andreas Jaeger b49d5c8961 Remove kata jobs
These jobs and roles are not needed anymore here,
kata has its own tenant.

Change-Id: I4d9912864ec549e46fe398baef5265b89e4f4a96
2019-08-28 20:54:26 +02:00
Salvador Fuentes cd1385507e kata-containers: add /usr/sbin to the PATH
Add `/usr/sbin` to the PATH.
On Fedora zuul machines `/usr/sbin` seems to not be in
the PATH by default, which makes fdisk to not be found
making some docker tests to fail.

Change-Id: I9732e45dee43a53f5ecd4d3fd4853d82f236c288
Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
2018-12-17 12:00:19 -06:00
Salvador Fuentes 6d01e66ff0 Add zuul envar for kata tests
In order to know we are running under a zuul slave,
we need to add an environment variable. In this case
it is ZUUL=true. This will allow the kata-containers
scripts to run the tests with the appropiate flags.

Change-Id: Ib040c032ad49beb5e2041e92efe41ce4e8b98799
Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
2018-09-27 09:51:09 -05:00
Clark Boylan e38bcb4c12 Configure git user details for kata
The kata test jobs apply patches to git repos with git. This creates
commits which requires you have a user configured in git. Set up a
global git config with generic Zuul identify info in it to address this.

More details at https://github.com/kata-containers/ci/issues/65

Change-Id: I08a6a13501fad92cd290f0a9e5559f61b11d7fab
2018-09-14 08:25:37 -07:00
Clark Boylan 97b42fefb3 Add $GOPATH/bin to kata job's $PATH
Kata need their built binaries to be in the PATH for tests to work
properly.

Change-Id: I8c05e7a5a02fdeb337c7ba6871dba0a9cebcdf13
2018-07-12 08:55:03 -07:00
Clark Boylan 7bfe80df73 Cleanup the kata setup role
This adds a modprobe for vhost_net to ensure it is present for kata.
Also we will remove the explicit docker install as .ci/setup.sh should
do it for us now.

Allow k8s cluster-cidr range to talk to port 6443 (k8s api server).

Change-Id: Ic1c13e9635e00bcdd096c48c8a7983ccc19bfbda
2018-07-03 20:07:42 -07:00
Clark Boylan 0356342edb Add fedora 28 support to kata runsh job
This refactors the kata runsh job a bit to push pre.yaml setup into a
role so that we can more easily include distro specific tasks. This
allows us to have differing ubuntu and fedora setup in a readable
manner.

Change-Id: I06029f49a81d0a4262c58e8f45a1414efa43d920
2018-06-22 14:42:07 -07:00