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
cd95f21d
Commit
cd95f21d
authored
Aug 27, 2013
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
command/build: "end" sentinel in artifact machine-readable output
parent
84d91c5f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
CHANGELOG.md
CHANGELOG.md
+2
-0
command/build/command.go
command/build/command.go
+1
-0
website/source/docs/machine-readable/command-build.html.markdown
.../source/docs/machine-readable/command-build.html.markdown
+9
-0
No files found.
CHANGELOG.md
View file @
cd95f21d
...
...
@@ -15,6 +15,8 @@ IMPROVEMENTS:
*
core: Output message when Ctrl-C received that we're cleaning up. [GH-338]
*
builder/amazon: Tagging now works with all amazon builder types.
*
command/build: Machine-readable output now contains build errors, if any.
*
command/build: An "end" sentinel is outputted in machine-readable output
for artifact listing so it is easier to know when it is over.
BUG FIXES:
...
...
command/build/command.go
View file @
cd95f21d
...
...
@@ -235,6 +235,7 @@ func (c Command) Run(env packer.Environment, args []string) int {
ui
.
Machine
(
"artifact"
,
iStr
,
"nil"
)
}
ui
.
Machine
(
"artifact"
,
iStr
,
"end"
)
env
.
Ui
()
.
Say
(
message
.
String
())
}
}
...
...
website/source/docs/machine-readable/command-build.html.markdown
View file @
cd95f21d
...
...
@@ -61,6 +61,15 @@ of `packer build`.
</p>
</dd>
<dt>artifact subtype: end (0)</dt>
<dd>
<p>
The last machine-readable output line outputted for an artifact.
This is a sentinel value so you know that no more data related to
the targetted artifact will be outputted.
</p>
</dd>
<dt>artifact subtype: file (2)</dt>
<dd>
<p>
...
...
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