Commit Graph

48 Commits

Author SHA1 Message Date
Andreas Jaeger c74ee2e74e Remove publish-to-pypi template
This template needs to be in project-config since the jobs are not
branch aware. The template is already setup in project-config, so just
remove the extra line here.

Change-Id: I60c0214bfa1bb6614f4e776c3d8a352cfcbfcb8b
2020-06-01 18:50:07 +00:00
Andreas Jaeger 08c07018dc Fix pep8 and py27, functional jobs
pyflake8 was updated and not properly constrainted by hacking, update
to hacking 3.1.0 and fix the problems found.

py27 failed since global upper-constraints includes py3 only packages.
Use lower-constraints for this test.

The functional jobs run on master with py27, remove the py27 master job,
change the jobs so that py3 is used everywhere.

Change-Id: I695d60e53857e03f206dcd7cf10c06c76c8d6cc0
2020-06-01 07:54:56 -05:00
Sean McGinnis 4814b683f4
Declare py38 support
Python 3.8 is one of the new required runtimes for the Victoria release.
Now that we have test coverage for py38 and it is passing, we can add
3.8 as one of the supported runtimes in the project metadata.

Change-Id: I97179030993c0b49ffe93aa28ffc672c6b859439
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-17 10:05:44 -05:00
OpenStack Release Bot 3aaaac9d16 Add Python3 victoria unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Iaceea4271459eeb0c5066b2a9304754691c16712
2020-04-17 14:55:17 +00:00
Sean McGinnis 3db89db8c6 Break out py27 job templates
To allow non-py27 supporting repos to use shade job templates, this
breaks out the py27 and py3 jobs into separate templates. Relevant repos
can then continue to use the existing template names without picking up
the unsupported job runtimes they no longer need.

Remove the py27-tips jobs - they just don't make any sense any more.

Change-Id: Ia211e31723ede592f19a8df6c18e45699ca25788
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-11 13:20:26 -05:00
xuanyandong e7c7f29ae9 Switch to Ussuri jobs
Change-Id: If6b5c69a6c7f47b13afbd3871bfcf6818e96f5b3
2019-10-25 10:58:56 +08:00
Andreas Jaeger ed25fe3d36 Switch openSUSE job name
Change I01feece468b2df904b7e1d0c04e36fb7240e7f0d renamed the openSUSE
job from -15.0 to -15, follow the name change.

Change-Id: Ic8ff308de5ac49d9ce08a7508cba6d3609ca4da0
2019-08-19 21:33:54 +02:00
Corey Bryant b0639aa94f 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: I96c9f4dc64b252bac3c934936c7eebe270862c9e
Story: #2005924
Task: #34233
2019-07-05 14:36:51 -04:00
OpenDev Sysadmins a3ff9afbf0 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:39:33 +00:00
Andreas Jaeger cf1318eb8c Use openSUSE 15.0 for testing
Change from openSUSE 42.3 to 15.0 for testing
(Yes, 15.0 is current version and 42.3 is older).

Needed-By: https://review.openstack.org/617277
Depends-On: https://review.openstack.org/599521
Change-Id: I8bdddb6393f880e2779dc456c492542636b8bf59
2018-11-12 12:01:19 +01:00
Monty Taylor 0dc9e9ab8f
Trim away the cover and py35 jobs
We're doing py36, so skip py35, it's just duplicative.

Also, we don't really care about the cover jobs.

Change-Id: Ia99ea6f5937140d7ce0a9a637a21fc3ebad46dc6
2018-09-25 13:49:12 -05:00
Andreas Jaeger 140d69db98 Cleanup .zuul.yaml
Some cleanups:
* Use tox-lower-constraints template instead of individual jobs.
* Use cover template to run cover job only in check as voting.
* Sort list of templates alphabetically.
* Remove publish-to-pypi, it should stay in project-config (and
  the project-config change keeps it there).

Change-Id: I228b74e264db7a0f604b6d8b72b60d2c4ee854c5
2018-09-16 15:22:54 +02:00
Vieri d5c0cc45d1 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: I8a268b59600f572b4c3e6f5e39d45842b9a43aed
Story: #2002586
Task: #24321
2018-08-21 16:23:54 +00:00
Vieri f797006e90 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: Iee24afd0da25751b7b2f8ec073066bcc7ebd5f5c
Story: #2002586
Task: #24321
2018-08-21 16:23:48 +00:00
Vieri 7e727a12c2 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: I63f7f96d411b97d29859c33b8a61628130d5a15d
Story: #2002586
Task: #24321
2018-08-21 16:22:59 +00:00
Zuul a8efa5231b Merge "Remove shade-ansible-devel job" 2018-07-05 20:28:47 +00:00
Monty Taylor 14164702d4
Switch bifrost jobs to nonvoting
bifrost doesn't have a symmetrical gate with ironic, which means
sometimes it can get broken by ironic changes. It's important that we
don't break bifrost, but sometimes it can break us, so let's change it
to non-voting and pay attention to it.

