16 Commits

Author SHA1 Message Date
Andreas Jaeger
b7427dea85 Publish additionally to Icehouse
This publishes config reference and install guides to both /trunk and /icehouse.

Change-Id: I26f75c67fe416f49dcbeb48a2e91d2df9cd121cd
2014-04-15 16:36:28 +02:00
Andreas Jaeger
d0b57929fe Use xargs -0 instead of --null
This gives compatibility with OS X in the test.

Change-Id: Ic7ec31f8d8ab40654c81992b3fc2b8f1f1b73b4c
2014-04-03 20:37:23 +02:00
Andreas Jaeger
9e9dc87d3f Check that all po/pot files are valid
Perform minimal checks on po and pot files so that no broken files can
get imported.

Change-Id: Ic39d68106259a225fa5e5399123063e7c35ba150
Co-Authored-By: Clark Boylan <clark.boylan@gmail.com>
Related-Bug: #1299349
2014-03-31 22:39:42 +02:00
Andreas Jaeger
e9594f32f5 Allow building of localized Sec and HA manuals
Create a "buildlan-misc" target in tox to build Security Guide and High
Availability Guide.

Change-Id: I7ff46db354570e9f6b29e6a09237e903c599425a
2014-03-29 18:44:16 +01:00
Andreas Jaeger
1547ca93ed Fix tox.ini for both tox 1.6 and 1.7
The current way fails to work with tox 1.6 when building the translated
manuals.
Fix so that it now really works with both tox 1.6 and 1.7.

Note that this is a workaround for a bug in tox 1.7.

Change-Id: Ib1cf8ccfc162fe313b9f2be35b78f5004634f97b
2014-03-20 19:59:49 +01:00
Andreas Jaeger
43db6cf70b Fix tox.ini for tox 1.7
tox 1.7 changed parsing of {posargs}, workaround the regression.

Change-Id: Icab04218b61a3cca7d965d6300b8a233f8e143fa
2014-03-13 14:11:29 +01:00
Andreas Jaeger
d03a52f713 Create publishdocs target for publishing
tox -e publishdocs will be called by the post jenkins jobs to prepare
everything for publishing - and then the content of publish-docs
gets copied.

Change-Id: Ic6540fd279549e082ccc0abd60623b553e798f1d
2014-02-14 16:16:22 +01:00
Andreas Jaeger
5ba82d1e45 Changes for openstack-doc-tools 0.7
The binary generatedocbook is now called openstack-generate-docbook.
We need to do the buildlang test with --nocreate-index.

Change-Id: If41e424614940aff259d9f1b33d779bc55deb2eb
2014-02-14 07:22:20 +01:00
Andreas Jaeger
06b0d876b8 Rename buildlang to buildlang-install
Allow usage of several buildlang jobs in the future.

Change-Id: Ied3bbc2d93273be882d38eb307af6744f023d1f2
2014-02-13 20:59:53 +01:00
Jeremy Stanley
2b4abb7348 Remove tox locale overrides
* tox.ini: The LANG, LANGUAGE and LC_ALL environment overrides were
introduced originally during the testr migration in an attempt to be
conservative about the possibility that locale settings in the
calling environment could cause consistency problems for test runs.
In actuality, this should be unnecessary and any place where it does
cause issues ought to be considered an actual bug. Also, having
these in the configuration actively causes older pip to have
problems with non-ASCII content in some package metadata files under
Python 3, so drop it now.

Change-Id: I16002522bb90439c6991699151a1f713a62986c5
Closes-Bug: #1277495
2014-02-10 03:07:03 +00:00
Andreas Jaeger
3f7aea4398 Remove doc-test-exceptions.txt
This is handled now via doc-test.conf, we can remove the file
completely now.

Change-Id: I443c375ccdc8f5bb9979356d822e1d7ac7a2bebc
2014-02-09 19:45:27 +01:00
Andreas Jaeger
b00bcfbe94 Use sitepackages for buildlang job
We need sitepackages set since gneratedocbook needs xml2po
which cannot be installed in the venv. Since it's installed in
the system, let's use sitepackages.

Change-Id: Ibdae32d2dd28ffe2a19b1400da84ec1f57a0fc24
2014-02-07 17:48:15 +01:00
Andreas Jaeger
ad92297e4b Create tox jobs for translated manual
Create new job for building of translated manual.
The job needs version 0.5 of openstack-doc-tools to support the "-l"
flag.

Change-Id: Ic898d364650a6f3e2aac2fa13af779627bd53883
2014-02-04 21:31:37 +01:00
Andreas Jaeger
1afbccbea3 Use doc-test-exceptions file for gating
Use doc-test-exceptions.txt to contain list of files to ignore
for gating tests.

Change-Id: Id0748289747f94598542a85e3caf7fb5a00aaa7d
2014-01-28 19:32:42 +01:00
Andreas Jaeger
db7c4fa3fd Allow passing arguments to tox
Pass extra arguments to tests.

This allows to run for example:
       tox -- --force

Also reorder elements of envlist.

Change-Id: I6377da8dec6b6b15a6ea3899e2651cfd40b221f0
2014-01-03 10:42:16 +01:00
Andreas Jaeger
a9f98d343d Setup for openstack-doc-tools
Add files to allow gating via:
tox -e checkbuild
tox -e checkniceness
etc

Also, enhance .gitignore to ignore files used by gating
via openstack-doc-tools

Change-Id: I96b669e14425265a033a549264c2158e2b1afa3e
2013-12-31 17:38:46 +01:00