summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeepshikha khandelwal <dkhandel@redhat.com>2018-11-13 11:21:00 +0530
committerDeepshikha khandelwal <dkhandel@redhat.com>2018-11-13 16:37:59 +0530
commitf63e18dcffcfbff85ba71d1acbd473d3d6b12089 (patch)
tree4c6c30226cce393a874a917bf64533d904e6a145
parent6c58e043d0e2c5bab3d4def80e70fbd82eecf789 (diff)
Change the node to fedora for python-lint job
Change-Id: I5a59a56adba4b45d178a3f8123dbf91abc536ff9
-rw-r--r--build-gluster-org/jobs/python-lint.yml2
-rw-r--r--build-gluster-org/scripts/python-lint.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/build-gluster-org/jobs/python-lint.yml b/build-gluster-org/jobs/python-lint.yml
index a039343..af9d682 100644
--- a/build-gluster-org/jobs/python-lint.yml
+++ b/build-gluster-org/jobs/python-lint.yml
@@ -1,6 +1,6 @@
- job:
name: python-lint
- node: smoke7
+ node: fedora
description: python validation of code using pylint and flake8
project-type: freestyle
concurrent: true
diff --git a/build-gluster-org/scripts/python-lint.sh b/build-gluster-org/scripts/python-lint.sh
index 0db01af..b70ae0f 100644
--- a/build-gluster-org/scripts/python-lint.sh
+++ b/build-gluster-org/scripts/python-lint.sh
@@ -7,7 +7,7 @@ mkdir $RESULT
./configure --disable-bd-xlator --enable-debug --enable-gnfs --silent
# create and activate virtual env
-virtualenv --system-site-packages env
+python3 -m venv env
. env/bin/activate
#install flake8 and pylint