aboutsummaryrefslogtreecommitdiffstats
path: root/systems/ubuntu/14.04/prepare_python_env.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-03-12pylint: Add pylint into requirements.txtMartin Klozik1-2/+1
Pylint installation was part of vsperf installation scripts, which is not following vsperf generic approach to add all required python packages into requirements.txt. It also means, that the same version of pylint is used for verification of all patches at given server. This is causing issues in case, that different versions of pylint are required to verify vsperf code, e.g. older version might be required to verify patches of previous OPNFV release. Pylint with exact version number was added into requirements.txt, so correct version of pylint is used for verification of vspef code. JIRA: VSPERF-563 Change-Id: I48c9cacd87f016e6047ed965728d3b8d63e6461f Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com> Reviewed-by: Richard Elias <richardx.elias@intel.com>
2017-12-07install: Python virtualenv python3 enforcementRichard Elias1-2/+2
It was reported that virtualenv-3.x sometimes uses python2.7 instead of python3. This update of the python virtual environment creation scripts, enforces the use of python3 from /usr/bin/python3. The scripts were tested on fresh installations of each currently supported Linux OS. JIRA:VSPERF-551 Change-Id: If909dd9578a3c42b14c1a3e4f9ed7b07a675fb58 Signed-off-by: Richard Elias <richardx.elias@intel.com> Reviewed-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com> Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
2016-05-04bugfix: Fix creation of vsperfenv in UbuntuMartin Klozik1-2/+2
Wrong version of virtualenv was executed in Ubuntu specific script. So python modules could not be installed and vsperf was not working. Hugepages mount point is newly created inside sudo environment to avoid issues with permissions. Change-Id: I4f5afc22bceb2eebbf018c42f42b7074a93e2293 JIRA: VSPERF-292 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
2016-03-30systems: Fix top level build_base_machine script to use IDChristian Trautman1-0/+29
Modified top level build_base_machine.sh script to use ID instead of Name from os-release file. Renamed folders to adapt to this change. * Modified ID variable assignment from echo to straight assignment. JIRA: VSPERF-257 Change-Id: I22a7d5a1f191418cbc8fc9fd7d85b013e51b49bc Signed-off-by: Christian Trautman <ctrautma@redhat.com>