23 Commits

Author SHA1 Message Date
Andreas Jaeger
1f9d1067f2 Revert "Inject gerrit-doc.properties for gate-{name}-tox-doc-publish-{envlist}"
This reverts commit 7ce9a98ce271cf19b7c9b28130d76abdc00bf96b.

This breaks all gate job, see http://logs.openstack.org/24/93124/1/check/gate-openstack-manuals-tox-doc-publish-checkbuild/7c11a50

Change-Id: I1cb4766ea5ae628276739564af4afd785dc6d869
2014-05-10 06:54:57 +00:00
Andreas Jaeger
7ce9a98ce2 Inject gerrit-doc.properties for gate-{name}-tox-doc-publish-{envlist}
Our publishing jobs needs gerrit-doc.properties to figure out on which
branch they run. This was removed by accident when moving from maven to
tox jobs. The scripts work fine for master branch without the file but
fail on the stable branch.

Change-Id: I1acb3f6de3a449da6fad23bab1568ba9db7d2c47
2014-05-09 23:00:09 +02:00
Andreas Jaeger
c230fb871b Remove maven from operations-guide and openstack-manuals
Use tox based publishing instead of maven.
The operations-guide jobs now named operations-guide-tox-doc-publishdocs.

For openstack-manuals use openstack-manuals-tox-doc-publishdocs as
single publishing job instead of the many jobs that build a single book
each.

Removes job openstack-docs-site as well, the openstack-doc-tools script
together with this change handles this as well.

Needs change to template '{name}-tox-doc-{envlist}' for injecting
of properties-file.

Also, update 'openstack-operations-guide-{lang}' and
'openstack-install-deploy-guide-{lang}' to use
upload-to-docs-site publisher instead of hand-written one.

Change-Id: Iea3005d2d092342318bd7be475af4ed78a9c1390
2014-04-15 22:48:43 +02:00
Andreas Jaeger
8bb7c303de Add new job to build misc Japanese Guides
This builds for now the Security and HA Guides in Japanese
via tox.

Change-Id: Ice8d2c62f2dddf6a0f21a8f91af5ebad6c7dd936
2014-04-01 09:09:28 +02:00
Jeremy Stanley
e296d375a6 Remove grizzly jobs and job filters
Any grizzly-specific jobs and filters which prevent jobs from being
run on stable/grizzly branches are removed, but this should not be
merged until all stable/grizzly proposed changes have been abandoned
and corresponding branches tagged and deleted.

Change-Id: I39f93f67b96961cd9991b6a13fecddb16e3a20fa
2014-03-27 00:28:11 +00:00
James E. Blair
17bbf537fd Revoke sudo from almost all jobs
Everything except jobs that are designed to run on devstack-precise
or tripleo-precise.  Even the jobs on the static slaves, just to be
more consistent and future-proof (even though it's not strictly
necessary).

Change-Id: I220e4f8346b5db1394536b334bcb7c3a7dd4dedb
2014-03-21 12:00:06 -07:00
James E. Blair
09d120485a Revoke sudo from most jobs
Revoke sudo from all jobs that do or could run on bare-precise nodes.
Do not revoke it from devstack-precise or special nodes.

Change-Id: Icaf0bb5d15b76f985d0d8c0ec4afa6a34568570a
2014-03-19 11:31:11 -07:00
James E. Blair
ef40ea5b5d Remove concurrency restriction from all jobs
We can't guarantee that with 8 jenkins masters anymore anyway, and
this can cause problems if Jenkins gets stuck on a job; all other
jobs scheduled on the same master will wait for it.

Change-Id: Ifb20b6819e5f27da449f2a46d463a29b43695f18
2014-03-11 09:09:11 -07:00
Jeremy Stanley
3d8b647a70 Run most non-sensitive jobs on single-use workers
* doc/source/jjb.rst
* doc/source/stackforge.rst: Update examples to recommend
bare-precise nodes in new job configuration.