Change-Id: I69a6c4b05cfeebb31721c9787241161a080da045
2018-06-25 10:07:13 -05:00
Monty Taylor 6099e44df3
Remove shade-ansible-devel job
shade-ansible-stable-2.5 is the one in use now, remove the old one.

Change-Id: I1b59d2d4b61fac4f19d62736db5edc7753d86b92
Depends-On: https://review.openstack.org/570681
2018-05-27 08:57:30 -05:00
Monty Taylor 949982c780
Update ansible test job to run against stable-2.5
ansible now depends on openstacksdk and not shade. Update the shade
tests to test against stable-2.5 branch so that we can make sure shade
patches don't break people using older ansible.

Change-Id: Id7af93cbc73b208d7a973ca5101b8977a0ace689
2018-05-27 08:48:00 -05:00
Doug Hellmann 8f99e6e3e9 add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Fix the lower-bound for requests-mock, since 1.1.0 does not actually
work.

Change-Id: I8740a80c64e24c8339ee9b0992c2f81b1784e672
Depends-On: https://review.openstack.org/555034
Depends-On: https://review.openstack.org/555402
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-06 01:27:16 -04:00
Monty Taylor 017630e314
Rename python-openstacksdk to openstacksdk
Change-Id: I96dace187cbe0772c3040becceb08740f08cbb68
Depends-On: https://review.openstack.org/554662
2018-03-23 09:09:49 -05:00
Monty Taylor 4b5754fd5a
Make shade-tox-tips actually run shade tests
Whoops. This is currently running tox tests in the triggering project.

Change-Id: I2b25bc66375292b1bb9bc3a7e548d937eb9dfe35
2018-03-03 08:31:43 -06:00
Monty Taylor 3ce7b36b1c
Fetch tox dir and html reports
We need to fetch the html test reports after we run the tests.

Change-Id: If05f1557f7de442efcca40efc67353452de01def
2018-02-16 23:29:25 -06:00
Monty Taylor 44189e917e
Use openstacksdk for most transitive depends
This should get openstacksdk on to people's machines in advance of
porting ansible modules to use sdk directly. It also lets us just use
sdk for all of the transitive depends.

Leave os-client-config as openstacksdk doesn't depend on it and
transitioning to openstack.config is a better task for the rocky cycle.

Change-Id: I6d26785b3aa1fc75fb0ad2d45684d93e9628f61b
2018-02-07 11:07:37 -06:00
Zuul 0bf701767f Merge "Zuul: Remove project name" 2018-02-01 12:43:35 +00:00
James E. Blair 6bfb11f435 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: I0c8abe5ce4fa3d20bbbbb3db869fe1fd3fa58723
2018-01-31 23:34:59 -08:00
Monty Taylor 34fb4820fb
Shift voting flag and test_matrix_branch for ansible-devel job
We want the job to vote on the github side, but  not here. That means we
should list it as non-voting in our project pipeline definition and not
in the job definition itself.

We also want the job to run using master of devstack. Override the
test_matrix_branch variable.

Also, fix a comment because it's driving slaweq and I crazy.

Change-Id: Ic9d3983de641dbe618c65b2cbf2dcfa3686575df
2018-01-31 09:45:20 -06:00
Zuul 78bcfe80dd Merge "Add devel branches and override-checkout for ansible-devel job" 2018-01-31 15:41:16 +00:00
Monty Taylor 270665adc2
Add devel branches and override-checkout for ansible-devel job
Ansible uses the branch 'devel' for the main branch. Without listing it
in branches, zuul doesn't consider it to be a matching change.

Also, devstack should always come from master, as should shade.

Change-Id: Ie61fc55ff12b0074a82d878e86a47a092e091e7a
2018-01-24 10:56:44 -06:00
Monty Taylor 4772c2285b Use devstack functional test base job
We extracted some of our functional base job to the devstack repo.
Consume it.

Change-Id: I0b5172384ed1f4017d4f4ada7f4dadc5593f14be
Depends-On: https://review.openstack.org/#/c/526114/
2018-01-24 16:02:41 +00:00
Monty Taylor d69288b1a2
List ansible/ansible in required-projects
The ansible-devel functional test intends to run against tip of ansible
devel. Let Zuul handle that and depends-on once cross-source depends
exist by listing ansible/ansible as a required-project.

Remove the special install handling, as tox-install-siblings should be
taking care of it now.

Change-Id: I93459ffc116f9106d9eb8000a7e5a58bea507308
Depends-On: Ib5e35315fc9ffe6fa8873ad4975309d9820e1feb
Depends-On: I6d234247e3d45befd264e159c8b0fe77f01c7fdc
2018-01-08 18:24:25 -06:00
Monty Taylor 053d329121
Remove shade-functional-devstack-legacy
It doesn't work - and won't work until we sort out the alternate
mechanism of installing old clouds. Stop running it for now - it's just
wasting build resources.

