1385 Commits

Author SHA1 Message Date
Andreas Jaeger
8f05574254 Bye, bye readthedocs-failing
All users of the job and template have been removed, remove them.

Depends-On: https://review.opendev.org/685616
Depends-On: https://review.opendev.org/685617
Change-Id: I4224b278eba6299462dc94465dbdba647e31ef18
2019-09-29 18:03:44 +02:00
Zane Bitter
935c9ca50d Add Python3 project templates for Ussuri release
Following the process set down in the TC resolution on updating Python
versions:

https://governance.openstack.org/tc/resolutions/20181024-python-update-process.html

this change adds the Zuul template for Python 3 unit test jobs in the
Ussuri release. The selected python versions are the same as for the
Train cycle:

* The latest released version of Python that is available for testing is
  3.7.
* The only version of Python 3 that is the default in the
  distributions listed in the PTI (CentOS 8, Ubuntu 18.04 Bionic, openSUSE
  Leap 15) is Python 3.6.

Change-Id: Idcffc5fd786db65ca4edbee03d2f9d45e0026639
2019-09-27 14:14:52 -04:00
Zuul
e2c0f52363 Merge "Switch project-config to promote jobs [5]: Update specs, cleanup" 2019-09-18 16:17:55 +00:00
Zuul
6f6e201855 Merge "Switch project-config to promote jobs [2]: Update build jobs" 2019-09-17 17:25:37 +00:00
Zuul
eba447b432 Merge "Remove release-tox-docs-infra" 2019-09-16 16:49:19 +00:00
Andreas Jaeger
159406ba8e Remove release-tox-docs-infra
This template is now unused, remove it.

Depends-On: https://review.opendev.org/682222
Change-Id: I9e5ebae0dbf6b327ff500b231fcde74b824fa29f
2019-09-14 19:10:28 +02:00
Andreas Jaeger
c5707bca3d Switch project-config to promote jobs [5]: Update specs, cleanup
The file lists for the project-config build jobs for docs-index and
specs-site are now in project-config, so remove the duplicate here.

Switch publishing for specs sites to the new promote job.

Needed-By: https://review.opendev.org/682216
Depends-On: https://review.opendev.org/682214
Change-Id: I3bb41238ebf84328049fd9fd5659594dcef69393
2019-09-14 17:56:19 +02:00
Andreas Jaeger
8da4582fb2 Switch project-config to promote jobs [2]: Update build jobs
Rebase the project-config build jobs on opendev-tox-docs so that
we can collect the generated artifacts and use a promote job.
Note that opendev-tox-docs expects the content in a "html" subdirectory
of sphinx_build_dir, so next step will be changing the tox environment.

Depends-On: https://review.opendev.org/682211
Needed-By: https://review.opendev.org/682212
Change-Id: I522de9591d3e20ddd634573c42688c38a805d497
2019-09-14 16:57:45 +02:00
Andreas Jaeger
4547a79b79 Start train translations
First train branches are created, setup translations.
Note that branches still need to be enabled in translate.openstack.org.

Stop rocky translations at same time, the translators have stopped
translating it (two changes in May and June each,
none in July, August, September). This saves also CI resources.

Change-Id: Ia9fe58ca99da4037f14901927ea1e33f41b5e99b
2019-09-14 11:19:25 +02:00
Sorin Sbarnea
71c392db3d openstack-tox-molecule: replace success-url and failure-url
Fixed issue introduced by new logs browsing experience where
success-url and failure-url are no longer working.

Change-Id: Id8a3202235ea48129aa7883b00a2a3095cadf6fe
Needed-By: https://review.opendev.org/#/c/669223/
2019-09-11 09:02:25 +00:00
Zuul
a052c6ad56 Merge "Mention promote in template description" 2019-09-09 16:43:22 +00:00
Zuul
7528938757 Merge "Use promote job for releasenotes" 2019-09-09 15:06:00 +00:00
Andreas Jaeger
5bf474b879 Mention promote in template description
Update templates that use promote jobs to speak about the promote job.

