Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix artifacts-api dependencies and PATH
[releng.git]
/
jjb
/
releng-macros.yaml
diff --git
a/jjb/releng-macros.yaml
b/jjb/releng-macros.yaml
index
1c9c321
..
8c1539c
100644
(file)
--- a/
jjb/releng-macros.yaml
+++ b/
jjb/releng-macros.yaml
@@
-305,16
+305,16
@@
#!/bin/bash
set -o errexit
set -o pipefail
#!/bin/bash
set -o errexit
set -o pipefail
+ export PATH=$PATH:/usr/local/bin/
- echo "Generating Artifacts API ..."
- virtualenv $WORKSPACE/releng_artifacts
+ virtualenv -p python2.7 $WORKSPACE/releng_artifacts
source $WORKSPACE/releng_artifacts/bin/activate
# install python packages
source $WORKSPACE/releng_artifacts/bin/activate
# install python packages
- easy_install -U setuptools
pip install google-api-python-client
# generate and upload index file
pip install google-api-python-client
# generate and upload index file
+ echo "Generating Artifacts API ..."
python $WORKSPACE/utils/opnfv-artifacts.py > index.json
gsutil cp index.json gs://artifacts.opnfv.org/index.json
python $WORKSPACE/utils/opnfv-artifacts.py > index.json
gsutil cp index.json gs://artifacts.opnfv.org/index.json