Commit Graph

38 Commits

Author SHA1 Message Date
Monty Taylor 355f7090a6 Remove zuul v2 and jjb content
It's migrated, it can be removed now.

Depends-On: I6a89752d74ed7424267c3af3937ad01fb4bb8f86
Change-Id: Id67d0149b645bd23e460cef65719541f76f0967b
2017-10-24 08:50:05 +02:00
Chris Dent 6db259b74c Publish placement-api-ref
Make a special placement-api-ref publishing job for the
placement API. A special job is required because placement is hosted
within the nova repository, in its own sub-directory. The api-ref template
job is not set up for that.

We could probably have done some refactoring to reuse the existing
template but since it is planned for placement to eventually move out of
the nova repo, it's not really worth it.

This change also makes the gate-placement-api-ref job voting, the change
linked via depends-on below provides testing to ensure that all
placement URLs and methods have documentation.

In I895333c21a18afadaf987f8f9903a0c8b132b1d5 there was discussion that
this style of publishing job was incorrect and api-ref should be moved
under doc/source. This is not desirable for API reference because we do
not wish for API references to be versioned in the same way that project
documentation is versioned. Also, placement's odd positioning within
a repo with another service makes that complex. This change continues
the desirable publishing to developer.openstack.org and maintains the
patterns and standards set by nova's api-ref.

Co-Authored-By: Andrey Volkov <avolkov@mirantis.com>
Depends-On: Ifefedcd51f1f8d5e741ef6d02b7a0879a185e05f
Change-Id: If5ff9bcc31e2680861e959ef7dc8581210e619e9
2017-08-08 18:00:10 +01:00
Andreas Jaeger 964baecc45 Remove api-ref-src from api-ref job-group
Only nova uses the api-ref-src, so define it for just nova - and not the
others.

Change-Id: If9d94d74b1fc833e4dd0b8eb29624cadda84f573
2017-07-09 17:46:46 +02:00
Andreas Jaeger acf7572d10 s/gerrit-git-prep/zuul-git-prep/g
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
2017-04-03 19:36:51 +02:00
Andrey Volkov 28249ca96e Add placement api ref jenkins job
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
2017-03-28 19:34:52 +03:00
Andreas Jaeger 01053f95b9 Stop publishing to CloudDocs developer.o.o
Stop publishing to CloudDocs developer web page, the AFS based
publishing works just fine.

Change-Id: I36e5cee22748ae63043603ab38d30a5ee4d5045a
2016-12-28 17:19:51 +01:00
Khai Do d679cf6e01 rename 'tox' macro to 'run-tox'
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
2016-11-15 11:54:16 +01:00
Andreas Jaeger 3963645c43 Murano Firstapp: Setup constraints as well
Use the zuul setup that includes setting up the constraints file instead
of normal git setup.

Change-Id: I74ae853d3dcc791c5660f4b7db318d9b6b55a57a
2016-10-14 20:00:58 +02:00
Andreas Jaeger 6356f843f1 Fix murano firstapp draft docs
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
2016-10-14 15:24:47 +02:00
Andreas Jaeger bb7c165184 Build and publish murano firstapp document
Build and publish murano firstapp document to developer.openstack.org.

Change-Id: I0f8bcea803b01e2e238b1ebc26afb0cebf8180bc
2016-10-10 16:40:32 +02:00
James E. Blair 6dcebba9f8 Add AFS publishers to all docs jobs
This adds an equivalent AFS publisher everywhere we currently have
an FTP publisher.

Change-Id: Ie0bdedfeab7f7e7d831acbabd347ef5b26dfcc8b
2016-09-30 08:47:38 -07:00
Andreas Jaeger ea0c547f6c Add root-marker for api-ref, api-guide,install-guide jobs
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
2016-09-14 19:18:11 +02:00
Sean Dague 09f6cb1c39 Cross test with zuul api-ref on projects
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
2016-09-13 07:31:35 -04:00
Sean Dague a792cf1529 Create api-ref-src job
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
2016-09-12 09:28:37 -04:00
Andreas Jaeger 644ae7f102 Update api-jobs
Add test-results publisher so that we get output from tox.
Remove swagger job, it's not used anymore.

