From f63e18dcffcfbff85ba71d1acbd473d3d6b12089 Mon Sep 17 00:00:00 2001 From: Deepshikha khandelwal Date: Tue, 13 Nov 2018 11:21:00 +0530 Subject: Change the node to fedora for python-lint job Change-Id: I5a59a56adba4b45d178a3f8123dbf91abc536ff9 --- build-gluster-org/jobs/python-lint.yml | 2 +- build-gluster-org/scripts/python-lint.sh | 2 +- 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 -- cgit