Download AMI image inside integration tests

only build and download AMI image type here b/c building the rest
of the output types is tested separately elsewhere
This commit is contained in:
Alexander Todorov 2020-03-09 10:17:11 +02:00 committed by Lars Karlitski
parent 8117344307
commit 2778efed6f

View file

@ -61,13 +61,6 @@ func main() {
// Full integration tests
testCompose("ami")
testCompose("ext4-filesystem")
testCompose("openstack")
testCompose("partitioned-disk")
testCompose("qcow2")
testCompose("tar")
testCompose("vhd")
testCompose("vmdk")
}
func testCompose(outputType string) {
@ -93,6 +86,8 @@ func testCompose(outputType string) {
if status != "FINISHED" {
log.Fatalf("Unexpected compose result: %s", status)
}
runComposerCLI(false, "compose", "image", uuid.String())
}
func startCompose(name, outputType string) uuid.UUID {