Change-Id: I9845200ac89172d664fe20ad7555f996d923e34a
2019-09-09 17:00:51 +02:00
Zuul
c8c69eb01a Merge "Remove openSUSE 42.3" 2019-09-09 10:47:09 +00:00
Andreas Jaeger
2fb26cf9b2 Use promote job for releasenotes
Update templates for releasenotes to use the new promote job.

Depends-On: https://review.opendev.org/679856
Depends-On: https://review.opendev.org/678429
Depends-On: https://review.opendev.org/678351
Change-Id: I1fa344bbe71b71294166d9e80cef958a9ad80479
2019-09-09 05:08:47 +00:00
Andreas Jaeger
74fdb7725b Remove openSUSE 42.3
openSUSE 42.3 is dead, remove jobs. Their usage has been removed
everywhere.

Change-Id: I0990afbf521b05022e41e98ab2d2c71cd2910a60
2019-09-08 12:48:41 +00:00
Andreas Jaeger
b49d5c8961 Remove kata jobs
These jobs and roles are not needed anymore here,
kata has its own tenant.

Change-Id: I4d9912864ec549e46fe398baef5265b89e4f4a96
2019-08-28 20:54:26 +02:00
Zuul
437e1c6816 Merge "Rebase api-guide/ref jobs" 2019-08-26 06:27:39 +00:00
Michael Johnson
9cb97a4e2c Remove the success-url from openstack-tox-docs
A recent change[1] switched how the documents are archived for the
openstack-tox-docs jobs. They are now under /docs instead of /html [2].

This patch removes the success-url override for the openstack-tox-docs
jobs so that the zuul job links will point to /docs.

[1] https://review.opendev.org/#/c/677009/
[2] https://opendev.org/opendev/base-jobs/src/branch/master/ \
    playbooks/docs/promote.yaml#L24

Change-Id: I8f637e022c78c9be63def5db0c9f1302eab6cbea
2019-08-23 15:40:42 -07:00
Andreas Jaeger
b0981f1932 Rebase api-guide/ref jobs
We based these jobs on opendev-tox-docs since openstack-tox-docs was
migrated later to promote jobs. Switch them back to openstack-tox-docs
so that requirements are set up correctly.

Disable PDF building for these for now.

Change-Id: I1d17858e15c4934cd9625ec31cde7a095aac26a0
2019-08-23 17:30:02 +02:00
Akihiro Motoki
bba1a617ee Add support for building PDFs
We want PDFs. We don't want to have to go to each project and add a
'pdf' tox target or similar. Get the former and avoid the latter by
adding a step to build our PDFs to the 'openstack-tox-docs' job.

The job assumes a 'pdf-docs' tox env to build PDF docs.
If 'pdf-docs' tox env does not exist, PDF doc build will be skipped.

Note that only the job for master and stein is updated,
we do not build PDFs for older releases.

Do not build PDFs for deploy-guide for now.

Co-Authored-By: Stephen Finucane <stephenfin@redhat.com>
Co-Authored-By: Andreas Jaeger <aj@suse.com>
Depends-On: https://review.opendev.org/678077
Change-Id: Ibc455ba511a877159848f4060a6058800d7d2f9b
2019-08-23 17:29:58 +02:00
Andreas Jaeger
b9d47e5f6a Switch deploy-guides to promote publishing
Use promote jobs for publishing, move file triggers to template so that
we can share it between gate and promote job.

Depends-On: https://review.opendev.org/677799
Change-Id: I5120b6d1dabe410242d4dd4a3de1b9d82c8cf402
2019-08-21 20:38:15 +02:00
Andreas Jaeger
68fd529761 Use promote job for infra
For using the promote jobs for publishing docs, change the docs job to
opendev-tox-docs so that the tarball gets generated that is needed for
publishing.

Update  publish-tox-docs-infra to use the promote job, update
release-tox-docs-infra to have the same jobs but no change of publish
job (promote job does not work for release pipeline).

Change-Id: Idc5e94a581359bcfd3a570e085aa13999c26eb86
2019-08-21 09:36:20 +02:00
Andreas Jaeger
af62666651 Revert "Use promote for publish-tox-docs-infra"
This reverts commit 286e6c87ea4fde2b8d23e333578e56255f28d503.

