Commit Graph

111 Commits

Author SHA1 Message Date
Rafael Folco
62e7beb388 Switch c8-standalone to content provider
This change switches c8-standalone job to the content provider
dependency relation so the jobs share the produced artifacts.
It has been forgot previously.

Nuke c7 jobs from master layout.

Change-Id: I75172f2f55e8ef9adc207320e6f0bdebb310d2f8
2020-10-28 09:13:01 +00:00
Sagi Shnaidman
f2317a2a71 Add content provider jobs to THT
Depends-On: https://review.opendev.org/#/c/756131/
Depends-On: https://review.opendev.org/#/c/756128/

Change-Id: Ie83e282c98e0082fcca74bc5165df9cf982a508d
2020-10-13 14:26:55 +00:00
Pooja Jadhav
54a1d4153b Add project template for IPA multinode
Depends-On: https://review.opendev.org/#/c/729907/

Change-Id: I8955fced379f5da8cb401aa46dc0fd393b95a5aa
2020-06-08 13:11:40 -06:00
Ade Lee
1ed331a45b Add additional files to ipa standalone test
The added files contain composable services that define
certificate_specs and therefore create certificates when
configured with tls-everywhere.

Change-Id: I08fe238da5cf379b1d5c607b2c544f971e0211be
2020-05-21 16:23:47 -06:00
Pooja Jadhav
d96edb06a6 Trigger a job to run a standalone deploy with IPA on multinode
"tripleo-ci-centos-8-standalone-on-multinode-ipa" is a job
to create a multinode setup of two nodes having FreeIPA
server along with standalone deployment will trigger when
there are code changes related to TLS and IPA services.

Depends-On: https://review.opendev.org/#/c/706288/
Change-Id: I979d32cbc22799df79e9ea7da7d9360c708b76e8
2020-05-07 19:00:32 +00:00
Takashi Kajinami
61201d1a7b Cleanup remaining iteams for removed Tacker service
... because we already removed support for Tacker services[1].

[1] b44a079578

Change-Id: I587d832fa11f3879b9bf1d3a6dda94fe6d6e0820
2020-04-18 22:13:50 +09:00
Wes Hayutin
f54a22a83f remove centos-7-standalone-upgrade for master
Change-Id: If7385594f917a23a235f63e1a19a912e416dc04b
2020-03-31 11:05:34 -06:00
Chandan Kumar (raukadah)
e423bcf389 Fixed libvirt volume path for nova-migration-target-container
Depends-On: https://review.opendev.org/#/c/711599/

Co-Authored-By: Cédric Jeanneret (Tengu) <cjeanne@redhat.com>
Change-Id: I2af6587fbfa659eb46b712d63b998e039189d31f
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Signed-off-by: Cédric Jeanneret <cjeanner@redhat.com>
2020-03-16 07:34:26 +01:00
Wes Hayutin
b33d9c537d update containers-multinode, minion to centos-8
Depends-On: https://review.opendev.org/#/c/711480/
Change-Id: I5c4fa8c22c20acd211bbc67f057356da1d53fbd1
2020-03-05 10:06:57 -07:00
Wes Hayutin
cab2abf916 update tht standalone scenario jobs for centos-8
move centos-7 jobs to centos-8 where possible.

Related-Bug: #1865525
Change-Id: I22c08bea913542e71c6cea10f2b13bbf8320fb74
2020-03-05 15:01:57 +00:00
Emilien Macchi
80a8ec48b1 Remove deprecated kubernetes services
They were deprecated in Train and aren't used anywhere.
This also remove scenario006 which wasn't working anyway, and was
deploying the kubernetes service.

Change-Id: Id2ea4944c688039e28c4d16635bb4f2b0ed23154
2020-02-18 17:22:04 +00:00
Zuul
a478d4fa32 Merge "add tht/common to trigger path" 2020-02-17 02:06:38 +00:00
Alex Schultz
caef56e268 Remove py27 jobs
Switch to openstack-python3-ussuri-jobs instead of openstack-python-jobs
which means we'll get py3 jobs only.

