Commit Graph

42 Commits

Author SHA1 Message Date
Jonathan Rosser a84a1d199e Remove tripleo CI jobs
This role was shared with tripleo, but that project is now
deprecated so there is no need to carry the cross-project CI jobs
any more.

Change-Id: I73aec0f325708f42bbd0fd07d572fb833e8dfb2c
2023-03-07 10:05:59 +00:00
Amol Kahat 6c55054ee3
Remove tripleo-ci-centos-7-standalone-os-tempest-train
This job is no longer used in tripleo CI.

Signed-off-by: Amol Kahat <amolkahat@gmail.com>
Change-Id: Id812446cdbb95c3bd3cfcadc7e7deec12386f096
2022-04-13 17:14:43 +05:30
Bhagyashri Shewale 22937e73d9 Move zuul jobs layout to centos9 only for master branch
It also removes ussuri content provider and train based jobs.

See topic branch [1] for related reviews.

[1] https://review.opendev.org/q/topic:c8_teardown_master
Depends-On: https://review.opendev.org/c/openstack/tripleo-ci/+/829236

Change-Id: Id4f0c110b75b1da89e9f20ca7fd60580c0600161
2022-02-15 13:28:13 +00:00
Jonathan Herlin 0e71336651 Rename whitelist and blacklist in role
'--whitelist-file' option is deprecated, use '--include-list' instead which is functionally equivalent.
Right now Tempest still supports this option for backward compatibility, however, it will be removed soon.

This change addresses the occurences of whitelist and blacklist in the os_tempest OSA role.

Change-Id: Id021d084867ef2891c381c5863b82421e90ee2ca
2021-05-25 08:15:40 +00:00
Dmitriy Rabotyagov 85bd610a2a Replace linters test with integarted one
We've created integrated linters check job a while back and it's successfully
working for several releases. At the moment we experience difficulties
with future maintenance of the linters check from the openstack-ansible-tests
repo. So instead of fixing current one, we replace it with modern version of
the test.


Change-Id: I34789f52da45bb169d76b822208c05e53d8984de
2021-05-21 16:07:07 +03:00
Jonathan Rosser 53892664ab Switch tempestconf centos-8-stream nodes and set as NV
Tempestconf has hardcoded [1] usage of publicURL without any option to
rewrite that. This results in CERTIFICATE_VERIFY_FAILED since we don't
have trusted certificate for public endpoint.

We mark job as NV till implementation of PKI topic [2]

[1] https://opendev.org/osf/python-tempestconf/src/branch/master/config_tempest/clients.py#L106
[2] https://review.opendev.org/c/openstack/openstack-ansible-specs/+/758805

Depends-On: https://review.opendev.org/784009
Change-Id: I29ecf06fc625ef0d93424ce8e04bb592cb2ce07b
2021-04-01 15:16:04 +00:00
Zuul db1a5c67ba Merge "[reno] Stop publishing release notes" 2021-03-18 12:18:16 +00:00
Wes Hayutin 700ab51971 remove master standalone upgrade
Change-Id: Ibc3aab0bca69dd2de7583a7d2c24ee02f5dbdf6b
2021-02-10 11:00:16 -07:00
dmitriy dc376e6493 [reno] Stop publishing release notes
Since we copy all release notes to the integrated repo there is not need
in publishing release notes for each repository. We should only verify their
validity and linting.


Change-Id: Ifeb20f22c226ec36abbb81fd93ffe6ad3ad9fc89
2021-01-22 18:28:20 +02:00
Amol Kahat ec2340aca2
Migrate to content provider jobs/templates
This change migrate c8 jobs/templates to content provider
jos so consumer jobs can use resources built by provider
jobs.

Change-Id: I45894a47b9a43c47abade2018d7afd43b2392b4f
Signed-off-by: Amol Kahat <amolkahat@gmail.com>
2020-10-29 19:01:18 +05:30
Arx Cruz ded42b9f3e Re-adding redhat-7.yml distro var
Some periodic jobs on tripleo that still run centos-7 jobs for other
branches require this variable.
This file was removed by 5a46aff857
Also adding a centos-7 standalone job for coverage.

