Commit Graph

22 Commits

Author SHA1 Message Date
Andreas Jaeger 1588baa694 Fix publishlang
publishlang calls a script that uses tox again, with recent CI changes
tox is not always available in PATH.

Set ensure_global_symlinks so that tox is in PATH.

Change-Id: Ib30c5af58564425d7bd2c9cd7118423c4ce643d9
2020-06-18 13:13:12 +02:00
Andreas Jaeger 08af30e9d1 Zuul: Remove success-url
With the new job definitions, this is not needed anymore, remove it.

Change-Id: Id83f6f193127f4889cad93b897a17b42ef3a456d
2019-08-24 19:59:09 +02:00
Ian Wienand da7e965fb0 Move proposal job into project-config
Change Iac9054de55728601d839c1feede15c2a5acc45b6 made the
propose-updates job protected, meaning it can only be defined in the
project-config repo.  Move it to there

Change-Id: Id839ac69ed44553a8d2d88547b2c54502af4a913
Needed-By: https://review.opendev.org/678135
2019-08-23 13:33:36 +10:00
Andreas Jaeger e57214810e Add file list for promote-openstack-manuals-lang
If we do not run publishlang job in gate, there's nothing to promote -
so, add the same filelist for both gate and promote job so that we only
publish if something has changed.

Change-Id: Ifeb5f4d92c7e13d51bd2a654e1ec3c2e91f536b3
2019-08-16 19:31:46 +02:00
Andreas Jaeger adc92586c9 Remove checkbuild job
This is now unused, remove it.

Depends-On: https://review.opendev.org/676957
Change-Id: Ic9c2979d8b3a356c2c8d8820f1947f7dd33baeeb
2019-08-16 16:22:09 +02:00
Andreas Jaeger c1cc9cae1f Cleanup jobs and config
Use promote jobs for all publishing jobs, they work fine.

We don't use checkbuild/checklang anymore, remove it.

Keep checkbuild job until we have renamed training-guides to use the new
job.

Change-Id: I882fd90f07987358cd55e3a04a8f7ad0c746ce80
2019-08-16 16:19:56 +02:00
Andreas Jaeger 05d39a3c49 Fix queue for promote job
This needs to run in promote queue, not post.

Change-Id: Ifdcca461d80ec20f8dd7c05984c16e4faa517bdd
2019-08-16 13:40:47 +02:00
Andreas Jaeger 99920e8a49 Use opendev-tox-docs job
Switch our docs job to use opendev-tox-docs job as base so that we can
publish later the content from gate directly (via promote queue) and do
not need to rebuild in post again.

Use the new promote-openstack-manuals job as first step in using promote
publishing. The other publish jobs will be replaced separately.

Use for building now publishdocs/publishlang so that we have exactly
the same content in check and gate - and in the published website.
For this, update tox.ini and publish script.

Also, do not publish project-data.

Depends-On: https://review.opendev.org/676489
Change-Id: I91f22173a4a6ed421f339833c486a31fd319dba3
2019-08-15 21:45:02 +02:00
Andreas Jaeger 741d59c459 Switch output to publish-docs/html
Publishing to a top-level directory has a few challenges with some new
infra scripts. Let's keep those simple and change from publish-docs to
publish-docs/html.

Depends-On: https://review.opendev.org/676489
Change-Id: I94b7bf915c0fdad0e9e2f5dd81846f45dc99194a
2019-08-15 06:46:46 +02:00
Andreas Jaeger 711d1b8a0b Remove openstack-manuals-developer-build-translation
This template is now unused, remove it.

Depends-On: https://review.opendev.org/671119
Change-Id: Ia07a2e1d42c27bce35e110fdc114300c2c4197d5
2019-07-22 07:33:13 +00:00
Andreas Jaeger 194cc4fdce Update developer jobs
As part of retirement of api-site, remove some jobs from templates:
* Remove linters job, we do not need it anymore
* Remove publish of translated docs, to remove them

Change-Id: If7455a934180add36334d5692556ddb5a817d062
2019-07-22 07:33:06 +00:00
OpenDev Sysadmins a14b040338 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:41:34 +00:00
Frode Nordahl 57147ba4e7 Add missing `xindy` bindep
Test runs are currently failing on a missing `xindy` binary.
Mend the situation by adding the required packages for rpm
and dpkg platforms.

As the test requires a recent version of `xindy` to work with
`xelatex` markup, bind the base job to a nodeset with recent
operating system release.

Change-Id: I461a8769af2a6879d1a96db13aa91fbc8ace8c54
Closes-Bug: #1792237
2018-09-12 16:30:55 -06:00
Doug Hellmann 831dbbf874 switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Iabdabd13191b5221c8d22c39a09567d91f521d2d
Story: #2002586
Task: #24293
2018-08-13 16:47:23 -04:00
Doug Hellmann 128c8e0f5c import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Ie34713e2d3850d19eb7c23553ab296840aab5a95
Story: #2002586
Task: #24293
2018-08-13 16:46:28 -04:00
Andreas Jaeger 301a71209f Rename our base job
Rename to add "-base" to the base job to follow Zuul conventions, also
add abstract to mark that this cannot run on its own and needs to be
inherited from.

Change-Id: Ic2228244e787395be1c5dc77a92e2ff352d47106
2018-02-16 09:10:50 +01:00
Andreas Jaeger 4434ba8c4b Remove name from project stanza
This is now optional, and should be discouraged in in-repo configs.

Change-Id: I692c4f2e38ad4acbecfe02d03068ea293b04077f
2018-01-21 15:19:38 +01:00
Andreas Jaeger 64e109dabb Add descriptions to zuul.yaml
Add missing descriptions to the jobs in .zuul.yaml.

Change-Id: Ib84a3e34e4c25a1f565a506f3229453a0d997be3
2017-12-16 16:33:42 +01:00
Andreas Jaeger 21edbc931f Fix ZUUL_REFNAME
Set up the variables the same way the post job is set up:
Pass them in via environment in job definition.

Pass ZUUL_ environment variables through to jobs.

Note ZUUL_REFNAME is not set, use ZUUL_BRANCH instead.

Change-Id: I5863a05384c9a48445d5ce52ccc508519c7c00f8
2017-11-23 17:16:14 +01:00
James E. Blair 3bc4b9a0c3 Zuul: add file extension to playbook path
Zuul now supports including the file extension on the playbook path
and omitting the extension is now deprecrated.  Update references
to include the extension.

Change-Id: I50aad0174b72a2c65f6c92b7abf222f0a363b509
2017-10-29 13:23:30 -07:00
Andreas Jaeger d29f284c3d Add publish jobs to Zuul v3 configuration
Enhance our templates to publish content.

Change-Id: I191e690afc219ace39615366a3d5323baaf4a564
2017-10-10 20:19:40 +02:00
Andreas Jaeger 5e94b2dbb8 Add native zuulv3 set up
Add native zuul v3 templates and job for building doc projects. The
templates can be used by api-site and security-doc as well.

Create extra templates for publishing to developer.openstack.org.

Leave in a TODO for publishing, these post jobs will be added when
ready.

Change-Id: I377632e640a099d0a8640db4959684d9ecd68f8c
2017-10-09 22:07:27 +02:00