tox-docs is not ready yet for promote publishing of content.

Change-Id: Ic119a6f53c0bff24c6320fa0453ddc0302f165e6
2019-08-21 07:32:43 +00:00
Andreas Jaeger
286e6c87ea Use promote for publish-tox-docs-infra
Update template to use promote jobs for publishing.

Depends-On: https://review.opendev.org/677537
Change-Id: I08b8e54871fcc0775297317cf33f64b3972e07dc
2019-08-20 20:34:38 +02:00
Zuul
9af13d4fce Merge "Use promote jobs for openstack-tox-docs" 2019-08-20 13:53:16 +00:00
Zuul
3bed6a37ae Merge "Add legacy-opensuse-15 nodeset" 2019-08-19 15:05:34 +00:00
Andreas Jaeger
5ded38c3af Add legacy-opensuse-15 nodeset
Some legacy jobs need an opensuse-15 nodeset, add it.

Change-Id: I3e69939ad7bf52d0b1e2a99a23e8bded8ba1a1ea
2019-08-19 11:39:49 +02:00
Andreas Jaeger
1c1da17333 Use promote jobs for openstack-tox-docs
Reparent openstack-tox-docs to opendev-tox-docs so that we can use a
promote job for publishing.
Update template to use the promote job.

Depends-On: https://review.opendev.org/677008
Change-Id: I7d5ba35733be78b9d734776ff8edd7020ec6b694
2019-08-16 20:29:35 +02:00
Andreas Jaeger
8c4de59655 Switch to promote jobs for api-ref/-guide
Switch publishing for api-ref and api-guide jobs to promote jobs.
Use the same file triggers for check, gate and promote jobs so that
we only promote if something was build.

Depends-On: https://review.opendev.org/676630
Change-Id: I13e9e8556bc49ae7883f52b547bf6de4941b4586
2019-08-16 18:50:38 +02:00
Andreas Jaeger
6f06b199aa Use opendev-tox-docs for api jobs
Update api-ref and api-docs jobs to use the opendev-tox-docs job to be
able to use the promote pipeline as followup.

Change-Id: Ie830c47793d24f3e6db88814d7b9cf35910b3e69
2019-08-15 10:05:27 +02:00
Andreas Jaeger
b55e9212be Add build releasenotes py3 template
Add a build releasenotes python3 template and update the existion
release notes templates to mention that they include publishing to
docs.openstack.org for projects under governance.

Change-Id: I2bdb8a60d55f226a32e074f76b11a9d52967a4f7
2019-07-22 16:17:46 +02:00
James E. Blair
bbdeacfe87 Remove some nodesets
These have been moved to the opendev/base-jobs repo.

Depends-On: https://review.opendev.org/670381
Change-Id: I6b2b57a01ecdc181b338ac69c92cbb5a4f7dd664
2019-07-11 13:01:52 -07:00
James E. Blair
905731c02b Skip test-setup.sh in pep8 jobs
pep8 jobs should not require database setup, etc, so we can skip
running test-setup.sh to save time.

Depends-On: https://review.opendev.org/670119
Change-Id: If49c3b5c3c521118bd67da4e7a9600e66bdcf50d
2019-07-10 09:24:16 -07:00
Sorin Sbarnea
a4f083ad12 Adds openstack-tox-molecule job so we can inherit it
This will allow us to inherit the openstack-tox-molecule job in other
more specialized jobs, like ones that do need to use require-projects.

Change-Id: I104ab1a6cba33f360ed52029ceeec1c34993bada
Needed-By: https://review.opendev.org/#/c/669343/
2019-07-09 21:27:25 +02:00
James E. Blair
0c54a6f4e2 Remove base role integration testing
These jobs have moved to the zuul-jobs repo.

Change-Id: I6a5759e0fbc8f8a6bb37045ca5254412882972ea
2019-07-08 10:48:16 -07:00
Zuul
f0839761a6 Merge "Set python_version: 3.7 for openstack-tox-functional-py37" 2019-07-03 12:16:04 +00:00
Clark Boylan
c33f888937 Make infra puppet beaker jobs parent to legacy-base
We need deps out of the global bindep fallback file to avoid adding
bindep.txt files to all of our puppet modules. Since puppet is
effectively on life support for us lets just use the legacy base parent
job instead of updating every module.

