summaryrefslogtreecommitdiffstats
path: root/build-gluster-org
diff options
context:
space:
mode:
Diffstat (limited to 'build-gluster-org')
-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