Commit Graph

6 Commits

Author SHA1 Message Date
Mark Burnett 23840f8f6f Make gate scripts more robust
* remove unused kube-proxy credential substitutions
* add liveness & readiness probes to promenade-api
* fix misleading log message about tar file caching
* don't accidentally overwrite TEMP_DIR variable in functions
* add on_error script for genesis

Change-Id: I5d5b46489fa8c0a10200cbac8cf59462030eb144
2018-02-14 14:27:26 -06:00
Mark Burnett 9e0ab1871a Update complete example to reflect recent changes
* Adds retries to parts of the teardown script.
* Caches tar_urls from Promenade config.

Change-Id: I009eff2479cf486d03bececc975aba6c08b9a8f6
2018-02-12 14:22:11 -06:00
Mark Burnett 9a5d70f30a Gate: Bash array fixups and improvements
Change-Id: I4dd722f9d115c395f60b2c4a5ced739527ae4f96
2017-11-01 13:32:04 -05:00
Mark Burnett 986016cb9c Gate: Use ShellCheck to lint scripts
This linting is currently limited to scripts in the new gate.

Change-Id: Id4906af0c8dc1e4b77eb0909d432ba8b6e32f5c4
2017-10-31 10:38:23 -05:00
Mark Burnett e56ad622c3 Add an example with Ceph
This extends the virsh-based test tooling to both the previous, basic
example and the new "complete" example.  It also removes the Vagrant
tooling.

Change-Id: I249f937e9b3eedc486e31a3d1c1ac31bcfdf0ca8
2017-10-26 07:40:31 -05:00
Mark Burnett 1cfbdd627d Add virsh-based local testing environment
This is intended to address difficulties in setting up the existing
Vagrant-based development environment, and provide a locally-runnable
gate script.

./tools/gate.sh runs tests as specified by a JSON manifest.  Valid
manifests live in `tools/g2/manifests`.  Currently, the following are
supported:

* full - Run an extensive suite.
* genesis - Run only through Genesis.
* quick - Run a small cluster test.
* prepare - Run only the off-site preparation before Genesis -- useful
  for quick sanity testing.

Change-Id: I4900d34437f9fe735f580ab91b38a6bb5424481e
2017-10-24 13:24:43 -05:00