Change-Id: Ic8d9d02c54cf674a2023dd377f46bb6d9c7ffda6
2019-07-02 14:56:03 -07:00
Zuul
1ed1432b93 Merge "Add openstack-tox-functional-py37 job" 2019-07-01 13:44:38 +00:00
Sean McGinnis
3873c37403
Set python_version: 3.7 for openstack-tox-functional-py37
Explicitly set the Python version for the py37 job to make sure the
right interpreter is available.

Change-Id: I3e775300bbdbad1f6e5f9e287a1d1e74e391563e
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-07-01 08:44:26 -05:00
James E. Blair
466436cccc Remove upload-git-mirror test job
This has been moved to the zuul-jobs repo.

Depends-On: https://review.opendev.org/668248
Change-Id: Ie6dd47255995387d143eaa2efe8b1592094415d9
2019-06-28 13:39:29 -07:00
Zuul
bad5f71284 Merge "Remove job legacy-puppet-beaker-rspec" 2019-06-27 15:51:04 +00:00
Zuul
0e4136f476 Merge "Add and switch to the newly created opensuse-15 nodeset" 2019-06-26 17:33:22 +00:00
Andreas Jaeger
a08a0e84ec Remove job legacy-puppet-beaker-rspec
This job is unused, remove it.

Note that the playbooks have been removed already, just the job defintion
was stale.

Change-Id: Icd8206c2c73a44d7e9e3e91a8ace4fb8187eff19
2019-06-25 14:50:12 +02:00
Clark Boylan
5e1bddf402 Switch infra puppet apply jobs to legacy base
These jobs rely on the zuul cloner shim to install puppet modules. Swith
their parent to legacy base so that they get z-c shim installed.

Change-Id: I2f8ffe95cd711eca44c547bdecb1a2d7eceda2d9
2019-06-24 11:16:01 -07:00
Sean McGinnis
1d83efd96c
Add openstack-tox-functional-py37 job
This adds a job to run a tox functional job using Python 3.7 to match
the ones used for 35 and 36.

Change-Id: Iae3c4622cba68f8d65162457449ec2ddbfb1dbd8
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-06-24 09:35:37 -05:00
Dirk Mueller
3b357da34f Add and switch to the newly created opensuse-15 nodeset
opensuse-150 nodeset is referring to openSUSE 15.0, which is still in
maintenance but openSUSE 15.1 has been released already. "opensuse-15"
is going to refer to the "latest openSUSE 15.x" build released and
working for OpenStack going forward, so add this nodeset and use
it by default going forward.

Change-Id: I427e1d56384841770deb9c56cd56cbffb2df456b
2019-06-18 19:12:13 +02:00
Sorin Sbarnea
a7c46bcf8d Adds openstack-tox-molecule template
This adds job definition for running Ansible Molecule testing framework
from inside tox.

This would ease use of molecule testing for any OpenStack projects that
want to use by avoiding the need to duplicate the setup code across
each repository.

Change-Id: I31189030a85f1ccd669c64fe8e46dfb7f344666e
Depends-On: https://review.opendev.org/#/c/664230/
Needed-By: https://review.opendev.org/#/c/651772/
Needed-By: https://review.opendev.org/#/c/663336/
2019-06-11 14:03:57 +01:00
Colleen Murphy
a0697b63b6 Update puppet jobs to default to puppet 4
This change removes the last of the puppet-3 puppet-apply jobs and
changes the default puppet version to '4' for the puppet-apply and
beaker jobs. This change leaves the unversioned base puppet jobs and the
puppet-4 child jobs even though they are now redundant for the sake of
clarity of the job ancestry.

Change-Id: I58a82d7e58ee1d2d8c653e4e92cab8cfc8d834b4
2019-05-30 07:37:53 -07:00
Zuul
c716915911 Merge "Add tox.ini to some files sections" 2019-05-27 09:42:17 +00:00