|
@ -30,14 +30,15 @@ variables: |
|
|
|
|
|
|
|
|
before_script: |
|
|
before_script: |
|
|
- ./tests/scripts/rebase.sh |
|
|
- ./tests/scripts/rebase.sh |
|
|
- /usr/bin/python -m pip install -r tests/requirements.txt |
|
|
|
|
|
|
|
|
- update-alternatives --install /usr/bin/python python /usr/bin/python3 1 |
|
|
|
|
|
- python -m pip install -r tests/requirements.txt |
|
|
- mkdir -p /.ssh |
|
|
- mkdir -p /.ssh |
|
|
|
|
|
|
|
|
.job: &job |
|
|
.job: &job |
|
|
tags: |
|
|
tags: |
|
|
- packet |
|
|
- packet |
|
|
variables: |
|
|
variables: |
|
|
KUBESPRAY_VERSION: v2.10.0 |
|
|
|
|
|
|
|
|
KUBESPRAY_VERSION: v2.11.0 |
|
|
image: quay.io/kubespray/kubespray:$KUBESPRAY_VERSION |
|
|
image: quay.io/kubespray/kubespray:$KUBESPRAY_VERSION |
|
|
|
|
|
|
|
|
.testcases: &testcases |
|
|
.testcases: &testcases |
|
@ -45,6 +46,7 @@ before_script: |
|
|
services: |
|
|
services: |
|
|
- docker:dind |
|
|
- docker:dind |
|
|
before_script: |
|
|
before_script: |
|
|
|
|
|
- update-alternatives --install /usr/bin/python python /usr/bin/python3 1 |
|
|
- ./tests/scripts/rebase.sh |
|
|
- ./tests/scripts/rebase.sh |
|
|
- ./tests/scripts/testcases_prepare.sh |
|
|
- ./tests/scripts/testcases_prepare.sh |
|
|
script: |
|
|
script: |
|
|