Fixing stack deploy tests to not contact registry

Because of cherry-pick from commit
f790e839fc

Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
This commit is contained in:
Nishant Totla
2017-06-08 15:20:09 -07:00
parent 66d168dd55
commit f15c4fd160
2 changed files with 5 additions and 0 deletions

View File

@ -62,6 +62,7 @@ func (s *DockerSwarmSuite) TestStackDeployComposeFile(c *check.C) {
testStackName := "testdeploy"
stackArgs := []string{
"stack", "deploy",
"--resolve-image", "never",
"--compose-file", "fixtures/deploy/default.yaml",
testStackName,
}
@ -88,6 +89,7 @@ func (s *DockerSwarmSuite) TestStackDeployWithSecretsTwice(c *check.C) {
testStackName := "testdeploy"
stackArgs := []string{
"stack", "deploy",
"--resolve-image", "never",
"--compose-file", "fixtures/deploy/secrets.yaml",
testStackName,
}
@ -120,6 +122,7 @@ func (s *DockerSwarmSuite) TestStackRemove(c *check.C) {
stackName := "testdeploy"
stackArgs := []string{
"stack", "deploy",
"--resolve-image", "never",
"--compose-file", "fixtures/deploy/remove.yaml",
stackName,
}
@ -179,6 +182,7 @@ func (s *DockerSwarmSuite) TestStackDeployWithDAB(c *check.C) {
// deploy
stackArgs := []string{
"stack", "deploy",
"--resolve-image", "never",
"--bundle-file", testDABFileName,
testStackName,
}