Skip to content

Commit 3571cdf

Browse files
committed
CI: Install pip from pinned upstream for py2 probe tests
As part of that, invert the inheritance so the py2 job derives from the py3 job. Change-Id: If8efd9a0fd18d17444a58119c525ff54cfd55dd9
1 parent 8d541fe commit 3571cdf

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

.zuul.yaml

+15-9
Original file line numberDiff line numberDiff line change
@@ -345,30 +345,36 @@
345345

346346
- job:
347347
name: swift-probetests-centos-7
348-
parent: unittests
348+
parent: swift-probetests-centos-8-stream
349349
nodeset: centos-7
350350
description: |
351351
Setup a SAIO dev environment and run Swift's probe tests
352352
under Python 2.
353-
timeout: 7200
354353
vars:
355354
bindep_profile: test py27
356-
pre-run:
357-
- tools/playbooks/common/install_dependencies.yaml
358-
- tools/playbooks/saio_single_node_setup/setup_saio.yaml
359-
- tools/playbooks/saio_single_node_setup/make_rings.yaml
360-
run: tools/playbooks/probetests/run.yaml
361-
post-run: tools/playbooks/probetests/post.yaml
355+
ensure_pip_from_packages: False
356+
ensure_pip_from_packages_with_python2: False
357+
ensure_pip_from_upstream: True
358+
ensure_pip_from_upstream_interpreters:
359+
- python2
360+
ensure_pip_from_upstream_url: "https://bootstrap.pypa.io/pip/2.7/get-pip.py"
362361

363362
- job:
364363
name: swift-probetests-centos-8-stream
365-
parent: swift-probetests-centos-7
364+
parent: unittests
366365
nodeset: centos-8-stream
367366
description: |
368367
Setup a SAIO dev environment and run Swift's probe tests
369368
under Python 3.
369+
timeout: 7200
370370
vars:
371371
bindep_profile: test py36
372+
pre-run:
373+
- tools/playbooks/common/install_dependencies.yaml
374+
- tools/playbooks/saio_single_node_setup/setup_saio.yaml
375+
- tools/playbooks/saio_single_node_setup/make_rings.yaml
376+
run: tools/playbooks/probetests/run.yaml
377+
post-run: tools/playbooks/probetests/post.yaml
372378

373379
- job:
374380
name: swift-probetests-centos-8-stream-arm64

0 commit comments

Comments
 (0)