Commit Graph

7 Commits

Author SHA1 Message Date
Thierry Carrez 93ac6c9971 Retire kata-containers/zuul-config
The Kata Containers project no longer uses Zuul for CI.
This project is therefore no longer maintained.

Change-Id: I1426be073422ee243d599893ea8e54f12d74d785
2020-08-04 14:49:12 +02:00
Graham Whaley 31c8ee102b QA CI: Put /usr/local/go/bin in PATH
The CI setup scripts may (likely will) install the correct
version of golang into /usr/local/go/* when run. Ensure
we have that in our PATH before the system default go,
else the build will likely fail (due to using the wrong
go version).

The modification is in two places (playbook and role/task),
as afaict there is no mechanism to set an ansible style
`environment` at a higher level, such as the higher level
Zuul jobs.yaml file, that will then persist across all
sub-execution units. We could maybe place the required PATH
into a var, and use that to set the PATH in the lower down
items *if* maintenance becomes too much of a burden.

Change-Id: I34205d5c4397d730eaf266122591140e0647b49b
Signed-off-by: Graham Whaley <graham.whaley@intel.com>
2019-04-18 11:17:15 +01:00
Graham Whaley 532de2e94b setup: Add distro specific pre-setups
We need to have golang installed as a minimum to run the CI
scripts. Add this as a distro-specific set of files, which
then allows us to:
 - specialise in the future per distro if need be
 - note (fail gracefully) when we run on a new distro
   for the first time.

Note, the distro specific parts are specifically added as a
role as they will not pass the playbook linter if placed
in the playbook tree (they are fragments, and playbooks
are expected to be complete).

Change-Id: Icb675c30a5ddcc5bdbebb7413808a58af4e838b7
Signed-off-by: Graham Whaley <graham.whaley@intel.com>
2019-04-08 17:35:42 +01:00
Graham Whaley 7000de896a QA CI: Add Ubuntu 16.04 QA CI
Add the relevant pipeline, jobs, roles, playbooks etc.
to enable a Kata QA CI build/run on Ubuntu 16.04 triggered
by the relevant github state changes.

Change-Id: Id4174c68856bbb792c002b05e36e36bfe19dbca9
Signed-off-by: Graham Whaley <graham.whaley@intel.com>
2019-03-13 17:23:29 +00:00
Graham Whaley 30453b1638 yamllint: make files compliant
To aid pre-checks before submission, lets make the files pass
the default yamllint checks - then we can use yamllint to check
new changes going forwards.

Changes were:
 - change True to true for some bools (which also then matches
   the zuul gerrit driver docs)
 - add '---' document start lines
 - wrap one >80 char line using a '>' string construct

Change-Id: I5c365517606b2c331e7155c56b9ebd7873244b10
Signed-off-by: Graham Whaley <graham.whaley@intel.com>
2019-02-27 19:13:42 +00:00
Thierry Carrez 3aad8411ba Add Zuul job for testing GitHub WIP status
Add a kata-github-wip Zuul job that can be used to test
for presence of specific WIP PR labels or specific WIP
keywords in the PR title and block the PR accordingly.

Suppress the placeholder job that was added just to
pass initial tests.

Change-Id: I4f50c77e19f1e76bf65ebfcb9ea587e0556dda03
2019-01-31 15:37:52 +01:00
Thierry Carrez 1cd4bfd0f7 Initial commit
This initial commit contains pipeline definitions,
job definitions, and job pipeline definitions for
kata-containers/zuul-config itself.

Includes a minimal placeholder playbook and role so
that the tests actually pass. Those can be removed
once proper playbooks and roles are added.

Depends-On: https://review.openstack.org/630994
Change-Id: I41d4f8a958eaa66e016e0a35e4df68f992ce6009
2019-01-30 14:20:16 +01:00