Partial-Bug: #1861803
Change-Id: I60b111a19090601155769833a267f8e97ab29192
2020-02-04 20:49:09 +00:00
Wes Hayutin
c6dd5553d6 Revert "mark scen10 and scen000 update/upgrade non-voting"
This reverts commit c350126be0.

Change-Id: Ifc0e5deb0656bb778fa0d37dbb1c6022e4088ddf
2020-01-31 13:23:04 -07:00
Wes Hayutin
c350126be0 mark scen10 and scen000 update/upgrade non-voting
revert this patch after:
https://review.opendev.org/#/c/705051
https://review.opendev.org/#/c/704885

Change-Id: If9eeec2b027cfd1c65360d8130c2e748100ae8d0
2020-01-31 07:42:55 -07:00
Wes Hayutin
7359ddc989 add tht/common to trigger path
missed a check on
https://review.opendev.org/#/c/704426/

Change-Id: I87f8970556f8450be23f37276db0b8227e2b35a6
2020-01-29 14:15:45 -07:00
Emilien Macchi
8db74afe8b Make tripleo-ci-centos-7-containers-undercloud-minion depends on pep
Like other functional jobs, make the new
tripleo-ci-centos-7-containers-undercloud-minion to depend on the pep8
job results to avoid consuming resources if pep failed.

Change-Id: I0b986d70bb04c23494d7fb7b59d44441dc77d400
2019-12-09 16:28:10 -05:00
Emilien Macchi
ccf1bca97c zuul: remove "files" for openstack-tox-tht
openstack-tox-tht is a dependency of functional testing jobs, which can
be problematic now because it only runs if some files are touched.

If e.g. common/container_puppet.py is the only file that is changed,
zuul will complain because the dependency graph is broken.

Let's relax openstack-tox-tht to run all the times; and stay a
dependency of other functional testing jobs (which brings value).

Change-Id: I3f05ca26064a2897a724876033a5cc4a602c38a2
2019-11-07 15:34:50 +01:00
Carlos Camacho
0de387ee3c Ansible lint check in THT
Until now if there is a nit inside any
Ansible task part of tripleo-heat-templates we will
need to wait until the end-to-end test imports
the actual tasks to fail.

This submission adds the hability to run a syntax
check for any Ansible task part of any role
defined by default in the resource registry.

Also it will allow to reduce the CI CO2 footprint
by not executing unneeded jobs meant to fail.
Let's save the planet and some CI cycles.

Change-Id: I6eb7c873cc9a4b7d765e745dc260475bff7b268a
2019-10-30 04:56:05 -04:00
Alex Schultz
4b352b4ca4 Deprecate kubespray kubernetes install
We haven't tested this in many cycles and is not currently being
persued as a supported service to install via TripleO.

Change-Id: Iec607ab6a5ba5b5156009073a264fa88ac59331e
2019-10-15 08:16:38 -04:00
Wes Hayutin
e45949699d move multinode scen006 to experimental
scenario006 is failing for a long time.
Move out of check and into experimental
http://zuul.openstack.org/builds?job_name=tripleo-ci-centos-7-scenario006-multinode-oooq-container

Change-Id: Ie5cbc9285667c039659ecbd733b8e93205eb63a1
2019-09-18 14:36:09 -06:00
Zuul
c47c918d62 Merge "Add Python 3 Train unit tests" 2019-08-12 23:18:36 +00:00
Zuul
8a2253830a Merge "Disable tripleo-ci-fedora-28-standalone job" 2019-08-12 22:43:03 +00:00
Emilien Macchi
1e33ed8366 Remove pingtest from THT
The pingtest isn't used anywhere in Train cycle, we can remove it.

Change-Id: Ida2ddd1f880e09e930eac3dccd5b7e2989bc1bd2
2019-08-10 03:44:16 -04:00
Rafael Folco
83bc4f9ded Disable tripleo-ci-fedora-28-standalone job
tripleo-ci-fedora-28-standalone is deprecated and should be
disabled in all tripleo repos.

