Commit Graph

20 Commits

Author SHA1 Message Date
Emilien Macchi d0e81c22ca Retire Paunch
Change-Id: I8b2e9e20e477f2f00ad922f03e82114ff13212fe
2020-06-15 10:07:12 -04:00
pengyuesheng c78160c652 Drop python 2.7 support and testing
Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Remove explicit listed jobs from check queue, they are in the templates.

- Update jobs
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg:
  * Wheel is not needed for python 3 only repo
  * Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore

Co-Authored-By: Andreas Jaeger <aj@suse.com>
Change-Id: I4a1976c78b0fe69cc1b423c516d557838cb6d59b
2020-04-23 08:40:02 +00:00
Wes Hayutin b2a8afb770 remove py27 in tox.ini from paunch
Remove python 2 from envlist parameter. Check the link:

https://etherpad.openstack.org/p/drop-python2-support
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

The plan is drop the python 2 support from OpenStack in Ussuri release.
Move the basepython parameter.

Change-Id: I78a9fa945fb8f680a62f68e4b10833e0be233ee6
2020-04-01 21:33:54 -06:00
Wes Hayutin 6bf30006c0 move centos-7 jobs to centos-8 where possible
move standalone scenario jobs to centos-8

Related-Bug: #1865525
Change-Id: I2e0a5af0e7928e6048eedec9a91e6eeee60b98fa
2020-03-05 13:38:10 -07:00
Emilien Macchi a0a4276345 Update zuul layout to reflect recent changes in TripleO
Paunch is now disabled by default except on a few jobs when Pacemaker is
still running with Docker; which is the case of scenario004.

Let's remove the jobs where Paunch isn't exercised, to save resources.
And also add the 'irrelevant-files' parameter to skip the job when not
needed.

Note: it's not defined in that file but the OVB jobs running on CentOS7
also need to be executed until they are moved to CentOS8; since
Pacemaker and Docker are used; therefore Paunch is used to manage the
non-HA containers.

Change-Id: Ie8d2515b46f70b5ca39625bd0272d933f3b0ffec
2020-03-02 12:08:17 -05:00
pengyuesheng 0b53dc7183 Switch to Ussuri jobs
Change-Id: Ie75bc2e2e7a4edc8af1bda6e0522f2ad4964ab9c
2019-10-24 14:51:50 +08:00
Corey Bryant 66000cfdf0 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: I7dae23ccd677652a05a89346c2dc8f8d9d2dfffc
Story: #2005924
Task: #34253
2019-07-19 14:38:25 -04:00
Ronelle Landy fe4d2ff35e Remove scenario008 jobs
ODL is no longer tested.

Change-Id: I41a67d363a582c92e556c0a92ff12d113d5ee24c
2019-06-13 17:16:06 -04:00
Bogdan Dobrelya 33e9b23f09 Delay check CI jobs until the pep8/unit passes..
..for Greater Good.
Save CI resources and shorten wait-in-zuul-queue times
for other patches, when tox/pep8 checks failed.

NOTE: for example, standalone jobs are defined as a template in
tripleo-ci, and here we are adding and override the listed jobs for the
dependencies/files options. If a job is added to the standlone template
in tripleo-ci, we need to add the job and dependency here manually.
If we won't, that job will be consumed as is and run w/o dependencies.
That is the price to pay for not having overrides managed centrally in
tripleo-ci. The latter wouldn't work neither as a single template
cannot fit all the specific needs of numerous tripleo repos. So the
final call was made to manage overrides via local overrides for tripleo
repos.

For core openstack python projects it might make sense to
not split them apart and run them all together. For things like
TripleO/Kolla/Puppet/etc where we have layers of interactions that can
be affected by the results from the linters/unit jobs it makes
sense to split them out.

For example, in tripleo since we use packages, if the unit test fails
the integration test may fail because when we go to built the package
with the new source, the unit test int he package build fails.  Thus
we know that'll be a wasted execution and you won't actually get any
results.