Change-Id: I85b2841591990fc91ec665b8f77e4ceb50766c6c
Closes-Bug: #1900443
2020-10-23 11:43:26 +02:00
Arx Cruz 278ef6f829 Fix tempest init logic
The tempest init was checking if the workspace/etc directory exists, and
were creating a new workspace without pass a name, the default is
workspace, but passing a --name ensure it won't break if tempest decides
to change it.
Also, the rename command only change the name in the
$HOME/.tempest/workspace.yml, it doesn't change the path for the
particular workspace. The same happens with the move command, it just
update the path on the workspace.yml file.
With this patch, the tempest workspace is being moved properly to a
workspace_$CURDATE, all the files are copied to the new workspace,
delete the old workspace directory, and call tempest init properly.

Also adding tripleo upgrade job as nv for now, since this issue only
happen in upgrade jobs.

Change-Id: I8a3b79352819f5e980eaea7482cd6b1f1bfc47be
Closes-Bug: #1896126
2020-10-17 18:55:26 +01:00
Dmitriy Rabotyagov 5a46aff857 Remove unsupported OS
Do some role cleanup to path for not supported OS,
like gentoo or suse.
This includes bionic distro jobs, since this path is not supported
for bionic in Victoria

Fix ansible linter errors as a result of linter update.

Change-Id: I619dc6da251bd9d6f9d117e7b0cdedc2e59bf581
2020-10-16 19:44:31 +00:00
Jonathan Rosser a20e706c91 Switch tempestconf job from centos-7 to centos-8
Change-Id: Ia2d836a1e5e813422135b12ee8e013abfd2eafa5
2020-09-24 14:39:56 +00:00
Zuul f5a25a6884 Merge "Enable placeholder openstack-tox-molecule job" 2020-04-23 12:52:59 +00:00
Jonathan Rosser 0317e9fc02 Refactor tempest plugin install from source
Previously the tempest plugins were installed using pip independant
of the python_venv_build role, in the past OSA could support a mixed install
of a distro tempest package and source code plugins. The mixed mode has been
removed but the tempest & tempest plugins installation tasks remain seperate.

Tempest is installed using python_venv_build, and the plugins are installed
directly using the ansible pip module. Unfortunatly, these two approaches do
not handle openstack upper-constraints in the same way, particularly for a
package that is installed from source code.

The python_venv_build role will correctly install a version of tempest
corresponding to the specified git SHA even when u-c specifies an earlier version
of the package. Unfortunately, when installing the tempest plugins with
the pip module, the previously installed tempest packages gets downgraded to
match the version specified in u-c as the pip module is unaware of the combined
source + u-c constraints generated by python_venv_build.

Tempest is an unusual case, because it is perhaps the only "top level" openstack
projects which has its own constraint appear in u-c.

This patch also corrects the use use of the venv_wheel_build_enable variable.
As a role default the value of this variable is changed in the whole scope of
the role becasue it is overridden during the stackviz install. The approach
used should be reviewed and refined in a future patch.

This patch also marks bionic/distro jobs as non voting as there has not been
a release of tempest which passes keystone test_list_user_groups test.

Change-Id: I5e8c8540b30865aaccafe59c73fae6fdd6da80a8
2020-04-22 00:24:29 +01:00
Sorin Sbarnea 3f4b58bd41 Enable placeholder openstack-tox-molecule job
This sets the molecule framework files and job, so later we can write
tests for the role using it.

Change-Id: I16a67ff8acbadc7dce3746ca2ffc67aed660ed65
2020-03-30 13:14:10 +01:00
Chandan Kumar (raukadah) 220cf3c2da Switch to CentOS-8 based TripleO job
Change-Id: I55f911c722f46111377e206ce084371a4a42fbea
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2020-03-27 14:42:54 +05:30
ShangXiao 442f3a0eb5 Missing document start "---"
Change-Id: I6ce85678381d6d75e04a3de1a4f15d34cee7858a
2020-03-13 17:26:50 +08:00
Jonathan Rosser 81507e8260 Revert "Mark ubuntu distro install as non voting"
This reverts commit 0e17aafba9.

