mirror of
https://github.com/hashicorp/packer.git
synced 2026-03-13 22:22:08 -04:00
This commit adds support for a post-processor that produces a compressed archive that can be uploaded to an OpenStack cluster through either the Horizon web interface or Glance.
14 lines
264 B
Go
14 lines
264 B
Go
package compress
|
|
|
|
import (
|
|
"github.com/mitchellh/packer/packer"
|
|
"testing"
|
|
)
|
|
|
|
func TestArtifact_ImplementsArtifact(t *testing.T) {
|
|
var raw interface{}
|
|
raw = &Artifact{}
|
|
if _, ok := raw.(packer.Artifact); !ok {
|
|
t.Fatalf("Artifact should be a Artifact!")
|
|
}
|
|
}
|