Commit b2255751 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

post-processor/compress: style

parent b5f95287
...@@ -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.
......
...@@ -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
......
...@@ -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 {
......
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