post-processor/compress: style

This commit is contained in:
Mitchell Hashimoto 2014-09-08 10:28:16 -07:00
parent b5f9528738
commit b2255751a1
3 changed files with 5 additions and 3 deletions

View File

@ -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.

View File

@ -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

View File

@ -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 {