- string:
name: DEPLOY_SCENARIO
default: k8-nosdn-nofeature-noha
-- parameter:
- name: functest-kubernetes-DEBUG
- parameters:
- - string:
- name: DEBUG
- default: 'true'
- functest-kubernetes-containers: &functest-kubernetes-containers
name: 'functest-kubernetes-containers'
-e BUILD_TAG=$BUILD_TAG \
-v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
-e DEPLOY_SCENARIO=$DEPLOY_SCENARIO \
- -e DEBUG=$DEBUG \
-v /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config \
$image run_tests -t {test} -p -r
build_tag: ''
- functest-kubernetes-DEPLOY_SCENARIO:
DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
- - functest-kubernetes-DEBUG:
- DEBUG: 'true'
builders:
- functest-kubernetes-run-containers:
<<: *functest-kubernetes-run-containers
-e BUILD_TAG=$BUILD_TAG \
-v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
-e DEPLOY_SCENARIO=$DEPLOY_SCENARIO \
- -e DEBUG=$DEBUG \
-v /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config \
$image zip_campaign
build_tag: ''
- functest-kubernetes-DEPLOY_SCENARIO:
DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
- - functest-kubernetes-DEBUG:
- DEBUG: 'true'
builders:
- functest-kubernetes-zip:
<<: *functest-kubernetes-containers
name: 'functest-kubernetes-{tag}-daily'
project-type: multijob
triggers:
- - timed: '@daily'
+ - timed: '@weekly'
parameters:
- functest-kubernetes-slave:
slave: '{slave}'
build_tag: ''
- functest-kubernetes-DEPLOY_SCENARIO:
DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
- - functest-kubernetes-DEBUG:
- DEBUG: 'true'
properties:
- build-blocker:
use-build-blocker: true
build_tag: ''
- functest-kubernetes-DEPLOY_SCENARIO:
DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
- - functest-kubernetes-DEBUG:
- DEBUG: 'true'
properties:
- build-blocker:
use-build-blocker: true
slave: '{slave}'
- functest-kubernetes-DEPLOY_SCENARIO:
DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
- - functest-kubernetes-DEBUG:
- DEBUG: 'true'
builders:
- multijob:
name: remove dependency
- random-string:
name: build_tag
-- parameter:
- name: xtesting-DEBUG
- parameters:
- - string:
- name: DEBUG
- default: 'true'
- xtesting-containers: &xtesting-containers
name: 'xtesting-containers'
-e NODE_NAME=$slave \
-e BUILD_TAG=$BUILD_TAG \
-v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
- -e DEBUG=$DEBUG \
$image run_tests -t {test} -p -r
- builder:
slave: '{slave}'
- xtesting-build_tag:
build_tag: ''
- - xtesting-DEBUG:
- DEBUG: 'true'
builders:
- xtesting-run-containers:
<<: *xtesting-run-containers
-e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
-e BUILD_TAG=$BUILD_TAG \
-v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
- -e DEBUG=$DEBUG \
$image zip_campaign
- job-template:
slave: '{slave}'
- xtesting-build_tag:
build_tag: ''
- - xtesting-DEBUG:
- DEBUG: 'true'
builders:
- xtesting-zip:
<<: *xtesting-containers
slave: '{slave}'
- xtesting-build_tag:
build_tag: ''
- - xtesting-DEBUG:
- DEBUG: 'true'
properties:
- build-blocker:
use-build-blocker: true
- builder:
name: xtesting-tox
builders:
- - shell: tox
+ - shell: |
+ set +x
+ sudo apt-get update && apt-get install software-properties-common gpg -y
+ sudo add-apt-repository -y ppa:deadsnakes/ppa
+ sudo apt-get update && apt-get install python3.8 python3.8-dev \
+ python3.8-distutils \
+ python3.7 python3.7-dev python3.6 python3.6-dev \
+ python python-dev python3-pip enchant -y
+ sudo pip3 install tox tox-pip-version
+ tox
- job-template:
name: 'xtesting-{tag}-tox'
slave: '{slave}'
- xtesting-build_tag:
build_tag: ''
- - xtesting-DEBUG:
- DEBUG: 'true'
properties:
- build-blocker:
use-build-blocker: true
parameters:
- xtesting-slave:
slave: '{slave}'
- - xtesting-DEBUG:
- DEBUG: 'true'
builders:
- multijob:
name: remove dependency