Commit Graph

106 Commits

Author SHA1 Message Date
Ghanshyam Mann a606c60efc Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Depends-On: https://review.opendev.org/c/openstack/ansible-role-collect-logs/+/910044
Depends-On: https://review.opendev.org/c/openstack/neutron/+/910099

Change-Id: I338ed19678cf4a6248c46551bdf9cb23abc511bd
2024-02-24 20:22:39 +00:00
Takashi Kajinami 59c2c84214 Pull flake8 from Github
It seems flake8 is no longer available in Gitlab. This change switches
the source from Gitlab to Github to avoid the following failure.

fatal: could not read Username for 'https://gitlab.com': No such device
or address

This also makes sure that functional jobs are skipped when pre commit
config is changed, to avoid the failing job graph freeze when updating
only .pre-commit-config.yaml.

Closes-Bug: #1996668
Change-Id: I79143651e432cb4a62dafdb94c839d0d782b4f9f
2022-11-16 11:02:03 +09:00
Zuul 95470dbb77 Merge "Do not exclude the scripts directory" 2022-10-27 10:25:11 +00:00
Pooja Jadhav 4c2f7f9040 Victoria tear down : multinode and undercloud jobs
This patch removes victoria multinode and
undercloud job definitions.

Change-Id: Icd3f16eca4a7ec4c01b766a02febab2102e04379
2022-09-23 12:52:56 +05:30
Takashi Kajinami e18ea19de8 Do not exclude the scripts directory
The scripts directory in tripleo-common has a few core script files
like bootstrap_host_exec and any change with these scripts should
trigger actual deployment jobs.

Change-Id: I2405ba227b39ad1bd81baf40031edb55dcf06429
2022-09-06 12:14:12 +09:00
Takashi Kajinami f522ba52bb Do not trigger functional jobs for unit test changes
Codes under the test directory are not used by actual functionality but
only by unit tests. Thus we don't need to run functional jobs in case
only these test codes are updated.

Change-Id: I425c111238768163ed237d57e16c68f391b0f41c
2022-08-01 16:47:01 +09:00
Takashi Kajinami 96ddfad3fd Do not trigger functional tests for .ansible-lint
... because the file does not affect any functionality.

Change-Id: I3c2385c3d33b234e74f4dc8473c90c99258705d7
2022-07-25 23:25:22 +09:00
Takashi Kajinami 5d4881b7a7 Ignore molcule files for deployment jobs
Any change in molecule test files does not affect functionality. Thus
there is no need to run jobs which involves deployment if only the test
files are updated.

Change-Id: Ia5cfbee55f094486eaed9f5fd51316654b57025b
2022-07-14 17:18:37 +09:00
Marios Andreou 81a6da5966 Moves the shared zuul queue to the project level
See [1] for more information

[1] https://lists.openstack.org/pipermail/openstack-discuss/2022-May/028603.html

Change-Id: Ia9af303df99516b46134ebb555a8bbeabb04491b
2022-06-23 09:14:37 +03:00
Pooja Jadhav b11d21ad8f Ussuri tear down as EOL
Ref : https://review.opendev.org/c/openstack/releases/+/834049

Change-Id: Ie5be105b3b65108e741a6e1d2ea79d54596a7a5a
2022-05-16 11:51:39 +05:30
Marios Andreou 053ec5758f Remove centos-7 job definitions and zuul layouts
As part of [1] this removes the job definitions and zuul layout
for all centos-7 jobs. Related review topic for RDO at [2].
Some jobs are moved to deprecated.yaml with note on where
they are still referenced.

[1] https://review.opendev.org/q/topic:ooo_c7_teardown
[2] https://review.rdoproject.org/r/q/topic:ooo_c7_teardown

Change-Id: I70d2e5dbe995bc8dfe06817d6460f3f2f3732e7e
2022-05-11 11:49:20 +03:00
Marios Andreou 00df6fcb4e Cleanup jobs from old releases already EOL pike|queens|rocky|stein
Removes any job definitions that are wired up for old EOL releases.
In some cases just remove these from the branches: match.

