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>
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>
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
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
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