Change-Id: Iebcadd5ea3e89c789c203c8f7690fb9e9c500046
2017-12-04 11:15:04 -06:00
Monty Taylor bac072ba08
Add bifrost jobs
Let's make sure shade changes don't break bifrost.

Change-Id: I8a585038d7ac615d8da3dd15b109bf1fda9267d8
Depends-On: I946582087855e0e2fc26767126f0f87500658c69
Depends-On: Ic192bd6b5fa16726d6c03e83e752bc8beee81720
2017-12-03 10:51:39 -06:00
David Shrewsbury eede42213a Remove unnecessary roles reference
Roles of the parent are automatically inherited.

Change-Id: Ia86671ae95382951ae0020eff2527f89cb4b1af9
2017-11-15 12:35:56 -05:00
Pavlo Shchelokovskyy 1c709beb61 Fix the devstack role for base functional job
Change-Id: I1a3ce2cdf6e4e3fd9ecdc22b6085a7699c2ffa9d
2017-11-15 17:22:16 +02:00
James E. Blair 59997f2331 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: I45a97388ad70533570431c10493544a22f2798c2
2017-10-29 16:04:53 -07:00
Monty Taylor 28c94c0348
Add project-template for functional tips jobs
Rather than adding them individual in other places, make a functional
tips project-template.

Name it shade-functional-tips rather than shade-functional-devstack-tips
because we might add jobs like shade-functional-ansible-tips or
something in the future and might want to include such things.

Change-Id: I544fdf515f8df38d73cee64a6de799ab384a326e
2017-10-26 06:26:57 +13:00
Monty Taylor ce3826d5aa
Turn on voting for functional tips jobs
The tips jobs now just use the tips of keystoneauth and os-client-config
which should be TOTALLY safe to gate against.

Rename the jobs to -tips to match the unittest tips jobs.

Change-Id: I85968737585391c4e8fc0defddd687b472720e53
2017-10-22 15:52:49 +02:00
Monty Taylor 6f90347801
Add devstack jobs for zuul v3
Consume the new devstack base job.

Change-Id: I23eefb219a2f6111a85364803a1d87dd3367224b
2017-10-21 13:27:56 +02:00
Monty Taylor dfa29637da
Add unittest tips jobs
Changes to keystoneauth and os-client-config are deeply important to
shade. Add a job that runs shade's unittests against their master
branches.

Change-Id: I5b411be5c5aa43535fa89a51d6099aadd7a8ea60
Depends-On: Ifa5cc3e335b9e9ad52c4c5c9ab71aaea70d4c9aa
Depends-On: I387f01557afc36fd621197e2a97500ef44d7aace
2017-10-21 13:27:51 +02:00
Andreas Jaeger 689d9e8724 Consume publish-openstack-sphinx-docs
It's been updated in openstack-zuul-jobs, consume the new thing here.

Change-Id: Ieede8432bc9c41eb786923ffa94cbcbecc89a5ec
Needed-By:  Ia5ecbdb48d3c425a2a15945b4f2e620080b7b3d5
Depends-On: I2b75479fc925822c13fd375bff66926e7766b912
2017-10-01 07:30:57 +02:00
Paul Belanger 2c23196f23
Stop using openstack-doc-build
We are in the process of moving openstack-doc-build to project-config,
stop running for now.

Change-Id: I409929a61044b397eedebe730b43b7897816141f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-09-15 12:52:57 -04:00
Jenkins 714dabcc33 Merge "Add pypi and doc publication templates" 2017-09-14 19:31:10 +00:00
Monty Taylor f29d04dcf9 Add pypi and doc publication templates
Change-Id: Iaa2b3742d04135a6da35f42f4a787937b9bc81eb
Depends-On: I01ea35061ba92c2e466c6269c61e640461d6da99
Depends-On: I4f1aea66fcbb623f554ded4d7ce63ff4c1168e45
2017-09-14 17:46:45 +00:00
Monty Taylor 605301f99a
Switch to constraints version of tox job
Change-Id: I4c874df5b0c7f6d28b4dea6b25b32aba95cf6db9
2017-09-09 15:30:24 -05:00
Paul Belanger 960a27447c
Add openstack-doc-build to shade
Validate shade is able to build docs using openstack-doc-build with
constraints.

Change-Id: If419a417d717fe4d5a6da452adf65f63bb8d93e6
Depends-On: Ib998f83135a4fcb796a205e52c435ab29b7cab7b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-09-09 09:10:21 -05:00
Monty Taylor ff70995436
Switch to normal tox-py35 job
Change-Id: Id307bd15b0c1b43ce7fba15ac5230c7d26b2a5bc
2017-09-08 18:45:06 -05:00
Paul Belanger f66f862073
Initial commit of zuulv3 jobs
Here we are adding shade to zuulv3.o.o to aid in testing.

Add UPPER_CONSTRAINTS_FILE to tox whitelist of variables.

Change-Id: I4bc3bd751a80308df3b2114f95886bd104516dd2
Depends-On: Ib9f0a787998f34414c8072074113d29cdb8cdb59
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-07-25 13:49:26 -04:00