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
b2255751
Commit
b2255751
authored
Sep 08, 2014
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
post-processor/compress: style
parent
b5f95287
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
CHANGELOG.md
CHANGELOG.md
+1
-0
post-processor/compress/artifact.go
post-processor/compress/artifact.go
+1
-1
post-processor/compress/post-processor.go
post-processor/compress/post-processor.go
+3
-2
No files found.
CHANGELOG.md
View file @
b2255751
...
@@ -8,6 +8,7 @@ BACKWARDS INCOMPATIBILITIES:
...
@@ -8,6 +8,7 @@ BACKWARDS INCOMPATIBILITIES:
FEATURES:
FEATURES:
*
**New Post-Processor: `compress`**
- Gzip compresses artifacts with files.
*
**New Post-Processor: `docker-save`**
- Save an image. This is similar to
*
**New Post-Processor: `docker-save`**
- Save an image. This is similar to
export, but preserves the image hierarchy.
export, but preserves the image hierarchy.
*
**New Post-Processor: `docker-tag`**
- Tag a created image.
*
**New Post-Processor: `docker-tag`**
- Tag a created image.
...
...
post-processor/compress/artifact.go
View file @
b2255751
...
@@ -5,7 +5,7 @@ import (
...
@@ -5,7 +5,7 @@ import (
"os"
"os"
)
)
const
BuilderId
=
"
johnbellone
.compress"
const
BuilderId
=
"
packer.post-processor
.compress"
type
Artifact
struct
{
type
Artifact
struct
{
Path
string
Path
string
...
...
post-processor/compress/post-processor.go
View file @
b2255751
...
@@ -4,10 +4,11 @@ import (
...
@@ -4,10 +4,11 @@ import (
"archive/tar"
"archive/tar"
"compress/gzip"
"compress/gzip"
"fmt"
"fmt"
"github.com/mitchellh/packer/common"
"github.com/mitchellh/packer/packer"
"io"
"io"
"os"
"os"
"github.com/mitchellh/packer/common"
"github.com/mitchellh/packer/packer"
)
)
type
Config
struct
{
type
Config
struct
{
...
...
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