Change-Id: I710f9ddccdd657bcdcd7e950a353c3c5ffa3e25c
2020-01-31 12:16:14 +00:00
Jonathan Rosser 0e17aafba9 Mark ubuntu distro install as non voting
Change-Id: Ic429a505ceab59f05a781edd4045e4493f1271db
2020-01-29 09:04:26 +00:00
Chandan Kumar (raukadah) b055c0cfef Replace ostempest job with plain tripleo standalone
tripleo-ci-centos-7-standalone-os-tempest was added while porting
tripleo ci jobs to os_tempest and now the porting is done.

tripleo-ci-centos-7-standalone-os-tempest and
tripleo-ci-centos-7-standalone are the same job, It replaces the
existing os_tempest job to plain tripleo standalone job to keep
consistency at all places.

Change-Id: I4e9d5b93be36c9c0cf1b0f6eaec3951130635cd8
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2019-12-09 16:23:06 +05:30
Logan V 62aa6923e6 Adapt tempestconf job to use integrated repo
Adapt the tempestconf job to use a variant of the integrated repo's
AIO test job.

Change-Id: Ib05c78339c25da8b3510f363e710992fd95bbeee
2019-05-27 17:42:33 +00:00
Jesse Pretorius 7135a80e65 Revert "Temporarily set bionic job to non-voting"
This reverts commit ebdff30fd8.

Depends-On: I746b9dbb090dd484a36e826f06beda1eba3f55f4
Change-Id: I7a705fafae9bb42fccc5fbf2bc2b9b7471a06b48
2019-05-08 17:32:05 +00:00
Jesse Pretorius ebdff30fd8 Temporarily set bionic job to non-voting
Due to the shift from git.openstack.org to opendev.org none of
the depends-on features are working. The patches to fix that
cannot merge until https://review.opendev.org/657778 merges.

In order to enable this to merge, we temporarily disable voting
for this failing job. Once the above match merges, we can revert
this patch.

Depends-On: https://review.opendev.org/657816
Change-Id: I75f116fc226fc1821ab88835c89b2e64a28c7dbf
2019-05-08 16:01:48 +01:00
Zuul fbc1d742d2 Merge "missing document start "---"" 2019-04-26 19:01:59 +00:00
Mohammed Naser dcb8c1a5dc Test using integrated build
In order to do a more complete verification of any patches,
we add a full uncontainerised OpenStack deployment to the
functional testing using the integrated repo. This replaces
the previous role functional test mechanism.

Any additional role tests are left as-is. They will require
some extra implementation in the integrated build before they
can be transferred.

Depends-On: https://review.openstack.org/647840
Depends-On: https://review.openstack.org/648502
Depends-On: https://review.openstack.org/648551
Change-Id: Idab108649076b24d526e9dd7d6569f306e220df2
2019-03-28 22:16:55 -04:00
Chandan Kumar 779f9f55c5 Add tripleo-ci-centos-7-standalone-os-tempest job
Since https://review.openstack.org/#/c/627500 marks the integration
of os_tempest in tripleo ci, it is good to have a job here to make
sure that it does not break tripleo integration.

Change-Id: Ib6f2589b45a2273b124d78567d1da7c4cf605997
2019-01-31 21:45:40 +05:30
Arx Cruz 456749ef97 Add centos-7 job with support to python-tempestconf
Since os_tempest already have support to python-tempestconf, adding a
job that test it on check and gate.

