Commit Graph

29 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
Andreas Jaeger 24c31b4c44 manual-jobs: Enable constraint usage
Use zuul-git-prep-upper-constraints instead of gerrit-git-prep for
manuals-jobs. These jobs might be used in repos that have constraints
enabled - like openstackdocstheme - and thus need the constraints file
downloaded. Also, we can use the zuul setup macro now on all notes, use
it for better git tree set up.

Change-Id: I965d7d1abb5e8fba0e54146b2d828a04da851bb7
2017-03-13 13:10:21 +01:00
Andreas Jaeger 58b73f1f72 Stop publishing to previous Cloud sites docs.o.o
The AFS based publishing and serving via files.openstack.org works fine,
we can stop publishing to docs.openstack.org

Change-Id: I4d6b51c7f8065e5cd21942acc64ae56639bb185b
2017-01-13 19:58:02 +01:00
Andreas Jaeger 79a5be8415 Merge install and deploy guide scripts
The two scripts do the same, just have one different parameter. Use a
single script and rename it.

The scripts are included directly in yaml and do not life anymore in the
scripts directory so that changes to them will be directly and don't
need new images to be built.

Change-Id: Ia229b118daabb1f43da1507a37a4fd3724c2512a
2016-11-29 08:33:06 +01:00
Andreas Jaeger 39a04df9b0 Fix deploy-guide job
We cannot mix code and includes, this needs to be separated.
Use two include commands and split out the initial content to another
file.

Change-Id: I04584e301078cc851ae258525dc1c4b662ed6c28
2016-11-28 16:49:47 +01:00
Andreas Jaeger 34ce86e1b4 Refactor run-deploy-guide.sh
Pass variables in so that the script can be merged with
jobs/scripts/run-install-guide.sh.

Remove setting of $result, the script is run with bash -xe and therefore
result is never set, the script is aborted earlier.

Change-Id: I0cea5debba63863135b53c5447713a80d989c1a5
2016-11-18 20:56:24 +01:00
Andreas Jaeger 65512b5462 Move JJB include scripts to subdir
Create jenkins/jobs/include directory and move the two scripts that we
currently have into that directory.

Adjust builders using the scripts.

Change-Id: If0cda5a6749dd19fdc57b6f64a6f7ed5ac5bfc00
2016-11-18 20:31:52 +01:00
Jenkins 4bc19e32da Merge "Adds deploy guide gate jobs" 2016-11-18 07:42:23 +00:00
Alexandra Settle 6e21766793 Adds deploy guide gate jobs
Move the run-deploy-guide.sh file as include file into JJB so that the
script is not baked into our images anymore.

For the deploy guide gate jobs, follow the project install-guide setup
on adding these.

Change-Id: Ibffee0b4b356968029590c8e3abd672f0e082e69
2016-11-17 16:59:25 +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
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 7a755d1fa2 Add missing root-marker for afs-publishing
Add missing root-marker to jobs that publish to docs.openstack.org.

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.

Change-Id: I3c5555829bd064675b2fded82cdafaa0916294dd
2016-09-22 20:24:30 +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
Andreas Jaeger cbd19fcaea Switch most manuals jobs to Xenial
Run manuals jobs on Xenial. Exception are the "normal" tox jobs, those
will be changed separately.

This change includes a revert of change
Iedbb8522c7efcbd039d8f69cb2ea3651eb272562, the testing was successful.

Change-Id: Ice96cc15de051ef1004a6e2f0e655597cabc9f3a
2016-07-20 21:40:31 +02:00
Andreas Jaeger 40a9ab063f Test openstack-manuals on xenial
Duplicate doc build job for testing openstack-manuals on xenial.

Change-Id: Iedbb8522c7efcbd039d8f69cb2ea3651eb272562
2016-07-20 14:48:26 +02:00
Jenkins 76ccdc1f54 Merge "Use zuul-cloner for install-guide and api-* docs jobs" 2016-07-19 20:27:42 +00: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
Andreas Jaeger 0cd5a5102c Revert "Test constraints with zuul-cloner in post queue"
Testing was done successfully.

This reverts commit 5dc2cba2ab.

Change-Id: I5c8a3c5431de1cbeeefb8a392b73d04b22c0c13c
2016-07-17 14:06:53 +00:00
Andreas Jaeger 5dc2cba2ab Test constraints with zuul-cloner in post queue
Add a simple job to openstack-manuals to test that zuul-cloner works
with constraints in the post queue. This will be removed again if
everything works as expected.

Related Change: Ib6d45031866790ee73000cf514e1263a7e8dff69
Change-Id: I7343d54185a896b847d6340532bdab22465e98f0
2016-07-15 08:24:28 +02:00
Paul Belanger 322d7e5dfb
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.

Change-Id: I1616b97fad2b97fb9e977ec14543aab4bc673b58
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-06-16 18:32:16 -05:00
James E. Blair 20576bded0 Clean up proposal slave in a builder
So we can avoid using the jenkins-specific postbuildscript plugin,
move the proposal slave cleanup to a builder.  Run it first so that
it always runs.  Since we're running it first, we can't use it to
clean up our current workspace, so instead, ask it to clean up all
workspaces.

Change-Id: I54a187d643fb76f10cc11411d546c41348b5592e
2016-06-09 09:44:13 -07:00
Andreas Jaeger ebf1ff3fba Add infra structure for install guide publishing
Add job template and zuul template for install guides. Use
jobs for heat.

This publishes content from $repo/install-guide to
docs.openstack.org/project-install-guide/SERVICE/BRANCH.

The jobs should only run on future branches (master and newton onwards).

Depends-On: I153b27dd17e5a22224bda473b19dbd76ca0cdc98
Change-Id: Id3ae8e13331f54886c994731c1770af1bdcfb3a2
Partially-Implements: blueprint projectspecificinstallguides
2016-06-06 20:02:18 +02:00
Andreas Jaeger 9c76d560ac Run slave-cleanup on all proposal jobs
slave-cleanup cleans up more than 100 MB for each job it runs - and it
cleans the same content that we normally clean when starting the job.
so, this will save some space on the proposal slave.

Add the slave-cleanup run to all jobs running on proposal node.

Change-Id: Ide862b0d1d066adbf992de7f542be2d4d20cf9b1
2016-04-15 16:21:45 +02:00
Andreas Jaeger ec994ecd23 Rename tox-nodb-ENV to tox-ENV
Use again tox-ENV as standard tox job instead of tox-nodb-ENV.
The old tox-ENV job was bare-trusty based and can get removed now.

Change-Id: I837e02dc74c5860235b1a58e9a304fdaec281c2e
2016-03-11 11:46:43 +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
Andreas Jaeger cb2bc3e83c Add experimental bindep jobs for manuals
Add experimental bindep jobs for most manual jobs and add them to the
manual repositories (not yet to trove).

Jobs not added yet are translation jobs and post jobs.

Change-Id: I6bcc1399e41268d9440315edb72927881e90f776
2016-02-21 12:58:33 +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
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