Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
eb5482cb
Commit
eb5482cb
authored
Aug 06, 2015
by
Chris Bednarski
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into b-govet
parents
abb67fdd
f40ccd55
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
Makefile
Makefile
+4
-0
website/source/docs/other/debugging.html.markdown
website/source/docs/other/debugging.html.markdown
+2
-2
No files found.
Makefile
View file @
eb5482cb
...
...
@@ -14,6 +14,7 @@ generate:
go generate ./...
test
:
@
echo
"Running tests on:"
;
git symbolic-ref HEAD
;
git rev-parse HEAD
go
test
$(TEST)
$(TESTARGS)
-timeout
=
10s
@
$(MAKE)
vet
...
...
@@ -29,6 +30,7 @@ testrace:
go
test
-race
$(TEST)
$(TESTARGS)
updatedeps
:
@
echo
"Updating deps on:"
;
git symbolic-ref HEAD
;
git rev-parse HEAD
go get
-u
github.com/mitchellh/gox
go get
-u
golang.org/x/tools/cmd/stringer
go list ./...
\
...
...
@@ -37,8 +39,10 @@ updatedeps:
|
grep
-v
'/internal/'
\
|
sort
-u
\
| xargs go get
-f
-u
-v
@
echo
"Finished updating deps, now on:"
;
git symbolic-ref HEAD
;
git rev-parse HEAD
vet
:
@
echo
"Running go vet on:"
;
git symbolic-ref HEAD
;
git rev-parse HEAD
@
go vet 2>/dev/null
;
if
[
$$
?
-eq
3
]
;
then
\
go get golang.org/x/tools/cmd/vet
;
\
fi
...
...
website/source/docs/other/debugging.html.markdown
View file @
eb5482cb
...
...
@@ -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.
In debug mode once the remote instance is instantiated, Packer will emit to the
current directory an e
m
phemeral 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
for debugging. The e
m
phemeral 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.
### Windows
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment