summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrexlee8776 <limingjiang@huawei.com>2019-12-02 11:31:36 +0000
committerrexlee8776 <limingjiang@huawei.com>2019-12-02 11:31:36 +0000
commit3e8ec6a480daa308b9446577dffccf31d7189b09 (patch)
treecfa49dfae08d042e208a670be09a0a925e78f988
parent90b3511453a9a7254cde80d382091908d956d054 (diff)
remove python 2.7 test in Yardstick CI gating
migrate to python 3 JIRA: YARDSTICK-1625 Change-Id: I027c3a4ed0a2c1e899907a8be17fc4be107b009b Signed-off-by: rexlee8776 <limingjiang@huawei.com>
-rw-r--r--jjb/yardstick/yardstick-project-jobs.yaml44
1 files changed, 0 insertions, 44 deletions
diff --git a/jjb/yardstick/yardstick-project-jobs.yaml b/jjb/yardstick/yardstick-project-jobs.yaml
index 726760ef5..74734b895 100644
--- a/jjb/yardstick/yardstick-project-jobs.yaml
+++ b/jjb/yardstick/yardstick-project-jobs.yaml
@@ -67,9 +67,7 @@
fail: true
builders:
- - yardstick-unit-tests-python-27
- yardstick-unit-tests-python-3
- - yardstick-functional-tests-python-27
- yardstick-functional-tests-python-3
- yardstick-coverage-tests
- yardstick-pep8-tests
@@ -114,9 +112,7 @@
fail: true
builders:
- - yardstick-unit-tests-python-27
- yardstick-unit-tests-python-3
- - yardstick-functional-tests-python-27
- yardstick-functional-tests-python-3
- yardstick-coverage-tests
- yardstick-pep8-tests
@@ -126,22 +122,6 @@
################################
- builder:
- name: yardstick-unit-tests-python-27
- builders:
- - shell: |
- #!/bin/bash
- set -o errexit
- set -o pipefail
-
- sudo apt-get -y autoremove
- sudo apt-get install -y build-essential python-dev python3-dev
- sudo apt-get -y clean && sudo apt-get -y autoremove
-
- echo "Running unit tests in Python 2.7 ..."
- cd $WORKSPACE
- tox -epy27
-
-- builder:
name: yardstick-unit-tests-python-3
builders:
- shell: |
@@ -158,30 +138,6 @@
tox -epy3
- builder:
- name: yardstick-functional-tests-python-27
- builders:
- - shell: |
- #!/bin/bash
- set -o errexit
- set -o pipefail
-
- sudo apt-get -y autoremove
- sudo apt-get install -y build-essential python-dev python3-dev rabbitmq-server
- sudo apt-get -y clean && sudo apt-get -y autoremove
-
- echo "Configure RabbitMQ service"
- sudo service rabbitmq-server restart
- sudo rabbitmqctl start_app
- if [ -z "$(sudo rabbitmqctl list_users | grep yardstick)" ]; then
- sudo rabbitmqctl add_user yardstick yardstick
- sudo rabbitmqctl set_permissions yardstick ".*" ".*" ".*"
- fi
-
- echo "Running functional tests in Python 2.7 ..."
- cd $WORKSPACE
- tox -efunctional
-
-- builder:
name: yardstick-functional-tests-python-3
builders:
- shell: |