Commit Graph

41 Commits

Author SHA1 Message Date
Előd Illés 86be99460d [CI] Return tox-validate job log as zuul artifact
So that it can be easily open from zuul job's build page under
Artifacts tab.

Change-Id: I7d6421510eef50be4ea968ed3354946b2aba0696
2024-03-20 16:21:14 +01:00
Dr. Jens Harbott 992bfebaa5 Return list-changes results as zuul artifact
In order to make it easier to view the job results, return them as
artifact.

Change-Id: Icaac122a94a3285a81f2c765eef79a3dbc14f2e4
2024-01-31 20:48:15 +01:00
Dr. Jens Harbott 5bb4f9276f zuul: Add irrelevant-files for py311 job
The openstack-python3-jobs template has been including a py311 job
variant for some time. Make sure the same filtering is applied as to the
other python jobs.

Change-Id: I766bf197989b31af39048318b435ad31fdfb7ca0
2024-01-31 20:48:15 +01:00
Előd Illés 3890261b48 Use the new openstack-python3-jobs template
release repository did not change to use the latest template for unit
test jobs. This patch removes the versioned template and replaces it
with the unversioned one (that was introduced with patch [1]).

[1] https://review.opendev.org/856903

Change-Id: Ie034b7bb2b1b34fa0754beafccbbcbfc178a43ea
2023-03-23 16:49:09 +01:00
Előd Illés e83bb1f69a Uncap jsonschema
With the latest upper constraints updating generated patch [1] the
openstack-tox-docs job started to fail, due to conflict:

ERROR: Cannot install jsonschema<4.0.0 and >=3.2.0 because these
package versions have conflicting dependencies.

The conflict is caused by:
    The user requested jsonschema<4.0.0 and >=3.2.0
    The user requested (constraint) jsonschema===4.7.2

This is because we have jsonschema<4.0.0 in our requirements.txt.
By uncapping the constraint the docs job is passing.

Date validation needed to be updated as well, because a deprecated
usage of validator extending method was used in the code, which was
removed [2] from jsonschema with the 4.0.0 release. This patch replaces
that with adding a TYPE_CHECKER instead.

With the new jsonschema constraint openstack-tox-py36 job does not pass
anymore, but py36 is dropped from zed anyway. That job is pulled in by
an old job template, which needs to be replaced to the new zed job
templates, too.

[1] I89576353371aa87d181610eb6242cbe961487af6
[2] d9f6384060

Closes-Bug: #1982757
Change-Id: Ida6310dd822e587ce9c424a228fdff5192ba0476
2022-07-26 12:24:11 +02:00
Sean McGinnis 446f2832ee
Switch to victoria job template
Change-Id: I7773dcffe35a59ed09180cfcd4d1667595521a1c
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-06-02 14:28:30 -05:00
Sean McGinnis 1bf550353a
Increase validate job timeout to 3 hours
This can take a long time now with doing the final release tag
validation when all deliverables are included in one patch. Part of the
delay appears to be that pbr was updated to build release notes if reno
is present. We may look for other ways to optimize the validation jobs
to speed things up, but for now we can just make sure we have a very
large window.

Change-Id: I248968bca9a90a7b06d4d6dd0644c50d926e5f45
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-05-10 17:40:16 -05:00
Sean McGinnis c9a013025c Increase validate job timeout
Change-Id: I8fa591c4330172d2d439f9db1163daf2f812d241
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-05-09 07:17:38 -05:00
Andreas Jaeger d253f2a0f6 Update docs publishing job
As part of retiring static.openstack.org change the publish job
to a new job that publishes to AFS.

Depends-On: https://review.opendev.org/708916
Change-Id: Ifabeb425b8398e9ccb38ef2b2cb27c1bd0454aee
Task: #37724
Story: #2006598
2020-02-20 18:01:34 +01:00
Thierry Carrez b218e9c76d Run release-approval job on specific pipeline
Switch the check-release-approval job to run on the new
release-approval pipeline (i.e. on patchset submission, then
on every comment not coming from the zuul user), rather than
on the experimental pipeline (only upon request).

Depends-On: https://review.opendev.org/706257
Change-Id: I6e0e4e9e7b44947ec5fbc9f638c05a6592d3e139
2020-02-06 13:47:54 +01:00
Zuul 76404b0c94 Merge "Enable check-release-approval on experimental" 2020-01-27 14:06:23 +00:00
Thierry Carrez a56bc4f46c Enable check-release-approval on experimental
Enable the new run-on-executor check-release-approval job
(defined in project-config[1]) on the experimental pipeline.

