Page MenuHomeSoftware Heritage

sphinx/Dockerfile: Actually update PATH so pre-commit can be used
ClosedPublic

Authored by ardumont on Nov 27 2019, 10:59 AM.

Details

Summary

pre-commit is not seen right now

As of the first install said to me the first time around [1] but i did not fully realize:

10:22:02 Successfully built pyyaml nodeenv
10:22:02 Installing collected packages: more-itertools, zipp, importlib-metadata, pyyaml, aspy.yaml, virtualenv, identify, nodeenv, cfgv, pre-commit
10:22:02   The script virtualenv is installed in '/home/jenkins/.local/bin' which is not on PATH.
10:22:02   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
10:22:02   The script identify-cli is installed in '/home/jenkins/.local/bin' which is not on PATH.
10:22:02   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
10:22:02   The script nodeenv is installed in '/home/jenkins/.local/bin' which is not on PATH.
10:22:02   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
10:22:02   The scripts pre-commit, pre-commit-validate-config and pre-commit-validate-manifest are installed in '/home/jenkins/.local/bin' which is not on PATH.
10:22:02   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

[1] https://jenkins.softwareheritage.org/view/all/job/jenkins-tools/job/swh-jenkins-dockerfiles/42/console

Diff Detail

Repository
rCDFJ Dockerfiles for Jenkins
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 9392
Build 13754: arc lint + arc unit