An alternative Today:
  patchset one:
    pep8 SUCCESS
    unittest FAILURE
    integration FAILURE
  patchset two:
    pep8 SUCCESS
    unittest SUCCESS
    integration FAILURE
  patchset three:
    pep8 SUCCESS
    unittest SUCCESS
    integration SUCCESS

Future:
  patchset one:
    pep8 SUCCESS
    unittest FAILURE
    integration SKIPPED
  patchset two:
    pep8 SUCCESS
    unittest SUCCESS
    integration FAILURE
  patchset three:
    pep8 SUCCESS
    unittest SUCCESS
    integration SUCCESS

This may not be true for devstack but if the unit
tests are failing, then the code is likely bad (backwards
compatibility/wrong assumptions about change/etc) and we shouldn't be
running an actual deployment.

Related upstream ML threads:
* http://lists.openstack.org/pipermail/openstack-dev/2018-March/
127869.html
* http://lists.openstack.org/pipermail/openstack-discuss/
2019-February/003142.html

Change-Id: I967ff0323756e63e9bd66049080dde2a870399fd
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2019-03-05 16:21:41 +01:00
Emilien Macchi 3a4b491578 Remove tripleo-ci-centos-7-containerized-undercloud-upgrades from gate
This job is now non voting, so we don't want it in the gate.

Change-Id: I7d9cae928694dd547215bfbb02df81db5b4a3a11
2018-11-06 11:05:37 -05:00
Emilien Macchi fd01df5c5c zuul: run tripleo-ci-centos-7-containerized-undercloud-upgrades
We'll need this job in Stein to test upgrades from Docker to Podman.

Change-Id: Icce715e14c45576275c22fdb2c923e8ff4bb121a
2018-10-07 11:42:05 -04:00
Doug Hellmann 3e340a2d6a 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: I89d594d5d9d00e08ab9b16b9adb06b7150c72bfb
Story: #2002586
Task: #24341
2018-08-29 10:06:01 -04:00
Doug Hellmann 8ca3ac208c 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: Ieceb6eb299abfb640ce9cb78e26302469b7554b5
Story: #2002586
Task: #24341
2018-08-29 10:05:43 -04:00
Doug Hellmann 7e3a56033b 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: I462d3aad64a3ff339e0fd84126afd8e431afb18f
Story: #2002586
Task: #24341
2018-08-29 10:01:41 -04:00
Emilien Macchi 0104af886d Add openstack-python35-jobs
Change-Id: Ib3b9b475055ece799357c85621342c1b7e5e27cf
2018-08-07 10:06:39 +00:00
Zuul 90939a8032 Merge "Zuul: Remove project name" 2018-02-06 02:51:50 +00:00
James E. Blair e16a742528 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: Id655209306fa0cda1d012dac6996dbfc95dbbc00
2018-02-05 11:37:22 -08:00
Sagi Shnaidman 6b48d6ad34 Remove RH1 OVB jobs from configuration
Remove OVB RH1 jobs from configuration for this repo
Related-Bug: #1744763

Change-Id: I8e8926a684ee67c1479a3154a7c4a627cdfe8ca3
2018-01-25 14:16:57 +02:00
Emilien Macchi e5cb5d6b2c zuul: change OVB job layout
- Pike: run ovb-containers
- Queens and beyond: run ovb-ha (containerized)

Depends-On: I2ce9376def4d2c7637573420760a79a0ae3af4b2
Change-Id: I7aad503175d16482e44e8ca86375eed6c82a6691
2017-11-23 07:46:13 -08:00
Emilien Macchi b9cb9a7129 Migrate paunch to zuul v3 jobs
Define the zuul v3 layout for jobs that we want to execute.

Change-Id: If632e42de288d7ddbce67a58285b2d1642bbe90e
2017-11-17 20:13:08 +00:00