Update the current gate 'slides' to build and publish upstream
training content. This patch does the following changes.
* Adds generateslides script to use sphinx/hieroglyph to build slides
* Updates tox.ini to use generateslides script
* Update .gitignore to ignore _build/ directory which is the default
folder for generated output generated by sphix.
Hence forth, any changes to the upstream training rst slides will be
gated and published, also it is essential to note that these jobs are
new and may not be accurate or reliable to address all the errors in
the rst slides.
Change-Id: I8a220dd31501f9b3733a6282d7048fe283d2a0d1
modifided tox.ini and requirements.txt to install
hieroglyph, added some changes in the styles
of the individual .rst files to support hiero
Change-Id: Id2674e593857470cf4efa0706a4fbda33813f374
Add script launch_instance.sh for basic instance VM tests. The script
tries to deal with a number of failures that have turned up in testing
(e.g., services failing to start, instance not launching).
The changeset includes three scripts in a new tools directory.
1) To run a test once, use test-once.sh:
$ ./tools/test-once.sh scripts/test/launch_instance.sh
2) To restore (and boot) the cluster to an earlier snapshot, use
restore-cluster.sh.
The argument selects the snapshot used for the controller node VM.
To select the most recently used snapshot:
$ ./tools/restore-cluster.sh current
To select the controller snapshot, "controller_node_installed":
$ ./tools/restore-cluster.sh controller_node_installed
3) To run the same test repeatedly, use repeat-test.sh. The test script
name is hard-coded (launch_instance.sh). The argument determines
whether the cluster is rebuilt for each test or if a snapshot of
the cluster is restored.
The controller snapshot is hardcoded (controller_node_installed);
this particular snapshot is of interest because it does not seem to
result in a reliable cluster.
Log files are stored in log/test-results. Repeat-test.sh also
saves log files from each node's /var/log/upstart to help with
analyzing failures.
$ ./tools/repeat-test.sh restore
After running a number of tests, you can get some simple stats
using a command like this:
$ grep -h SUM log/test-results/*/test.log|LC_ALL=C sort|uniq -c
Co-Author: Pranav Salunke <dguitarbite@gmail.com>
Change-Id: I20b7273683b281bf7822ef66e311b955b8c5ec8a
This patch adds one directory to .gitignore: the directory where the
Vagrant insecure ssh keys are cached.
They are downloaded and stored automatically by osbash and should not be
added to the training-guides repo.
Change-Id: I6ab7407ca52cd589812cd2b2054a5981a51651ae
The training-labs scripts create various artifacts that should not be
tracked by git. They are created in four directories which are added
to .gitignore by this changeset.
Partial-Bug: 1312764
Implements: blueprint openstack-training-labs
Change-Id: I89b103216ca3993448948966b832886bdd7a0ccf