Code Review
/
releng
/
global-jjb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 2:
1167954
)
Merge "Make packer-cloud-env variable configurable"
author
Thanh Ha
<thanh.ha@linuxfoundation.org>
Wed, 2 Aug 2017 18:58:50 +0000
(18:58 +0000)
committer
Gerrit Code Review
<gerrit@linuxfoundation.org>
Wed, 2 Aug 2017 18:58:50 +0000
(18:58 +0000)
shell/packer-validate.sh
patch
|
blob
|
history
diff --git
a/shell/packer-validate.sh
b/shell/packer-validate.sh
index
e19c973
..
e9f1a8f
100644
(file)
--- a/
shell/packer-validate.sh
+++ b/
shell/packer-validate.sh
@@
-21,11
+21,10
@@
mkdir -p "$PACKER_LOGS_DIR"
export PATH="${WORKSPACE}/bin:$PATH"
cd packer
-varfiles=(../packer/vars/*)
-templates=(../packer/templates/*)
+varfiles=(../packer/vars/*
.json
)
+templates=(../packer/templates/*
.json
)
for varfile in "${varfiles[@]}"; do
- [[ "${varfile##*/}" =~ ^(cloud-env.*)$ ]] && continue
for template in "${templates[@]}"; do
export PACKER_LOG="yes" && \
export PACKER_LOG_PATH="$PACKER_LOGS_DIR/packer-validate-${varfile##*/}-${template##*/}.log" && \