We do not need gerrit-git-prep anymore, zuul-git-prep works on all our
slaves and has the advantage of using zuul-cloner so that the local
cache is used and Depends-On works.
Remove gerrit-git-prep and use zuul-git-prep instead everywhere.
Change-Id: I2f106af58f78fceaf3c497fe43e6f5a002695645
Nova has subproject called Placement API. It will be separated
openstack project in the future but until some moment it's in Nova.
Placement API has its own api-ref run by `tox -e placement-api-ref`.
This change adds new jenkins job gate-placement-api-ref-nv run for Nova
project only. It uploads built api-ref to separate folder on docs-draft.
When Placement API has separate code base this changes should be reverted.
Change-Id: I891a2512efe067f3f45a24cc4ff19460a568046e
JJB already has a tox module[1]. Defining a macro with the same name is
confusing and may cause problems when attempting to use this macro
elsewhere. Renaming it to something else should clear things up.
This is the warning from JJB:
$ jenkins-jobs test -o out ../project-config/jenkins/jobs
WARNING:jenkins_jobs.registry:You have a macro ('tox') defined for
'builder' component type that is masking an inbuilt definition
[1] http://docs.openstack.org/infra/jenkins-job-builder/builders.html#builders.tox
Change-Id: I6946229f6e94a5f4c10d6a5fc3b7049adeacacb1
Create a custom job for building and uploading the draft docs of the
firstapp document and use it. We cannot use the normal tox job since the
results are not uploaded to docs-draft for these.
Change-Id: I58236cc6d42f977d9c4798618500218bad79a4e6
This is so that we can create a list of directories to ignore when we
rsync documentation builds to a publishing site. Some builds are
published as subdirectories underneath the results of superior builds.
This allows those superior builds to be rsynced without removing the
other builds that were published under them.
Also, create a common builder add-docs-root-marker and use it where
possible and update publishing of release notes as well.
Change-Id: I34cd631eb199d77801ad9fa068aa209f02ad1cfd
This allows using the zuul api-ref reference on a project in question,
it will let us see what api-ref changes look like on existing api-ref
source trees.
Change-Id: I263278370d93cd4998ee3da518a5b0de6bd80548
It is extremely useful if we can see the os-api-ref changes on
existing projects, this creates a job where we use the source version
of os-api-ref with an existing project api-ref tree (nova in this case
as it uses most of the features).
Change-Id: Ia7f8ed9b9a726bc2178a4ee7691353f4e12256eb
Add test-results publisher so that we get output from tox.
Remove swagger job, it's not used anymore.
Change-Id: I0de625525cab7db126e608877ad1cc1c3f4d05b6
We do not build any DocBook XML contents on master anymore. Remove the
jobs from api-site and use only rst gate for this repo.
Also, we do not need the Swagger entries anymore, remove them.
Remove now unused jobs.
Note that openstack-manuals stable/liberty still uses DocBook XML
publishing.
Change-Id: I9a39377bcbd13aa2a39f7669f37a5d672d648db4
Run all jobs on xenial for the documentation team jobs, for most cases
these are only run on master anyhow - and those few repos with branches
do not need trusty for running.
Change-Id: I337888e74bae983439cbf0f5e047f4f4023bc8ec
This patch modifies the nodejs-install macro to install based on the
{version} parameter. All current uses of nodejs-install have been set to use
version '4'.
Change-Id: I73a0c5b801137d8700b16acb8375eaabfb668d5f
This patch renames the npm-install macro to nodejs-install. This
is done to be more descriptive of what the macro actually does,
as well as to reduce confusion between this macro and the
`npm install` command.
Change-Id: Ieda074b9b83da777c378aefc9ab732c5d288a9ee
Use zuul-cloner with constraints set up for the project specific
install-guide and api-* docs jobs, so that projects can use constraints
and do not need a special install_command in their tox.ini for these.
Change-Id: I8f45a53429b9fcbf3689a268f096afdf5f32f461
This is related to zuulv25, we make sure console-log is the last
publisher to ensure zuul-launcher logs are also uploaded.
This will be done over a series of commits to reduce the work load on
jenkins.
Change-Id: I8b69b23a8f8f11a1cde2dc5ab9730ef850abbd54
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Since more projects are going to use these, let's define job-groups
for api-ref and api-guide jobs. Use these job-groups in the
projects.yaml file where possible.
Change-Id: Ibc5b094ae3ea58433c5e8a40c82ceeb89a26bb2c
This creates most of the api-ref publishing pipeline along the lines
of api-guide. It's designed to support the new initiative to get API
docs into RST and back into project trees directly.
Also make nova patches ignore api-ref for the same things that
api-guide was ignored for.
Change-Id: I3265398fe46b04330401ca60391c105fd5d837fc
Change compute-api-guide jobs to a template, rename it to use nova
instead of gate.
This allows to use it with further repositories.
Change-Id: I4c14ea110cf9aaaae362a816031a943e637e5fc9
Use ubuntu-trusty for most manual jobs.
* Remove experimental-docu-bindep-jobs.
* Create new gate-{name}-tox-nodb-{envlist} that uses bindep but does
not setup databases.
* Move {name}-tox-doc-{envlist} from api-jobs to manuals-jobs and
change to use bindep.
* Rename gate-{name}-tox-doc-publish-{envlist}-bindep to
gate-{name}-tox-doc-publish-{envlist}.
Update everything in Zuul for these changes.
Change-Id: Ia075c2dfadd23ee7814b84d0813d56c3f6d872d2
A tox build task should copy Swagger JSON files for
download on the developer.openstack.org website.
Depends-On: Ifb570e42b29ec8f01889c982b7cd700754a0e5f7
Change-Id: I4317a2029affbae1e9ab7699a470bac3c5b8de07
With If65a9da675a182f0aab659cb076c3a4aba032b58 to api-site merged,
we publish the index page now from the openstack-api-ref dynamic and not
anymore in a static way. Therefore remove the static publishing, it
breaks deployment of developer.openstack.org.
Change-Id: I70362b9400834310182d61d69ce74edc729463b7
Between the Icehouse and Juno releases, OpenStack changed its
supported Ubuntu LTS platform from Precise to Trusty. In support of
continuing testing stable/icehouse and prior branches on Precise
while starting to test newer branches on Trusty, a branch-based
decision tree was introduced into our Zuul configuration by way of
complex parameter functions with an ever growing list of regular
expression matches on job names.
Now that Icehouse is EOL (in fact, Juno is too) this simply adds
unnecessary complexity and an attractive nuisance for cargo-cult
copying into new job and job-template definitions which don't even
need it. In preparation to remove the associated parameter
functions, get rid of multiple labels in all jobs and set them to
whatever label Zuul would ultimately select.
This change touches a vast number, possibly a majority, of our jobs
and so manual jenkins-jobs updates on all Jenkins masters will be
needed after this merges, before it's safe to approve the
corresponding Zuul configuration cleanup.
Change-Id: Ic952ee02da2c77fe2ace81c4e2fa87531be6119c
Publish the Python OpenStack SDK docs to
developer.openstack.org/sdks/python/openstacksdk
This needs a separate publish job for the publishing part.
Note: building is done with the usual docs job-template which is already enabled
via the python-jobs templates.
Closes-Bug: #1479977
Change-Id: I3eaffddc87c189df3e28d98a0154cdac381c62e8
Fix the paths to the version that finally merged.
Also, it is "builders" and not "builds", fix this.
Change-Id: I5b57c299e50e08b0cc1edd233c19c7ca0998c03d
- Want to publish to developer.openstack.org
- Compute API Guide needs to have directory structure determined
in https://review.openstack.org/#/c/230186/.
Change-Id: Ibc774d24f2bcc63902f67e2540497da838f15d18
Depends-on: Ic060a1e79e4b2f8695cb788ff4df018e0cfd3286
Publishing is now only done on developer.openstack.org and not anymore
on docs.openstack.org:
* Remove api-site-tox-doc-publishdocs
* Create new job openstack-api-ref-publish-lang to publish translated
documents to developer.o.o.
* Remove api-site-tox-doc-publishlang job (published translated
documents to docs.o.o). For this, we need to replace the
openstack-doc-translation template with individual jobs.
Change-Id: Id9d9c378c29e5601fe994b46ede19ddae61cfb53
This repo was created from filter branching the openstack-infra/
config repo. This process brought a lot of cruft with it in the
form of directories that we no longer need. This patch removes
that cruft so we begin with a tidier repo.
Change-Id: Ibffad1b11c0c5f84eedfb0365369f60c4961a0f3