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>
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
Add system package dependencies (build-essential, golang-1.10) and
set GOPATH to $HOME for the zuul user which should magically work with
the zuul git repo pathing. Additionally use shell with set -x.
We switch to xenial so that we can use upstream docker-ce packages which
the kata ci seems to expect.
Depends-On: Ief0f20c2f1b42a5c23ed05f7185c58700f65b06e
Change-Id: Ibb5cee5ba90662e53c39dcf686a52bcafe81c933
We rename the job to kata-runsh to satisify the unique job name
constraint. This allows the job to be self testing with a depends on on
the github side PRs.
Change-Id: I7b0722c120c1e0a1f6315e75f739fa29baab1738