Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Capture instance metadata with job logs
[releng/global-jjb.git]
/
shell
/
info-file-validate.sh
diff --git
a/shell/info-file-validate.sh
b/shell/info-file-validate.sh
index
4b80672
..
8a4bc6b
100755
(executable)
--- a/
shell/info-file-validate.sh
+++ b/
shell/info-file-validate.sh
@@
-12,10
+12,10
@@
echo '--> info-file-validate.sh'
set -e -o pipefail
PROJECT="${PROJECT:-None}"
set -e -o pipefail
PROJECT="${PROJECT:-None}"
-virtualenv --quiet "/tmp/v/info"
-# shellcheck source=/tmp/v/info/bin/activate disable=SC1091
-source "/tmp/v/info/bin/activate"
-pip
install PyYAML jsonschema rfc3987 yamllint yq
+# shellcheck disable=SC1090
+source ~/lf-env.sh
+lf-activate-venv zipp==1.1.0 PyYAML jsonschema rfc3987 yamllint yq
+pip
freeze
# Download info-schema.yaml and yaml-verfy-schema.py
wget -q https://raw.githubusercontent.com/lfit/releng-global-jjb/master/schema/info-schema.yaml \
# Download info-schema.yaml and yaml-verfy-schema.py
wget -q https://raw.githubusercontent.com/lfit/releng-global-jjb/master/schema/info-schema.yaml \