Depends-On is needed for standalone/scen3 used in sahara and
centos-7-standalone-os-tempest in ansible-role-python_venv_build
and scenario001/2-multinode-oooq-container in aodh

Change-Id: I946aaef1e975bb2817311059dade029fadba9b95
2022-04-19 13:14:18 +03:00
Marios Andreou 274cbdd5d9 Centos8 wallaby jobs teardown - undercloud jobs
Per the topic branch [1] and discussed at [2] this removes the
centos8 undercloud-containers from running on stable/wallaby branch.

Also adds undercloud_job_vars anchor to prevent repetition for c8/c9

[1] https://review.opendev.org/q/topic:c8_wallaby_teardown
[2] http://lists.openstack.org/pipermail/openstack-discuss/2022-February/027403.html

Change-Id: I0ac2518f0e1208b56b3a43408a03f6ce91b794ce
2022-04-08 12:15:48 +03:00
Chandan Kumar (raukadah) 06ea572de5 Added Clear reparenting for Undercloud Jobs
As a part of reparenting strategy[1], It adds the following jobs
* tripleo-ci-undercloud-required-projects-upstream

By using above as a parent, we created following
distro jobs.
* tripleo-ci-base-undercloud-centos-7
* tripleo-ci-base-undercloud-centos-8
* tripleo-ci-base-undercloud-centos-9

The above parent is now used in Undercloud and centos-7
content provider jobs.
It removes tripleo-ci-undercloud-content-consumer-centos-8
unused jobs.

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: Ic14a34c9c8dc196b42603a539bd67685d5384a0b
2022-04-08 13:19:04 +05:30
Chandan Kumar (raukadah) cc3f50ba85 Put setup.* file under irrelevant files
https://opendev.org/openstack/tripleo-ci/src/branch/master/zuul.d/base-upstream.yaml#L92
adds  ^setup.*$ under irrelevant-files and content-provider is parent
from tripleo-ci-base-standalone-standard and which parents from
tripleo-ci-base-standard.

Since setup.* files under irrelevant files so content provider will
not run and undercloud, upgrade and standalone job depends on that.

It leads to job freeze issue. Putting setup files under
irrelevant files fixes the issue.

Disable auto discovery as a workaround to fix
setuptools 61.0 issue[1]

[1]. https://github.com/pypa/setuptools/issues/3197
Related-Bug: #1966382


Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I43b88e356e1f6823f9febe47e9753cf3e5b176c6
2022-03-25 13:55:33 +00:00
Marios Andreou d7285b9510 Run centos-9 jobs for stable/wallaby check/gate layouts
This enables the centos-9 jobs to run for stable/wallaby branch.
Mostly this removes wallaby in the negative regex we use for
the c9 branches match ^(?!stable/(train|ussuri|victoria|wallaby)).*$

The depends-on adds missing python3-dev needed by c9 wallaby
content provider.

Depends-On: https://review.opendev.org/c/openstack/tripleo-quickstart/+/830336
Change-Id: I9332b251db06ad762dadd903413cceb0666dea07
2022-02-24 08:33:17 +00:00
Marios Andreou 534d77015a Change parenting on C9 jobs to not inherit directly from c8 versions
As seen with the merge of [1] some of the c9 jobs stopped running
because the branches: match between c9 and parent c8 were compliments
i.e. "^(?!stable/(train|ussuri|victoria|wallaby)).*$" vs
"^(stable/(train|ussuri|victoria|wallaby)).*$". To avoid that we
remove the direct parenting e.g. centos-9-undercloud-containers
no longer inherits from centos-8-undercloud-containers and
instead carries the required vars.

[1] https://review.opendev.org/c/openstack/tripleo-ci/+/826317

Change-Id: I99ab7f88e0e6edc25be98edf985294a3a8ef3faf
2022-02-15 15:19:40 +02:00
Marios Andreou bda6e1a61a Centos8 master jobs teardown - c8 on train/ussuri/victoria/wallaby
This adjusts branches: match for the centos8 jobs so we avoid
running these for master. C8 jobs will only run on train ussuri
victoria and wallaby branches. The master branch will be c9 only
moving forward.

See [1] for related patches that depends-on this across the
tripleo repos. See [2] for related dummy nodeset required for
zuul 3rd party on this review.

[1] https://review.opendev.org/q/topic:c8_teardown_master
[2] https://review.rdoproject.org/r/c/rdo-jobs/+/39045

Change-Id: If62f83de171de4e7651b58b70c31bea005710c71
2022-02-11 12:29:44 +02:00
Marios Andreou 72260900eb Add C9 undercloud jobs to gate queue and voting
Makes tripleo-ci-centos-9-undercloud-containers vote and adds to
gate queue. The parent patch at [1] deals with the content provider

[1] Id3f4f9876602bd51d6ac6d2464b98ecb23528f8d

Change-Id: I3178c9cfba3f730fdea9cd9a56774ad62134bb43
2022-01-11 14:18:45 +02:00
Chandan Kumar (raukadah) 681b447cab Enable CS9 jobs for all tripleo projects
It enables following jobs in check as non-voting now.
* Standalone, Sc1-12
* undercloud
* Container-multinode

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I1bb7b45088d1d2b12f882cf6bbef40e38b882c5a
2021-12-22 17:54:55 +05:30
Chandan Kumar (raukadah) 99009640d7 Added CS9 undercloud and multinode job definition
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: If0b8a9abe39852c89269366998d1f2a79727ce9c
2021-12-21 13:39:06 +05:30
Zuul 21fe9c416d Merge "Remove all rocky related jobs/conditionals tests after rocky End of Life" 2021-04-07 02:55:43 +00:00
Marios Andreou b813597a5a Remove all rocky related jobs/conditionals tests after rocky End of Life
Rocky is now EOL since [1][2] so this removes all the rocky related jobs
or conditionals.
Moves tripleo-ci-centos-7-undercloud-containers to deprecated jobs as it
is still in use in other repos so we can't remove yet.
Related reviews in topic branch tripleo-ci-reduce-rocky [3].

[1] https://review.opendev.org/c/openstack/releases/+/774244
[2] http://lists.openstack.org/pipermail/openstack-discuss/2021-March/020912.html
[3] https://review.opendev.org/q/topic:tripleo-ci-reduce-rocky

Change-Id: Ibe2fd5c7792d55236c09dbf9cf88e23e1c5a5673
2021-03-26 13:47:18 +02:00
Marios Andreou 06ac38d73a Add files: and irrelevant-files: from tripleo-ansible layout
As part of [1] this moves the files: and irrelevant-files: from
tripleo-ansible. The templates are wired up instead at [2] which
depends-on this patch.

The depends-on here is not relevant to the patch but required to
get the victoria content-provider to pass.

[1] https://review.opendev.org/q/topic:tripleo-ci-reduce
[2] Id8bdcc314f68fb35050254c6c64fd2317c2555de

Depends-On: https://review.opendev.org/c/openstack/tripleo-common/+/782367

Change-Id: Ia82e796007be3155a1161a8a6a49ea35502a2408
2021-03-24 12:00:29 +02:00
Marios Andreou b16b1d3b06 Further updates to irrelevant-files across templates
As part of [1] this further updates the irrelevant-files definitions
so that multinode jobs are not run for changes in standalone, ovb,
undercloud or upgrade specific featuresets.

Also adds missing upgrades-jobs-templates to undercloud jobs
irrelevant-files and multinode-jobs template to upgrade jobs.

[1] https://review.opendev.org/q/topic:tripleo-ci-reduce

