Commit eb5482cb authored by Chris Bednarski's avatar Chris Bednarski

Merge branch 'master' into b-govet

parents abb67fdd f40ccd55
...@@ -14,6 +14,7 @@ generate: ...@@ -14,6 +14,7 @@ generate:
go generate ./... go generate ./...
test: test:
@echo "Running tests on:"; git symbolic-ref HEAD; git rev-parse HEAD
go test $(TEST) $(TESTARGS) -timeout=10s go test $(TEST) $(TESTARGS) -timeout=10s
@$(MAKE) vet @$(MAKE) vet
...@@ -29,6 +30,7 @@ testrace: ...@@ -29,6 +30,7 @@ testrace:
go test -race $(TEST) $(TESTARGS) go test -race $(TEST) $(TESTARGS)
updatedeps: updatedeps:
@echo "Updating deps on:"; git symbolic-ref HEAD; git rev-parse HEAD
go get -u github.com/mitchellh/gox go get -u github.com/mitchellh/gox
go get -u golang.org/x/tools/cmd/stringer go get -u golang.org/x/tools/cmd/stringer
go list ./... \ go list ./... \
...@@ -37,8 +39,10 @@ updatedeps: ...@@ -37,8 +39,10 @@ updatedeps:
| grep -v '/internal/' \ | grep -v '/internal/' \
| sort -u \ | sort -u \
| xargs go get -f -u -v | xargs go get -f -u -v
@echo "Finished updating deps, now on:"; git symbolic-ref HEAD; git rev-parse HEAD
vet: vet:
@echo "Running go vet on:"; git symbolic-ref HEAD; git rev-parse HEAD
@go vet 2>/dev/null ; if [ $$? -eq 3 ]; then \ @go vet 2>/dev/null ; if [ $$? -eq 3 ]; then \
go get golang.org/x/tools/cmd/vet; \ go get golang.org/x/tools/cmd/vet; \
fi fi
......
...@@ -20,9 +20,9 @@ usually will stop between each step, waiting for keyboard input before ...@@ -20,9 +20,9 @@ usually will stop between each step, waiting for keyboard input before
continuing. This will allow you to inspect state and so on. continuing. This will allow you to inspect state and so on.
In debug mode once the remote instance is instantiated, Packer will emit to the In debug mode once the remote instance is instantiated, Packer will emit to the
current directory an emphemeral private ssh key as a .pem file. Using that you current directory an ephemeral private ssh key as a .pem file. Using that you
can `ssh -i <key.pem>` into the remote build instance and see what is going on can `ssh -i <key.pem>` into the remote build instance and see what is going on
for debugging. The emphemeral key will be deleted at the end of the packer run for debugging. The ephemeral key will be deleted at the end of the packer run
during cleanup. during cleanup.
### Windows ### Windows
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment