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
44169544
Commit
44169544
authored
Aug 10, 2015
by
Chris Bednarski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected the meta text on the artifice page.
parent
8484c2e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
15 deletions
+18
-15
website/source/docs/post-processors/artifice.html.markdown
website/source/docs/post-processors/artifice.html.markdown
+16
-13
website/source/docs/post-processors/compress.html.markdown
website/source/docs/post-processors/compress.html.markdown
+2
-2
No files found.
website/source/docs/post-processors/artifice.html.markdown
View file @
44169544
---
---
description: |
description: |
The Atlas post-processor for Packer receives an artifact from a Packer build and
The artifice post-processor overrides the artifact list from an upstream builder
uploads it to Atlas. Atlas hosts and serves artifacts, allowing you to version
or post-processor. All downstream post-processors will see the new artifacts you
and distribute them in a simple way.
specify. The primary use-case is to build artifacts inside a packer builder --
for example, spinning up an EC2 instance to build a docker container -- and then
extracting the docker container and throwing away the EC2 instance.
layout: docs
layout: docs
page_title: 'Atlas Post-Processor'
page_title: 'Atlas Post-Processor'
...
...
...
@@ -45,8 +47,8 @@ Artifice helps you tie together a few other packer features:
...
@@ -45,8 +47,8 @@ Artifice helps you tie together a few other packer features:
-
Additional post-processors, which push the artifact to Atlas, Docker
-
Additional post-processors, which push the artifact to Atlas, Docker
hub, etc.
hub, etc.
You will want to perform as much work as possible inside the VM. Ideally
You will want to perform as much work as possible inside the VM. Ideally
the
the
only other post-processor you need after artifice is one that uploads your
only other post-processor you need after artifice is one that uploads your
artifact to the appropriate repository.
artifact to the appropriate repository.
## Configuration
## Configuration
...
@@ -64,13 +66,14 @@ The configuration allows you to specify which files comprise your artifact.
...
@@ -64,13 +66,14 @@ The configuration allows you to specify which files comprise your artifact.
This minimal example:
This minimal example:
1.
Spins up a cloned VMware virtual machine
1.
Spins up a cloned VMware virtual machine
2.
Installs a
[
consul
](
https://consul.io/
)
release
2.
Installs a
[
consul
](
https://consul.io/
)
release
3.
Downloads the consul binary
3.
Downloads the consul binary
4.
Packages it into a
`.tar.gz`
file
4.
Packages it into a
`.tar.gz`
file
5.
Uploads it to Atlas.
5.
Uploads it to Atlas.
VMX is a fast way to build and test locally, but you can easily substitute another builder.
VMX is a fast way to build and test locally, but you can easily substitute
another builder.
```
{.javascript}
```
{.javascript}
{
{
...
@@ -143,5 +146,5 @@ artifact (the vmx file in this case) and it will not have the desired result.
...
@@ -143,5 +146,5 @@ artifact (the vmx file in this case) and it will not have the desired result.
}
}
]
]
You can create multiple post-processor chains to handle multiple builders (for
example,
You can create multiple post-processor chains to handle multiple builders (for
building linux and windows binaries during the same build).
example,
building linux and windows binaries during the same build).
website/source/docs/post-processors/compress.html.markdown
View file @
44169544
...
@@ -27,8 +27,8 @@ you will need to specify the `output` option.
...
@@ -27,8 +27,8 @@ you will need to specify the `output` option.
detected packer defaults to
`.tar.gz`
behavior but will not change
detected packer defaults to
`.tar.gz`
behavior but will not change
the filename.
the filename.
You can use `{{.BuildName}}` and `{{.BuilderType}}` in your output path.
You can use `{{.BuildName}}` and `{{.BuilderType}}` in your output path.
If
If
you are executing multiple builders in parallel you should make sure
you are executing multiple builders in parallel you should make sure
`output` is unique for each one. For example `packer_{{.BuildName}}.zip`.
`output` is unique for each one. For example `packer_{{.BuildName}}.zip`.
-
`compression_level`
(integer) - Specify the compression level, for
-
`compression_level`
(integer) - Specify the compression level, for
...
...
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