Change-Id: Ib40ce6df06cfad7de7ab3845c1e471c3383583a7
2021-03-16 13:43:35 +00:00
Marios Andreou ae88e74f8a Moves upgrade and update jobs into the upgrades-jobs-templates.yaml
As part of [1] let's also tidy up the upgrade and update jobs. They
currently are defined in the various undercloud/multinode/standalone
templates. However now we have a dedicated upgrades jobs templates
file let's move the definitions there instead.

[1] https://review.opendev.org/q/topic:tripleo-ci-reduce

Change-Id: I1f7f0a1aa65e82f094abba1e2d8583ea04800e3b
2021-03-11 13:35:06 +02:00
Marios Andreou b488e174ef Deprecate non content provider undercloud zuul template layout
This deprecates the non-content provider tripleo-undercloud-jobs
template as part of a wider tripleo-ci optimisation

[1] https://review.opendev.org/q/topic:tripleo-ci-reduce

Change-Id: Id4c6f1d781cb202c996850074c5e4fc3e29ed83a
2021-03-08 17:12:52 +02:00
Wes Hayutin aec41881a8 Move master undercloud/standalone/overcloud upgrade jobs deprecated
This moves the standalone, undercloud and scen0 overcloud master
upgrade jobs to deprecated and removes them from the various
layouts.

Moving to deprecated vs removing them allows us to merge this patch
without blocking on the removal of these jobs from any other repos
that are still running them such as [1].

This move was discussed on the openstack-discuss list at [2].

[1] https://review.opendev.org/c/openstack/openstack-ansible-os_tempest/+/774916
[2] http://lists.openstack.org/pipermail/openstack-discuss/2021-February/020365.html
Co-Authored-By: Marios Andreou <marios@redhat.com>

Change-Id: I16f3a2df156a125c2ea18c7d43b9b193d31b2c2d
2021-02-11 18:06:40 +02:00
Wes Hayutin 98feddb75e remove tripleo-ci-centos-7-containerized-undercloud-upgrades
as the msg states, all CentOS-7 update and upgrade
jobs for tripleo will be removed.

Related-Bug: #1911027
Change-Id: Ida8dfd6e5f2baff8d9307edfb895c621e265ba6b
2021-01-21 19:56:43 +00:00
Marios Andreou d9f2ad3bb2 Remove excess content providers and upgrade jobs layouts
In [1] we added new per-branch zuul-templates for upgrades jobs.
After the templates in [1] are wired up across TripleO this
patch removes the excess content providers and all the upgrade
jobs from the various job templates.

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

Change-Id: If67428f417b6718bbc313440c867f1c163f6a0b2
2021-01-20 09:48:35 +00:00
yatinkarel 318df84d54 Update molecule image defaults to centos8
Also update irrelevant-files for standalone/multinode
so these jobs don't get triggered on tripleo-repos role changes
as that role is not used in these jobs.

Closes-Bug: #1908328
Change-Id: Id0770af88bf7d4c0af165a06242f044eac7304ac
2020-12-17 11:16:49 +05:30
Zuul c83900be5b Merge "Run only needed playbooks in undercloud jobs" 2020-11-28 11:04:37 +00:00
yatinkarel b677d24524 Run only needed playbooks in undercloud jobs
In these jobs overcloud and upgrade playbooks also
runs which is not needed in undercloud jobs, so
let's set the playbooks var to run only the needed
playbooks.

Until https://review.opendev.org/#/c/759912/
merged it was not an issue as due to "tags" tasks
used to skip in the extra playbooks.

Depends-On: https://review.opendev.org/#/c/763519/
Change-Id: Ie1924646efd7333ce84b2a4a18c2cfc80edb7d51
2020-11-20 08:34:51 +00:00
yatinkarel 55277e9ab2 Restore irrelevant-files to avoid running extra jobs
It was removed from irrelevant files list in
https://review.opendev.org/#/c/759985/.

