Ensure that the .azure.json file exists for building

This commit is contained in:
R. Tyler Croy 2017-08-25 23:41:53 -07:00
parent 45dc2f163f
commit 3c4ebb533a
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
2 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,6 @@
validate: validate-yaml
validate: validate-yaml .azure.json
for t in $(shell find . -iname "*.packer.json" -type f); do \
./scripts/packer validate --var-file=.azure.json $$t; \
done;
@ -18,6 +18,10 @@ all: validate
./scripts/packer build --var-file=.azure.json $$t; \
done;
.azure.json:
echo ">> .azure.json doesn't exist, you'll probably want to generate it yourself"
touch .azure.json
clean:

View File

@ -1,5 +1,7 @@
= Code Valet Agent Templates
image::http://codevalet.codevalet.io/job/CodeValet/job/agent-templates/job/master/badge/icon[Build status, link=http://codevalet.codevalet.io/blue/organizations/jenkins/CodeValet%2Fagent-templates/activity]
Collection of templates for Code Valet agents. These templates will match to
available labels and templates available for Code Valet masters running on
link:http://codevalet.io[Code Valet]