9 Commits

Author SHA1 Message Date
KATO Tomoyuki
f02d698a6a Add a script to build the traslated guides
* attach a sample Japanese language file to test multiple language building.

Change-Id: I48b2d87b752c01cf71d43b3766bd238d37a8c350
2015-11-30 13:04:49 +09:00
Pranav Salunke
9ac3590de7 Adds upstream training to OpenStack gate
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
2015-04-07 14:27:06 +02:00
Jenkins
c853fa5422 Merge "Porting presentations to Sphinx/Hieroglyph" 2015-03-31 00:05:20 +00:00
Pranav Salunke
f1e4bfeca8 Porting presentations to Sphinx/Hieroglyph
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
2015-03-26 14:33:38 +01:00
Roger Luethi
8a6a88b6b8 labs: add test script and helpers
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
2015-03-08 13:59:31 +01:00
Roger Luethi
e8a86457a0 labs: don't track Vagrant ssh keys
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
2014-07-28 10:24:04 +02:00
Pranav Salunke
1afc83562e Update gitignore
Updates gitignore to ignore .vagrant/* folder.

Change-Id: Ic8f9c82fd5b8a2ba97ac4c21068df102d11b7cab
Implements: blueprint openstack-training-labs
2014-06-20 11:41:17 +05:30
Roger Luethi
f9e148b276 Add labs artifacts to .gitignore
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
2014-06-18 14:38:21 +02:00
Sean Roberts
016dfcc7c6 adding missing .gitignore file
Change-Id: Ifce1b934ed5624cfe0418f278e57e4e8d5f80532
Closes-Bug: #1329137
2014-06-11 19:36:27 -07:00