Skip to content

Commit

Permalink
qa/suites/rgw/tempest: bump tempest version from 17 to 21
Browse files Browse the repository at this point in the history
also do not replace link in tox.ini, as it is reachable.

to address the issues of

- pallets/markupsafe#116
- pypa/setuptools#2017

MarkupSafe is installed by
https://opendev.org/openstack/requirements/raw/branch/stable/pike/upper-constraints.txt

Signed-off-by: Kefu Chai <[email protected]>

Signed-off-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov committed May 29, 2020
1 parent 9a444e4 commit 9ed1287
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion qa/suites/rgw/tempest/tasks/rgw_tempest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ tasks:
use-keystone-role: client.0
- tempest:
client.0:
sha1: d3fa46495a78160989120ba39793f7ba2e22d81c
sha1: c93345233e06c173a65a3edcb769c4220386b3bd
force-branch: master
use-keystone-role: client.0
auth:
Expand Down
9 changes: 0 additions & 9 deletions qa/tasks/tempest.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,6 @@ def download(ctx, config):
sha1 = cconf.get('sha1')
if sha1 is not None:
run_in_tempest_dir(ctx, client, [ 'git', 'reset', '--hard', sha1 ])

# tox.ini contains a dead link, replace it with the new one
from_url = 'https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt'
to_url = 'https://opendev.org/openstack/requirements/raw/branch/stable/pike/upper-constraints.txt'
run_in_tempest_dir(ctx, client, [
'sed', '-i',
run.Raw('"s|{}|{}|"'.format(from_url, to_url)),
'tox.ini'
])
try:
yield
finally:
Expand Down

0 comments on commit 9ed1287

Please sign in to comment.