Change-Id: I87134ce3b42bb1f84c7928343bc11f1d5816630d
2020-11-20 14:00:30 +05:30
MSA 1b36059ce9 Adds layouts for victoria upgrade and update jobs
Definitions are added in the parent patch [1]. This also fixes nit
in the standalone-upgrade jobs layout (forgotten 'old' non consumer
jobs are removed) and re-adds standalone-upgrade-ussuri to the gate
as it is now voting after [2].

[1] https://review.opendev.org/759702
[2] https://review.opendev.org/749487

Change-Id: Iefaf6fdfc3b3febf97fb0f5e2ad2b52f56344777
2020-11-12 22:05:06 +00:00
Ronelle Landy 4982431fa3 Add job definitions for victoria upgrade/update jobs
This review adds only the job definitions and
is rebased on the content provider review:
https://review.opendev.org/#/c/759654/
to avoid clashes in file merges.

Triggering will be added in following reviews.

Co-Authored-By: Marios Andreou <marios@redhat.com>
Change-Id: I484169eca1e6c2671e2d7344c5399f517531c414
Story: https://projects.engineering.redhat.com/browse/TRIPLEOCI-236
2020-11-09 10:34:58 -05:00
Chandan Kumar (raukadah) c7543dc314 Add c7 content provider jobs in new template
It will be used for older releases like train and queens.

Moved c7 content provider job to a seperate base to avoid
triggering on master and job freeze issue.

Change-Id: I6f28517bfa4493d2da7f78db124292ac1e18db52
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Signed-off-by: Amol Kahat <amolkahat@gmail.com>
2020-11-08 20:00:42 +05:30
Wes Hayutin fe0a78f118 ROCKY and STEIN - reduce upstream coverage
Reduce tests running on rocky and stein
stable releases.

Change-Id: I5fde1c31590df687d1191aacd6c01c31d041e19d
2020-11-01 20:27:57 +00:00
Rafael Folco c9be3a806f add container build post to c7 providers
c7 providers are missing container build logs.

Change-Id: Ifa817a401b496aadab66621038abd3b001485a89
2020-11-01 14:13:51 +00:00
Marios Andreou 25c780d2d9 Adds upgrade jobs to content provider pipelines
Adds the standalone undercloud and overcloud upgrade jobs
and the overcloud update job for the content provider pipelines
including -ussuri and -train variants where applicable.

Needs depends-on for setting the right provider registry used
during deployment and upgrade.

Depends-On: https://review.opendev.org/753708
Depends-On: https://review.opendev.org/755472
Change-Id: I74265c7a1f63cdf4f1e9ef9e483915408ed7eb44
2020-10-26 01:11:27 +00:00
Rafael Folco 536e39a6f8 Switch c7 jobs to content provider
except c7 upgrade jobs

Change-Id: Ie9172e3cbcc4a3c7b153ef07fa203fd8a7f40e5d
2020-10-22 17:30:05 -03:00
Zuul df5b083d0e Merge "Remove only build tags from consumer jobs" 2020-10-22 11:30:25 +00:00
Chandan Kumar (raukadah) 0feb5c3c74 Added CentOS-7 queens/train content provider job
* Collect the logs of container workspace
* tripleo-ansible will be automatically installed by
  python-tripleoclient package.
* Set tripleo_common_path for packages.
* Make sure docker service is running and docker user
  and group exists
* Added insecure registeries
* serve quickstart-centos repos on http server
* set container_cli_opts only when use_buildah is used.


Depends-On: https://review.opendev.org/#/c/752419/

Change-Id: Ia3c09a33ca92ed68cbaa3baf5f37ad61751a8a89
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2020-10-20 01:43:53 +00:00
Sagi Shnaidman 8f74515a72 Remove only build tags from consumer jobs
Without repeating all tags for each kind of jobs, just remove
'build' tag from consumers.
Change-Id: If6dfea4c256670f520e71b75f61da0b7fb17c987
2020-10-15 12:25:13 +03:00
Sagi Shnaidman 58516c07d4 Add content provider for undercloud templates
Create new template for undercloud jobs and a new layer
to parent off undercloud jobs that use content ptovider.

