Skip to content

Commit

Permalink
Complete Atlas deprecation.
Browse files Browse the repository at this point in the history
Removes the push command and the Atlas post-processor.  Please see our
guide on building immutable infrastructure with Packer on CI/CD for
ideas on implementing these features yourself.
https://www.packer.io/guides/packer-on-cicd/
  • Loading branch information
mwhooker committed Aug 3, 2018
1 parent 0633189 commit ddf23a2
Show file tree
Hide file tree
Showing 38 changed files with 13 additions and 4,170 deletions.
16 changes: 0 additions & 16 deletions command/fix_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,6 @@ import (
"testing"
)

func TestFix_noArgs(t *testing.T) {
c := &PushCommand{Meta: testMeta(t)}
code := c.Run(nil)
if code != 1 {
t.Fatalf("bad: %#v", code)
}
}

func TestFix_multiArgs(t *testing.T) {
c := &PushCommand{Meta: testMeta(t)}
code := c.Run([]string{"one", "two"})
if code != 1 {
t.Fatalf("bad: %#v", code)
}
}

func TestFix(t *testing.T) {
c := &FixCommand{
Meta: testMeta(t),
Expand Down
2 changes: 0 additions & 2 deletions command/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ import (
alicloudimportpostprocessor "github.com/hashicorp/packer/post-processor/alicloud-import"
amazonimportpostprocessor "github.com/hashicorp/packer/post-processor/amazon-import"
artificepostprocessor "github.com/hashicorp/packer/post-processor/artifice"
atlaspostprocessor "github.com/hashicorp/packer/post-processor/atlas"
checksumpostprocessor "github.com/hashicorp/packer/post-processor/checksum"
compresspostprocessor "github.com/hashicorp/packer/post-processor/compress"
dockerimportpostprocessor "github.com/hashicorp/packer/post-processor/docker-import"
Expand Down Expand Up @@ -139,7 +138,6 @@ var PostProcessors = map[string]packer.PostProcessor{
"alicloud-import": new(alicloudimportpostprocessor.PostProcessor),
"amazon-import": new(amazonimportpostprocessor.PostProcessor),
"artifice": new(artificepostprocessor.PostProcessor),
"atlas": new(atlaspostprocessor.PostProcessor),
"checksum": new(checksumpostprocessor.PostProcessor),
"compress": new(compresspostprocessor.PostProcessor),
"docker-import": new(dockerimportpostprocessor.PostProcessor),
Expand Down
Loading

0 comments on commit ddf23a2

Please sign in to comment.