Change-Id: I0de625525cab7db126e608877ad1cc1c3f4d05b6
2016-09-01 07:26:27 +02:00
Andreas Jaeger 3e77f9e981 Cleanup DocBook XML publishing
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
2016-08-22 18:01:48 +02:00
Andreas Jaeger 1204b51199 Move doc team jobs to Xenial
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
2016-07-29 14:56:10 +02:00
Dong Ma cc6c8b6f73 nodejs-install macro can install different versions of node
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
2016-07-20 06:54:06 -07:00
Michael Krotscheck 2c9ce1c3b5 Renamed npm-install macro to nodejs-install
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
2016-07-20 06:53:36 -07:00
Andreas Jaeger f980165efe Use zuul-cloner for install-guide and api-* docs jobs
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
2016-07-18 16:30:05 +02:00
Paul Belanger 864ae75814
Ensure console-log is our last publisher
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>
2016-06-15 10:00:47 -04:00
Andreas Jaeger db71312063 Define job-groups for api-ref and api-guide
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
2016-05-03 20:55:53 +02:00
Sean Dague cffd41baf7 create api-ref publishing pipeline
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
2016-03-29 20:36:16 +00:00
James E. Blair d9aafdae06 Publish console logs for api-guide jobs
This publisher was missing from the job.

Change-Id: I16f5651e038e29b72828f51ce490aca80a689784
2016-03-21 12:34:44 -07:00
Andreas Jaeger 957774d3eb Templatize api guide jobs
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
2016-03-13 21:00:05 +01:00
Michael Krotscheck 1cc5df1af6 Added npm-install macro to swagger build job
This will ensure that NPM is installed on this build slave.

Change-Id: Ia1266dea40eb07982d32f2207da4e4a72bacb0b9
2016-03-10 12:47:48 -08:00
Andreas Jaeger 9139324fde Use ubuntu-trusty for api-jobs
Convert jobs to use ubuntu-trusty.

Change-Id: I937d93ca628b1b3775688de6e93777ce50d30245
2016-03-04 14:07:08 +01:00
Andreas Jaeger 2e1f3ba631 Use bindep for manual jobs
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
2016-02-23 14:42:44 +01:00
Anne Gentle d0d5e0b0dd Adds swagger migrate and copy job for api-site repo
A tox build task should copy Swagger JSON files for
download on the developer.openstack.org website.

Depends-On: Ifb570e42b29ec8f01889c982b7cd700754a0e5f7

Change-Id: I4317a2029affbae1e9ab7699a470bac3c5b8de07
2016-02-08 10:10:40 -06:00
Andreas Jaeger 9d99eea747 Do not run openstack-api-site
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
2016-01-08 07:15:12 +01:00
Jeremy Stanley 0af9b2c178 Get rid of precise||trusty job node declarations
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
2015-12-21 20:52:17 +00:00
Jenkins cabef3473e Merge "Publish the Python OpenStack SDK docs" 2015-12-09 08:46:13 +00:00
Everett Toews 801f208d1f Publish the Python OpenStack SDK docs
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
2015-12-09 08:34:44 +01:00
Andreas Jaeger 8828fb1a0a Print the JJB template name in some jobs
Print JJB template name in more job templates so that it's easy to
identify them.

Change-Id: Ia6793a0ae5bed9e655538985f8d0f5ece82774d8
2015-11-25 20:39:22 +01:00
Andreas Jaeger bd95e850b4 Fix gate-compute-api-guide
Fix the paths to the version that finally merged.

Also, it is "builders" and not "builds", fix this.

Change-Id: I5b57c299e50e08b0cc1edd233c19c7ca0998c03d
2015-11-13 15:05:45 +01:00
Anne Gentle 4eb2199af0 Builds and publishes Compute API Guide
- 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
2015-11-09 13:00:10 -06:00
Andreas Jaeger 1f0c37654a Rework api-site publishing
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
2015-10-09 10:20:39 +02:00
Anita Kuno 1d21cd635f Reorganizes project-config
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
2014-09-25 11:41:04 -04:00