tripleo-ci-centos-8-undercloud-containers job bootstrap:
https://review.rdoproject.org/r/#/c/29894/

Co-Authored-By: Rafael Folco <rfolco@redhat.com>

Change-Id: I6b895ef44d5cd3491122089b3ff2a65338e60f08
2020-10-08 10:39:00 -03:00
Marios Andreou 7458679c6d Centos8 undercloud upgrade - rename & split ussuri voting/gating
This splits the centos8 undercloud upgrade job to master/ussuri
versions. The ussuri one should be voting but blocked on related
bug below. Tracked by tripleo-ci at [1]. Also drops the
'containerized' bit from the name.

[1] https://tree.taiga.io/project/tripleo-ci-board/task/1817
Related-Bug: 1888411

Change-Id: If9247349c389fc23b93849c7b79473e121bc95a3
2020-09-01 18:22:19 +03:00
Bhagyashri Shewale 46d1aa9c5c Don't allow to run train on centos7
This change will not allow to run the train on centos7.

Here we are going to migrate upstream stable/train jobs
from CentOS-7 to CentOS-8 [1] is close.
CentOS-7 stable/train will continue to be tested in our
3rd party periodic pipeline and builds of CentOS-7
stable/train will be qualified here [2][3].

Also we are keeping c7 multinode containers job to
maintain c7 coverage.

[1]: https://review.opendev.org/#/c/738375
[2]: https://review.rdoproject.org/zuul/builds?pipeline=openstack-periodic-integration-stable2-centos7
[3]: http://lists.openstack.org/pipermail/openstack-discuss/2020-July/016157.html

Change-Id: I9f274c3866b214373c3562b0d6b480d15df1ce37
Signed-off-by: Bhagyashri Shewale <bshewale@redhat.com>
2020-07-31 16:01:41 +05:30
Bhagyashri Shewale a8e2cb08ce Deprecate centos 7 train jobs
As we are going to migrate train jobs from centos 7 to centos 8.

Here this change is going to deprecate dedicated centos 7 train jobs
and remove it from job template.

Job list:

1. tripleo-ci-centos-7-scenario007-standalone
2. tripleo-ci-centos-7-containers-undercloud-minion

tripleo-ci-centos-7-standalone-os-tempest job will run only stable/stein.

[1]: http://lists.openstack.org/pipermail/openstack-discuss/2020-July/016157.html

Change-Id: Ia4ea1bf8830a5b7a9c76b2ba1daf9ec89bb96177
Signed-off-by: Bhagyashri Shewale <bshewale@redhat.com>
2020-07-31 16:00:13 +05:30
Sandeep Yadav c8d83e8137 Include train for Centos8 Jobs
Previously only C7 based jobs were run against train branch. With this
patch we are updating branches condition to run Centos8 based jobs on
train branch as well.

Depends-On: https://review.opendev.org/#/c/742645/

Change-Id: I01dc61bbccb53ac43013048d6d40590e543fba40
Story: https://tree.taiga.io/project/tripleo-ci-board/task/1842
2020-07-30 10:03:16 +05:30
Marios Andreou 8619000f7b Add centos-8-containerized-undercloud-upgrades job ussuri/master
tripleo-ci-centos-8-containerized-undercloud-upgrades is added
non voting for now. Once merged and green we can switch to voting
at which time we can add ussuri specific job if we want different
oting for master.

This will run for -ussuri + master. Tracked by tripleo-ci
at [1]

[1] https://tree.taiga.io/project/tripleo-ci-board/task/1817
Change-Id: I56a03fe6d307fee83e0e29c5357f124b6b1960af
2020-07-21 09:11:03 +00:00