a4de58b5f6
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.
15 lines
264 B
Go
15 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!")
|
|
}
|
|
}
|