Commit Graph

36 Commits (5084da819697eaa6d36294e1c6498ff194498ea9)

Author SHA1 Message Date
Alex Schultz 4dbb45315b Drop minion
This is no longer valid with the switch to ephemeral heat for
deployments.

Depends-On: https://review.rdoproject.org/r/c/openstack/tripleoclient-distgit/+/35907
Change-Id: Id3e21879c0fb831583ec41804e99da8cffcb9d86
2021-10-01 14:03:39 +00:00
Jiri Podivin 24ee6925b6 Enabling cover job in the zuul
Measuring coverage for each patch will help us pinpoint
where we lack test coverage and quickly determine if
the newly introduced code doesn't have negative impact on it.

Coverage measurement is not set as a dependcy for the more complex actions
in the check pipeline, so we are unlikely to see delays in patches passing.

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Ic37d30c8c1920f7d315dd7da12418d60509c42d4
2021-08-24 11:07:22 +00:00
Brendan Shephard 86381b4b6c Enable py38 test
At some point in the near future we'll need to move
away from Python 3.6. We should probably ensure
everything is working for newer versions of python
as well.

Change-Id: Id20ea18518080a502a4ccd9b54f6f153b2001c46
2021-08-19 17:12:13 +10:00
matbu 654331cc0e Trigger Validation on standalone job with tripleo CLI command
In order to test the TripleO CLI for Validations and the whole chain to avoid
blocker and regression, this patch enable Validation at the end of the Standalone job.

The cost of it, is arround 3 or 4 minutes max.

Change-Id: Ide76602bc4ccf217af00678485d8ea5c5f462bfe
2021-06-18 04:46:58 +00:00
Marios Andreou 74c42829eb Remove unnecessary zuul layout overrides use templates instead
This removes unnecessary zuul layout overrides. The containers
multinode and standalone/scenarios are already included via the
wired-up templates. Keeps only the undercloud-minion which is not
in the tripleo-multinode-container-minimal-pipeline [1] but updates
the consumer job vars. Part of tripleo-ci optimisation at [2].

[1] 67a58a4378/zuul.d/multinode-jobs.yaml (L71-L85)
[2] https://review.opendev.org/q/topic:tripleo-ci-reduce

Change-Id: I7c4ba85cbc1525079a94cb76aa9576b24f1d0fbb
2021-03-10 10:58:06 +00:00
Bogdan Dobrelya 9014c68e60 Add lint dependencies for content provider
If linting fails, content provider still builds.
Whis is suboptimal, since standalone/multinode jobs will be skipped and
nothing will use those builds.

Put cprovider into dependency on the linting jobs as well.

Change-Id: Icdd2c581c8e610eb687042044c2a8f3efee44527
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2021-01-15 10:43:38 +01:00
Marios Andreou 48bedd7603 Wire up new tripleo upgrades jobs template
The depends-on adds a new upgrade jobs template which is wired up
here. Once wired up across tripleo we can remove excess content
providers with [1].

[1] https://review.opendev.org/c/openstack/tripleo-ci/+/769131
Depends-On: https://review.opendev.org/761188

Change-Id: I29b34ecfbbfc193a5c10c1b8a252660ebb5c4905
2021-01-05 14:14:48 +02:00
Kevin Carter 136e7440a9 The lower constraint file has been removed
This file, and its tests, are not useful for tripleo so we're
removing because they're now becoming problematic.

Change-Id: I656105826e5fa85ffaf077bdc831fa5800ad493c
Signed-off-by: Kevin Carter <kecarter@redhat.com>
2020-12-08 10:54:59 -06:00
Amol Kahat 02593d0b47
Removed ubi-8 based jobs
ubi-8 based jobs uses tcib method of building containers
and same method also used by content-provider jobs.

We nearly migrated to content-provider, this jobs
are no longer in use.

Change-Id: I499a1d8f985843cf11dfb3b620e119a895380fe1
Signed-off-by: Amol Kahat <amolkahat@gmail.com>
2020-11-10 09:41:17 +05:30
Rafael Folco 2aca771c1b Switch to content provider jobs/templates
This change switches templates and jobs to the content provider
dependency relation so the jobs share the produced artifacts.