* modules/openstack_project/files/jenkins_job_builder/config/*.yaml:
Change the node label for all jobs opreviously using precise to use
bare-precise instead.

* modules/openstack_project/files/zuul/layout.yaml: Get rid of the
transitional matches for setting the single use parameter function
on specific job names and just set it on everything as a default.
Add patterns for jobs which need long-running slaves to apply a
reusable node parameter function instead.

* modules/openstack_project/files/zuul/openstack_functions.py: Add a
parameter function for reusable nodes which refrains from enabling
auto-offline behavior.

* modules/openstack_project/templates/nodepool/nodepool.yaml.erb:
Double the minimum ready bare-precise nodes to accommodate
additional load.

Change-Id: I2a90c5b120a50bb8033c891702185f054ee84d35
2014-02-18 17:50:49 +00:00
Andreas Jaeger
13edbc9885 Fix typo in openstack-install-deploy-guide-{lang} job
Change published-docs to publish-docs to follow reality.

Change-Id: Iff7153ab3bbcb0100b63427f73ef504d78360d3e
2014-02-14 16:39:20 +01:00
Andreas Jaeger
0a0259935d Replace install-deploy-guide-$LANG jobs
Use single freestyle jenkins job instead of four maven jobs.

Infra team: Jenkins job Builder does not handle the change, you need
to remove manually:
- openstack-install-deploy-guide-debian-ja
- openstack-install-deploy-guide-fedora-ja
- openstack-install-deploy-guide-opensuse-ja
- openstack-install-deploy-guide-ubuntu-ja

Change-Id: If8a3f7d98f9aa2644dcb772773edc890879f2f66
2014-02-13 21:19:04 +01:00
Andreas Jaeger
f0e6194fea Publish draft docs on draft-docs
Take care that built books are published on docs-draft.

The checkbuild tox gates copy the files to the git top-level
directory publish-docs and those can then be copied over to
docs-draft.

The patch consists of:
* A new publisher 'upload-docs-draft' for publishing the jobs
* A new publisher 'upload-doc-build-results' for publishing the log
  files of built manuals
* A new job-template 'gate-{name}-tox-doc-publish-{envlist}' that includes
  the new publishers
* Using the job-template in the docs job-group
* Update for Zuul for the above changes

blueprint draft-docs-on-docs-draft

Change-Id: Id3e9543fc67ca28e2882fb73f169d82aaec1aeb7
2014-02-11 19:16:48 +01:00
Jenkins
c34e2a53a5 Merge "Add required steps to build translated install manual" 2014-02-09 15:39:12 +00:00
Łukasz Jernaś
52405a0709 Add required steps to build translated install manual
The manual has a dependency on common, glossary and the user-guide
so we should merge the translations for them before building
the main manual.

Change-Id: I114f2087da8edd423c2841191fa372d53a503d57
Partial-Bug: #1275291
2014-02-02 12:46:41 +01:00
Andreas Jaeger
445555cba6 Use openstack-doc-tools gates for openstack-manuals
Use tox based gating, remove previous jobs.

Change-Id: I78006d4bac9b744aa107806907e880f73a7b1c30
2014-01-28 19:21:37 +01:00
Tom Fifield
a2d2cfdf87 Add build job for Japanese Install Guide
We now have a 100% translated Japanese install guide good to go.
This patch adds a new install-guide build job for foreign languages,
done in a generic way so future foreign languages can be easily
added. It adds Japanese language build jobs, since this is the
first fully translated language.

In addition, the opportunity was taken to genericise the
openstack-operations-guide-ja build job so it can be used
for languages other than Japanese.

NB: this is a first time working with templated jobs and variables,
appreciate careful review ... especially don't want to break the
openstack-operations-guide-ja job as I just got that working again!

Change-Id: I8a1c6462e6a136e05d4313dbfc6dc600d8395b79
2014-01-18 13:20:37 +01:00
Andreas Jaeger
6daca6d37a Create gate for api-site
Create a new job-group that will be used by operations-guide, api-site,
openstack-manuals and perhaps API project repositories.
Use job-group for gating of api-site.

Setup template openstack-doc-gate in Zuul.
Setup api-site gates using new template openstack-doc-gate.
The niceness gate is non-voting for now.

Change-Id: I48b95fe17b79150c64f73e742a2e6e9d06050516
2014-01-16 15:52:49 +01:00
Jenkins
4bd3d6ed40 Merge "Create new gates for openstack-manuals" 2013-10-07 18:18:44 +00:00
Andreas Jaeger
35c0b73de4 Create new gates for openstack-manuals
Trunk and future stable branches will be checked by the new test.py
tool that implements four different checks.

The syntax and build ones should be run also as gate jobs. Syntax
is needed for checking of files that are not included in any books.

The niceness check is non-voting at the moment.

Change-Id: I45aff5a13e39a96134ed4a0353d15059e9e4af64
2013-10-03 06:40:16 +02:00
Andreas Jaeger
69d8dea779 Publish atom.xml for manuals
We need a way to put atom.xml on the docs.o.o webpage - its the
only xml file we publish. A second ftp publisher has been created
that just publishes this file.

Closes-Bug: #1228604
Change-Id: I0a216ae71bfedfd98726b2e1d0df998700d06f95
2013-10-01 22:57:57 +02:00
Andreas Jaeger
eefeb6cdd0 Use Jenkins templates for old manual jobs
Create templates for the old (Grizzly/Folsom only) guides.

Merge all manual templates in projects.yaml under one entry.

Also, publish atom.xml to docs.o.o as only xml file.
Related patch https://review.openstack.org/#/c/47897/

Partial-Bug: #1228604

Change-Id: Id0ccaedc910eecd175b9fb7bd965a10e2371ae08
2013-09-27 22:05:34 +02:00
Andreas Jaeger
fa5a8d20fb Use templates for Install Guides, Training Guide
Create a new template for the Install Guides and use it.
Use the manual template also for the training guide.

Change-Id: Ic0797aabaaf78f1b8814e17c6f25b5f6abe5eaf8
2013-09-20 19:55:36 +02:00
Andreas Jaeger
ffb33f4169 Use first template for manual build jobs
This patch creates a first manual template and uses it everywhere
as appropriate.

Change-Id: Idc194ea4ec0762dce94c491e9571bce0b324c4f3
2013-09-13 08:57:03 +02:00