[1] https://review.opendev.org/#/c/701982/

Change-Id: I172f5c0b4785893715e798293bb8ddd658d60b8d
2020-01-27 11:32:01 +01:00
Sean McGinnis da4076a42a
Add openstack-tox-bashate job for scripts
We have had a bashate target in tox.ini for quite awhile, but we haven't
had a Zuul job run it on changes. Manual fixes have been needed from
time to time when someone has decided to run the linting on their own.

Rather than needing periodic cleanup, let's just have this job run on
any *.sh file changes.

Change-Id: I828715f30695fac1036b982b180a6fdaec03bc43
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-01-13 11:31:34 -06:00
Thierry Carrez 66f14e1d32 Enable check-approval in experimental pipeline
Define a check-approval job that runs check_approval.py, and
enable it in the experimental pipeline for now.

As a first step the job will run as a classic tox job on a worker
node, with an aggressive 6-min timeout.

Change-Id: Iaf8ffcb691f14e83843bf2079fabaa87776f0526
2019-12-05 17:35:15 +01:00
Zuul 2c0feab157 Merge "Skip jobs on data file only changes" 2019-11-15 01:00:20 +00:00
Sean McGinnis 32b3fefda5
Skip jobs on data file only changes
This adds some zuul checks to not run jobs when only the data files have
been changed.

Change-Id: I74805f37373338d1c5763eb7d6af1d29f219e5ea
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-11-14 16:29:00 -06:00
xuanyandong 96a610aca4 Switch to Ussuri jobs
Change-Id: Ie877571eca0bb721e7fe06565e4a14bce6944e07
2019-10-25 10:58:27 +08:00
Thierry Carrez b6e5cb37c4 Revert "Increase tag-releases timeout"
This reverts commit e7a87665a8
which triggered the following error:

Unable to freeze job graph:
Unable to modify final job <Job tag-releases branches: None
source: opendev/base-jobs/zuul.d/jobs.yaml@master#25>
attribute timeout=3600 with variant <Job tag-releases branches: None
source: openstack/releases/.zuul.yaml@master#10>

Change-Id: I70b2e3f25cecef42ccc7a4a991c52b5a6a4765fa
2019-10-24 12:44:33 +02:00
Sean McGinnis e7a87665a8
Increase tag-releases timeout
Change-Id: Ib98222ca07cf65629269704c715c65c9bc668d70
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-10-10 17:21:26 -05:00
Corey Bryant 49154ccfd0 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I0fb852f85e435c1ec53b4e250255534c708eab0b
Story: #2005924
Task: #34242
2019-07-19 14:43:41 -04:00
Sean McGinnis 3a3b668257 Revert "Increase tag-releases job timeout"
Parent job is currently marked final, so attempting to override setting
here causes an error when zuul tries to load the job graph.

This reverts commit cd3ac58467.

Change-Id: Idcb8f5ceadcc36af1cceace84691e505409c6ebd
2019-04-16 14:13:40 +00:00
Sean McGinnis cd3ac58467
Increase tag-releases job timeout
Change-Id: I03f20bb87ec93a6e5be4df2f7858065344979eb7
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-04-15 08:29:33 -05:00
Andreas Jaeger 75595db3af Switch to "tox -e docs"
Use the new PTI docs building jobs, these use "tox -e docs" for
building, also update the publishing job.

Depends-On: https://review.openstack.org/615501
Needed-By: https://review.openstack.org/615637

Change-Id: I941547676b88dec317bd2e02074721ad2b99b880
2018-11-05 20:58:02 +01:00
Doug Hellmann 6a5be46374 add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 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: I6c176d151189b2a27b8ad72c65038bf0676f787c
Story: #2002586
Task: #24330
2018-08-30 14:56:02 -04:00
Doug Hellmann 5f12937053 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: I64903004528db07d5695f3b95a5420876ff2166a
Story: #2002586
Task: #24330
2018-08-30 14:46:31 -04:00
Sean McGinnis 1a06e3de79
Move zuul jobs in-repo
This moves the openstack-tox-py35 and openstack-tox-pep8 zuul jobs to be
defined in-repo.

Also, no need to run mnay of these jobs on patches that are only changing
documentation.

