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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
as the msg states, all CentOS-7 update and upgrade
jobs for tripleo will be removed.
Related-Bug: #1911027
Change-Id: Ida8dfd6e5f2baff8d9307edfb895c621e265ba6b
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
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
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
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
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>
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
* 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>
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
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
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>
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