Change-Id: I78e5ba9ba33b00d05e67a0b34a1874e6866a2dc4
Task: https://tree.taiga.io/project/tripleo-ci-board/task/1229
2019-08-08 14:20:26 -03:00
Emilien Macchi
c845595ba3 Removal of OpenShift deployed by TripleO support
OpenShift deployed by TripleO support has been removed in a downstream
version of Stein which make the upstream support difficult to maintain.
OpenShift can be deployed using OpenShift-Ansible and
users who desire to deploy OpenShift 3.11 onto bare metal nodes can
still do so using openshift-ansible directly. The provisioning of
the Operating System on baremetal can be done with OpenStack Ironic on
the Overcloud or also can be done with deployed-servers, achieving the
same result.

Change-Id: I6a73f7f22dda69bef324ffdaecdcd6be693c1257
2019-08-06 17:22:24 -04:00
Emilien Macchi
2f3554cdcb Remove extraconfig/services directory
... and move the services into the deployment directory.

The extraconfig/services directory was initially created for
experimental services using an interface that was work in progress but
is now stable enough, so the services can live among the others for
simplification.

Change-Id: I2bd0b169ed18ea2fccfea4475402dd73076924c8
2019-07-18 14:44:14 -04:00
Arx Cruz
930298c1cd Set scenario009 job voting to false
This job is at a 50% rate failure right now, moving it to non-voting

Change-Id: I3a5960db499925c4689244ff8b9f9b284819c713
2019-07-16 23:26:02 +02:00
Corey Bryant
f4a4af8701 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: Ie696d60c6c6d53f189ad4259a1682d030478fdf2
Story: #2005924
Task: #34253
2019-07-12 16:39:23 -04:00
Alex Schultz
45fa045942 Skip standalone deploys if tox jobs fail
We've excluded most jobs from running if the tox jobs fail but we were
still running the standalone jobs. Let's skip those too if pep8 or the
unit tests fail.

Change-Id: I17d7f3c1a48f6f8d4f52e01cd26af825450c099a
2019-06-20 20:52:35 -06:00
Ronelle Landy
caf690f765 Remove scenario008 jobs
ODL is no longer tested.

Change-Id: I056f69aab636d7d03c1eb78b38078f80e7150ca9
2019-06-13 16:39:27 -04:00
Brent Eagles
f4460a580d Run octavia-api under httpd
octavia-api's cli app doesn't behave well with haproxy so let's run
under apache and save ourselves some grief. Also adds cleanup for the
octavia-api tls proxy in update and upgrade tasks if it was previously
deployed.

Also updates zuul layout for multinode job to track changes to new
flattened octavia service files.

Closes-Bug: #1815811

Change-Id: Ied7cb31fbf1222694250e4769573bcbb82ba5bea
2019-04-09 18:01:37 -02:30
Wes Hayutin
12637c5aca remove dep job in gate
I don't think gate jobs should
use dependencies.

Change-Id: I8f2584a763c116284eace5030fc8c0d5ed47adc2
2019-04-02 14:10:58 -06:00
Zuul
b842048a3c Merge "turn voting/gating on scen009 master" 2019-04-01 17:14:48 +00:00
Sagi Shnaidman
4d42323849 Add ci/common as trigger to scenarios multinode
Run various multinode jobs on changes in ci/common

Change-Id: I71113b177a12e181e1742c04fe04f461fc8ccd1b
2019-04-01 08:25:28 +00:00
Zuul
a60718072d Merge "[Configuration] Add missing py37 and corrected default envlist." 2019-04-01 07:38:22 +00:00
Wes Hayutin
26e369e0b0 turn voting/gating on scen009 master
scenario009 is passing in master now.
Let's keep it that way w/ voting!

Change-Id: Ica230852d1e4d485fc2ff5f395f6347974240c75
2019-03-29 14:32:26 -06:00
Emilien Macchi
8523a90e16 Update zuul layout for new deployment directory
We now have a deployment directory where we are moving all services.
This is new in Stein and it won't be backported.

Change-Id: I52039deaa8ff459de5afbfeb3e2c54eb8908bb3f
2019-03-28 08:41:19 -04:00
Natal Ngétal
0fb353339a [Configuration] Add missing py37 and corrected default envlist.
Change order of default tox envlist in order of likeliness to fail on a
new change and add py37 and py36.