Change-Id: I2ae6057d197a7f7f40b2bb544dc2381ab8044aed
2018-11-22 10:27:41 +01:00
wangqi 6ca622832e missing document start "---"
Change-Id: I7970f4f195380cd0e1579e51129f48bbf0d89a54
2018-10-30 07:25:34 +00:00
Chandan Kumar 7e6e614ff0 Added support for installing tempest from distro
In order to consume os_tempest role across different deployment
tools, following changes are introduced:
- tempest_install_method:distro|source through which user can install
  tempest from source as well as distro
- tempest_workspace directory is added as when tempest is installed
  from distro, we need a place where tempest can be executed. It
  generalised the use of tempest_workspace at each place.
- The default location of the default tempest configuration is now
 /etc/tempest/tempest.conf rather than the previous default of
  $HOME/.tempest/etc.

Change-Id: Ie280cfa6b93fa65c56ed98066deb4f9c82a1a8db
2018-10-26 08:19:51 +00:00
Jonathan Rosser 8d0ace912b Revert "Mark bionic gate jobs as non-voting"
This reverts commit 79f14d202d.

Change-Id: I24b69e311cb2d12abbc7dbfd0bf906a744fb2987
2018-08-23 13:01:18 +01:00
huang.zhiping 4938503609 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: Icfd7d32b9b71c498ce206ba1f28b0e32e9fbfd97
Story: #2002586
Task: #24319
2018-08-21 13:22:05 +00:00
huang.zhiping f107cc746c 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: I282dcef2584edb8aedeac93943b6ee8b1946f4c9
Story: #2002586
Task: #24319
2018-08-21 13:18:38 +00:00
Jonathan Rosser 79f14d202d Mark bionic gate jobs as non-voting
Re-enable these when this roles is fixed for bionic

Change-Id: I8087bbc03d5fda4a51c454ad8cda713b4ad37aaa
2018-08-06 14:40:13 +01:00
Zuul c2a337ecfd Merge "Trivial: Fix the pep8 warning" 2018-07-16 09:13:29 +00:00
Heba Naser d05070bcb0 Switch to using project-templates
In order to have more centralized configuration, switch the role
to use the project-template instead.

Depends-On: I3df2c670beeb78baaa1515bcd27e8f2b0d95b3a9
Change-Id: I995d4da20d592e519d990c38f47a5243e9575846
2018-06-24 19:10:58 +00:00
fpxie 36de3b8ee6 Trivial: Fix the pep8 warning
The yaml should start with "---"

Change-Id: I1c5f591a476cf888fbd3bb09ea55a46849c66e04
2018-06-20 16:27:19 +08:00
James E. Blair efa0bfcd56 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: I0d6269d93a8fe409740a8f3095121b1a914ffd3c
2018-01-27 12:16:26 -08:00
Jean-Philippe Evrard 5e080b4d1f Allow the experimental trigger of the integrated repo
This would allow someone to test its change with an AIO.

Change-Id: I13ab8dfd8917d0198c2d106ed62706945dfee33b
2017-12-06 08:23:30 +00:00
Jesse Pretorius 5e1c5a98a8 Remove unified queue from gate pipeline
Initially the intent for adding this was to better test
any patches for roles together before they merge, but it
has had the unintended side-effect of causing patches to
take much longer to merge (because they all get lined up
in a single queue, rather than independent queues) and
a lot more infra resources are used (because a patch
that fails at the top of the queue will result in all
subsequent patches restarting all their tests).

As discussed in the channel, we'd prefer to revert back
to the previous independent queue method of testing. It
has served us well.

Change-Id: Ie5f973b243e6914f4927fd9ca3afc60d45e2af18
2017-11-01 04:43:22 +00:00
Jesse Pretorius 37439954e4 Initial OSA zuul v3 role jobs
This patch implements an initial set of jobs intended to match
the current job execution method. It does not intend to improve
how the jobs are executed - only to replicate what is currently
in openstack-infra/openstack-zuul-jobs and provide the platform
to iterate on.

Depends-On: I0391ec310c4eede436011a48490e3c524c8ddf4d
Change-Id: I695084aa70d6bd48cd8d498556918a1fbbc3c2a2
2017-10-18 17:32:14 +00:00