Depends-On: https://review.opendev.org/#/c/756128
Change-Id: I710944ef28c130ae403921a73580dce9276e5060
2020-10-08 11:03:22 -03:00
Emilien Macchi d57fb767f2 zuul: run standalone job with locally built images
We now want to test the CLI that builds the container images, so we
picked standalone job and will run the same job except that instead of
pulling images from a remote registry, we'll build them locally and use
them for the deployment.

Depends-On: https://review.opendev.org/729824
Depends-On: https://review.opendev.org/729465
Depends-On: https://review.opendev.org/734870
Depends-On: https://review.opendev.org/733388

Change-Id: I4b30c0c2478d401babe3e690bd54b2853201baab
2020-06-19 02:46:12 +00:00
Emilien Macchi 9806e3908b Run tripleo-build-containers-ubi-8 under specific conditions
Only run tripleo-build-containers-ubi-8 when we touch the code that
builds container images.

Depends-On: I50e0b773273910ed7e4884d52106f07003d4e080
Change-Id: I8367fb3b140f38bb61a32dedafd36052897ce80b
2020-06-15 13:54:06 +00:00
Wes Hayutin 3ca82dc1fb clean up tripleoclient zuul layout, remove centos-7
Change-Id: I5f3f314897046683d07ec942481756bbcd9374c1
2020-04-02 01:25:04 +00:00
Wes Hayutin 9bab4be307 update containers-multinode, minion to centos-8
Depends-On: https://review.opendev.org/#/c/711480
Change-Id: I903729bcf0d6212bb542e3536140da9b44824b30
2020-03-05 09:51:12 -07:00
Wes Hayutin f6121c4b0f migrate from centos7 -> centos-8 for standalone jobs
scenario1-4 available on centos-8 now

Related-Bug: #1865525
Change-Id: I72530514d7d2641eb1a53c31402bc9cbf2887a78
2020-03-02 09:32:41 -07:00
Alex Schultz 0ee171b5e1 Cleanup the job templates
openstack-python3-ussuri-jobs has the py36/py37/pep8 jobs defined
and should be used for the current master since when we branch
for ussuri, this will be correct.

Change-Id: I9413dcf5d865054e8ce70be8f743cc06800e73fb
2020-02-05 14:00:15 +05:30
Wes Hayutin 07c1368276 remove py27 tox
Partial-Bug: #1861803
Change-Id: Iaa4d75d35e21bf75ac78ad540e248a4c21155bdb
2020-02-04 09:54:25 -07:00
Wes Hayutin 87d4f7981e return py27 to voting
cloudnull the incredible and slayed the
py27 dragon and brought back it's head.
He also returned w/ a working py27 unit
test job that allows dlrn builds to
also work properly.

Related-Change: https://review.opendev.org/#/c/704859/
Change-Id: Ic70d9c5b5cbeca58e6640291cdb3f8840d90eca2
2020-01-30 08:44:43 -07:00
Emilien Macchi d31fbf2e4c Disable voting on openstack-tox-py27
We believe there is a recent change in stestr that might break python27:
af0fdae10d

Until we figure it out, let's disable py27 testing which anyway will be
removed soon once we roll out centos8 testing.

- Disabling voting on openstack-tox-py27
- Remove it from the gate queue
- Stop using the openstack-python-jobs template

Change-Id: I2973ab7c6385f56ccb46f0f0cc82f32cfc56c87c
2019-09-27 15:29:18 +00:00
Zuul a2dfeadc73 Merge "Add minion job" 2019-08-13 00:59:07 +00:00
Alex Schultz 84493f342d Add minion job
Change-Id: Ice7967e879fcdaada9ffff4fb5a26dc84be8e6a1
Depends-On: https://review.opendev.org/#/c/662350/
2019-08-05 23:14:47 +00:00
Corey Bryant e099e19af3 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: Ie27e6107a7334a3a2f9aeb054b0c559c0440db51
Story: #2005924
Task: #34253
2019-07-24 10:25:57 +02:00
Ronelle Landy a715d2713a Remove scenario008 jobs
ODL is no longer tested.