Change-Id: If72e480c12385463088e2e0962801cd7095a6f12
2019-03-27 10:57:19 +01:00
Dan Prince
5c8456c5cd move ceph-ansible into deployment
Change-Id: I67dc1c2dd7d1e0308db660577f25d74a6305dae6
Related-Blueprint: services-yaml-flattening
2019-03-22 01:01:30 +00:00
Alex Schultz
df403c2cdf Add python36 job
We should be running a python3 job for tripleo-heat-templates and since
we dropped the old 3.5 job, let's add the correct 3.6 job.

Change-Id: I93bd7bf988c881496ecee0c5d4e2bc97a5047571
2019-03-13 17:01:24 -06:00
Alex Schultz
9f0d23c78a Drop the old python35 job
We are running the regular jobs with constraints now so we don't need to
be running this job. Additionally it's not functioning correctly with
the switch to bionic

Change-Id: I41bf5002bd40654d55456a5cdafcef6b76b1f62e
2019-03-13 16:56:56 -06:00
Zuul
eee89fb2f0 Merge "Delay check CI jobs until the pep8 passes.." 2019-03-12 19:55:37 +00:00
Bogdan Dobrelya
fc612b86b2 Delay check CI jobs until the pep8 passes..
..for Greater Good.

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.

Save CI resources and shorten wait-in-zuul-queue times
for other patches, when pep8 checks failed (that is YAML validation
for this t-h-t repo).

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
    integration FAILURE
  patchset two:
    pep8 SUCCESS
    integration FAILURE
  patchset three:
    pep8 SUCCESS
    integration SUCCESS

Future:
  patchset one:
    pep8 FAILURE
    integration SKIPPED
  patchset two:
    pep8 SUCCESS
    integration FAILURE
  patchset three:
    pep8 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: I2216773113f8d4e4a2bdff35709ff739f5164a32
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2019-03-05 16:12:57 +01:00
Emilien Macchi
f3b85e4ba5 Remove Congress
Congress doesn't seem to be used anywhere, we never had a bug report or
any sign of somebody out there actually using it.

Let's remove its support in TripleO, to reduce the codebase.

Change-Id: Idca6b12f1c0ca3bc15bedf6469d4063a4dac31fa
2019-02-28 16:29:03 -05:00
Steve Baker
5ceb3c5ec7 Make ceph-ansible working dir owned by tripleo-admin
The ceph-ansible tasks are now invoked with the tripleo-admin user,
which doesn't by default have write access to /var/lib/mistral, but it
does have sudo access.

This change makes /var/lib/mistral/overcloud/ceph-ansible be owned by
the tripleo-admin user so that subsequent tasks can write to that
directory.

Related-Bug: #1813832
Change-Id: I98bb38078be84cbda3e9a9e338af0d054dc53420
2019-02-12 09:13:15 +05:30
Steve Baker
2e899f3943 Move container-image-prepare.j2.yaml to deployment dir
Change-Id: Idf8eab2c0290c02908ffd3284543046cdf8aa5ba
2019-02-07 10:26:20 +13:00
Zuul
a857fe1ad6 Merge "Fix files conditions for scenario 007 and 008" 2019-02-06 19:40:24 +00:00
Marios Andreou
f6b934bd6f Remove the scenario standalones from tht zuul layout - just use template
In I7cf36baa80e91d87b1b41c45204c61cf87846d34 we started using the
tripleo-standalone-scenarios-full instead of carrying custom
layout for the standalone jobs in projects. Looks like we forgot
to remove the gate definitions here.

Change-Id: I2c3940c7903f9fd4b9d0ec1aca8741182b9c76cd
2019-01-24 09:52:41 +00:00
Marios Andreou
beb7aa1124 Use the tripleo-standalone-scenarios-full template
Instead of carrying a distinct files: and check/gate layout use
the one defined in Depends-On below

Depends-On: https://review.openstack.org/630239
Change-Id: I7cf36baa80e91d87b1b41c45204c61cf87846d34
Story: https://tree.taiga.io/project/tripleo-ci-board/us/585
2019-01-17 09:02:31 +05:30