Change-Id: Ic211dabcc903dde8848c4f9be9ed9a3f8806c23a
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2018-07-21 13:41:46 -05:00
Doug Hellmann 243516cde9 change the timeouts for the validate and list-changes jobs
Change-Id: Id3363a1778e95db230933e6f7d83cb3a41bb6cb3
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-16 15:50:45 -04:00
Mohammed Naser a993276012 Revert "Switch openstack-tox-validate to non-voting temporarily"
This reverts commit 31c476e2c8.

Change-Id: Ib20df8d25fe80c21e8e46cc5718a46bb1078c267
2018-02-20 13:39:37 -05:00
Mohammed Naser 202d39dc1c Switch openstack-tox-validate to non-voting temporarily
The Puppet OpenStack project had a module which was not released
since 2014 and therefore it did not have an entry in the goverance
repository.  The current TC chair is not available so in order to
not delay the release, set the validate job to non-voting to skip
the governance check for release.

Change-Id: Idfea40c4f3a1d624f097df34cb53d59fe25b4aaa
Related-Change: I54c4a9e9b2ec988914bc5174a599ab17ffe60cdc
2018-02-20 13:39:35 -05:00
Zuul 6582fc5bd3 Merge "Remove log handling override" 2018-02-08 17:02:37 +00:00
Zuul eb36adb5ed Merge "Zuul: Remove project name" 2018-02-02 15:45:20 +00:00
James E. Blair d56dd7f152 Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: Iaffac63d47bd3c00d4512b6eac9eb53feaa79afa
2018-02-02 01:26:32 -08:00
James E. Blair e8842cf53e Remove log handling override
We're uploading all logs again, so this emergency measure is no
longer necessary.

Change-Id: I4766847b1ee50d0a3800563baa226dc0fd970b47
2018-02-01 13:36:36 -08:00
Doug Hellmann 770d2a3c64 Revert "save the logs from tag-releases"
This reverts commit 66b769123d.

Change-Id: Ia7e7e375297c1be166337f58e5681458a70f5956
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-02-01 16:27:32 -05:00
Doug Hellmann 66b769123d save the logs from tag-releases
Sometimes when the job succeeds we still need to review the logs.

Change-Id: I2ea1f11100a6233b13f01541f140103e224182ce
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-02-01 15:55:22 -05:00
Doug Hellmann 4c470f33c5 Revert "add semaphore for publishing to the releases website"
Having a semaphore here broke zuul's ability to figure out what the job
should look like:
http://lists.openstack.org/pipermail/release-job-failures/2018-February/000751.html

This reverts commit 2a9fea62ab.

Change-Id: I2196edc33aee03e9b2695b548b09790ed670e7f7
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-02-01 10:09:37 -05:00
Doug Hellmann 2a9fea62ab add semaphore for publishing to the releases website
Change-Id: I8a340aac8d8581f4d99741b45d244f41ae61bc22
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-01-31 16:36:35 -05:00
Doug Hellmann ac16444a31 save logs for check jobs when they succeed
The default is to discard logs when a job succeeds, but we need the
logs for these jobs because they are reports that reviewers use to
evaluate the releases being proposed.

Change-Id: Ibba75a547bee5a8a5e7fba76b5962c0382009bb2
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-01-25 15:13:19 -05:00
Sean McGinnis bccb7dea80
Add doc job requirements.txt
We had previously installed our docs dependencies as extras in
setup.cfg. Doc jobs are now changed to not install the project,
so these dependencies are no longer being installed.

With recent changes to the doc jobs, we need to specificy that python3
is used. Update the zuul config file for this.

Change-Id: Ie925efefb1126dbe7fa0a9f0f1727da01f48c512
Depends-on: Ib882a4d09898ff206b36ac8aef840bee0748368e
2017-12-19 15:37:22 -06:00
Doug Hellmann 4e026d3fdb remove the association of jobs that are configured in project-config
The py35 and pep8 jobs are defined as part of the CTI and as such
should be managed through the project-config repository. Removing the
entries here should also fix the way the exclusion rules for files
that don't affect the tests are applied.

Depends-On: Iaa8dc88e999d22e2242eeb963838b29ba35ac3aa
Change-Id: I1dd45d269716d54c8d56a12912676bdc269aafcb
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-10-23 14:09:51 -04:00
Monty Taylor 3146ea542e Add releases specific jobs to the local .zuul.yaml file
These don't need to be managed centrally.

Depends-On: I53a40244c58198fbd706bf7db2125ebf016eae9a
Change-Id: I09fbeded069089a28fc20e29570c047c290fa0a4
2017-10-03 17:34:59 +00:00