Change-Id: I326e948b340506dc05c278ebd2d25838315dcee8
2019-06-13 18:17:12 -04:00
Bogdan Dobrelya cea35ae72e 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: I60dfb82cf4020fa64ed6952f7f0fb9f49899d91f
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2019-03-05 16:22:29 +01:00
Quique Llorente 12f0857f0d Add standalone scenario jobs
Now we have a project-template to run it at projects

Depends-On: https://review.openstack.org/634231

Change-Id: Ie6328cb41b5ba7993ab329daec7c8c9bfa75b1ca
2019-01-31 14:44:20 +01:00
confi-surya 49cce8f199 Use template for lower-constraints
Small cleanups:

* Use openstack-lower-constraints-jobs template, remove individual
  jobs.
* Sort list of templates

Change-Id: I4c107cd94d4e712d2a14eb2b2b68dbe12701322d
Needed-By: https://review.openstack.org/623229
2018-12-24 13:19:59 +05:30
Alex Schultz 4a1108c2a6 Drop baremetal job template
https://review.openstack.org/#/c/619337/ switched the jobs to a noop for
master and since this file is branched we no longer need to keep this
template definition in this project.

Change-Id: I2ce00106d232d28380c4405ff3ff5e1d036c81c4
2018-12-13 13:50:38 -07:00
Sorin Sbarnea d5b16b5ca5 Add missing py37 toxenv and corrected default envlist
* Change order of default tox envlist in order of likeliness to fail
on a new change (fail-fast strategy).
* Remove pypy from envlist as it was not tested on CI, tox default
set of environment should match CI
* Adds py37 to spot possible breakers like dropping relative imports

Change-Id: I4f4abce84f968ff0715abcb5d04fc0014f131fee
2018-11-27 11:40:37 +00:00
Alex Schultz 9a5f6d594f Add container build job
Change-Id: If7681a83ec40b48660438c1e1a85ff016d8eeaa2
Depends-On: https://review.openstack.org/#/c/614392/
2018-11-05 12:19:02 -07:00
Doug Hellmann 6b2704095b 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: I4b3376132eaf5909ca112a127db097132858b87f
Story: #2002586
Task: #24341
2018-08-29 10:06:03 -04:00
Doug Hellmann 365df24cee 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: I5d1dd2e123d1fad435dd11ce38952c200e1f26fd
Story: #2002586
Task: #24341
2018-08-29 10:05:44 -04:00
Doug Hellmann c20ae90f30 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: I30163d1d6dc15f747380860dccb41a3ba1669f00
Story: #2002586
Task: #24341
2018-08-29 10:02:17 -04:00
Doug Hellmann 465ce03d8c 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.

Update the requirement for tripleo-common to reflect reality, and update
the constraint for tenaciy.

Change-Id: Ifdf8dd1c782d6d6ac575d6fd5364dcb083e805a9
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-22 23:03:29 +00:00
James E. Blair 07e27ffda1 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: I0bef5348d786c9dcd35e0f03e01df2a6e3270adf
2018-02-01 21:24:39 -08:00
Sagi Shnaidman 286494caed Remove RH1 OVB jobs from configuration
Remove OVB RH1 jobs from configuration for this repo
Related-Bug: #1744763

Change-Id: Ie28daf8e3b4f6609ca855a1c29a7549490419a1d
2018-01-22 19:34:44 +00:00
Emilien Macchi 70b93f4d9c Migrate python-tripleoclient to zuul v3 jobs
Define the zuul v3 layout for jobs that we want to execute.

Change-Id: I5d421fbcc37b919dcab5f5d3ff6134cdaebab6b5
Depends-On: Ie8aa85fe7a8ee556cc1b46e215d329e95913290c
2017-11-15 18:15:09 -08:00