Add (hopefully) failing test for image labeling

This commit is contained in:
Milan Vit
2021-03-19 16:00:36 +09:00
committed by Jose Diaz-Gonzalez
parent 6d66590fd4
commit 15f4e94b4f

View File

@@ -116,3 +116,11 @@ EOF
echo "status: $status"
assert_failure
}
@test "(git) git:from-image labels correctly" {
run /bin/bash -c "dokku git:from-image $TEST_APP gliderlabs/logspout:v3.2.14"
run /bin/bash -c "docker image inspect dokku/$TEST_APP:latest | grep 'alternate-tags' | grep 'gliderlabs/logspout:v3.2.14'"
echo "output: $output"
echo "status: $status"
assert_success
}