Disable swift for py35 nodepool dsvm job
Swift doesn't support python35 just yet.
- devstack-checkout
- shell: |
#!/bin/bash -xe
- if [ "{python}" == "-py35" ]; then
- export DEVSTACK_GATE_USE_PYTHON3=True
- fi
export PYTHONUNBUFFERED=true
# Disable tempest as nodepool is talking to the cloud not tempest.
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service c-sch"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service c-api"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service c-vol"
+
+ if [ "{python}" == "-py35" ]; then
+ export DEVSTACK_GATE_USE_PYTHON3=True
+
+ # swift is not ready for python3 yet
+ export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-account"
+ export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-container"
+ export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-object"
+ export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-proxy"
+ fi
+
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
- devstack-checkout
- shell: |
#!/bin/bash -xe
- if [ "{python}" == "-py35" ]; then
- export DEVSTACK_GATE_USE_PYTHON3=True
- fi
export PYTHONUNBUFFERED=true
# Disable tempest as nodepool is talking to the cloud not tempest.
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service c-sch"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service c-api"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service c-vol"
+
+ if [ "{python}" == "-py35" ]; then
+ export DEVSTACK_GATE_USE_PYTHON3=True
+
+ # swift is not ready for python3 yet
+ export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-account"
+ export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-container"
+ export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-object"
+ export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-proxy"
+ fi
+
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
