tools/toCOPY
Davlet Panech eec9163e0e Dockerfile: install tox in its own virtualenv
Fix multiple problems with python modules that cause build errors.

* Avoid replacing RPM-owned python modules with pip:
  - Remove python-tox: installed via pip later in Dockerfile
  - Remove python-testrepository: installed via pip later in Dockerfile
    (required by pbr)
  - Add python-virtualenv: was pulled in by one of the removed packages
    above

* builder-constraints.txt: used only for global packages:
  - Move all version constraints of Dockerfile into constraints file
  - Remove filelock and platformdirs packages (required by tox -- see
    below).
  - git-review: downgrade to 1.28.0, latest official version compatible
    with python 2.7

* Install a sane python 2.7 virtual environment that doesn't conflict
  with RPM modules, that includes tox. Create a symlink to tox in
  /usr/bin/. Uses a separate contraints file.

* builder-opt-py27-constraints.txt: new file for the virtualenv in /opt:
  - tox==3.23.0
  - Remove "filelock" and "platformdirs" packages formerly in the
    original constraints file. They resolve correctly by the tox
    requirement. Note that this downgrades the packages slightly compared
    to the explicit requirements, back to the latest official versions
    compatible with python 2.7.

    See revisions starlingx/tools revisions:
        0d67f81bdf
        7bde482bcb

Closes-Bug: 1960675
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
Change-Id: I7e3e7e4f4afa52a614cb9f58b2d6172441ea7bc1
2022-02-11 17:00:28 -05:00
..
mock_overlay Rename cgcs_overlay to mock_overlay 2019-10-08 12:32:50 -07:00
yum.repos.d Update ca-certificates to pull from Centos 7.9 2021-10-06 12:01:27 -04:00
.inputrc Add build tools 2018-06-08 17:01:43 -05:00
WhatAreThese.md Add build tools 2018-06-08 17:01:43 -05:00
builder-constraints.txt Dockerfile: install tox in its own virtualenv 2022-02-11 17:00:28 -05:00
builder-opt-py27-constraints.txt Dockerfile: install tox in its own virtualenv 2022-02-11 17:00:28 -05:00
finishSetup.sh rename cgcs-centos-repo to centos-repo 2020-09-18 22:32:41 -04:00
generate-centos-repo.sh tidy stx/downloads directory 2020-12-15 14:17:50 -05:00
generate-cgcs-centos-repo.sh Add backward compatability wrapper for generate-cgcs-centos-repo.sh 2020-09-18 22:32:42 -04:00
generate-cgcs-tis-repo Add backward compatability wrapper for generate-cgcs-tis-repo 2020-09-18 22:32:41 -04:00
generate-local-repo.sh generate-local-repo.sh bad ref to root.git 2020-11-19 15:44:45 -05:00
lst_utils.sh lst_utils.sh: increase search depth 3 => 4 2021-08-17 09:09:58 -04:00
populate_downloads.sh tidy stx/downloads directory 2020-12-15 14:17:50 -05:00