Ensure consistent formatting
@@ -42,94 +42,113 @@ func TestRun(t *testing.T) {
description: "getting-started",
dir: "examples/getting-started",
pods: []string{"getting-started"},
- }, {
+ },
+ {
description: "nodejs",
dir: "examples/nodejs",
deployments: []string{"node"},
- }, {
+ },
+ {
description: "structure-tests",
dir: "examples/structure-tests",
pods: []string{"getting-started"},
- }, {
+ },
+ {
description: "microservices",
dir: "examples/microservices",
// See https://github.com/GoogleContainerTools/skaffold/issues/2372
args: []string{"--status-check=false"},
deployments: []string{"leeroy-app", "leeroy-web"},
- }, {
+ },
+ {
description: "envTagger",
dir: "examples/tagging-with-environment-variables",
pods: []string{"getting-started"},
env: []string{"FOO=foo"},
- }, {
+ },
+ {
description: "bazel",
dir: "examples/bazel",
pods: []string{"bazel"},
- }, {
+ },
+ {
description: "Google Cloud Build",
dir: "examples/google-cloud-build",
pods: []string{"getting-started"},
gcpOnly: true,
- }, {
+ },
+ {
description: "Google Cloud Build with sub folder",
dir: "testdata/gcb-sub-folder",
pods: []string{"getting-started"},
gcpOnly: true,
- }, {
+ },
+ {
description: "Google Cloud Build with Kaniko",
dir: "examples/gcb-kaniko",
pods: []string{"getting-started-kaniko"},
gcpOnly: true,
- }, {
+ },
+ {
description: "kaniko",
dir: "examples/kaniko",
pods: []string{"getting-started-kaniko"},
gcpOnly: true,
- }, {
+ },
+ {
description: "kaniko local",
dir: "examples/kaniko-local",
pods: []string{"getting-started-kaniko"},
gcpOnly: true,
- }, {
+ },
+ {
description: "kaniko local with target",
dir: "testdata/kaniko-target",
pods: []string{"getting-started-kaniko"},
gcpOnly: true,
- }, {
+ },
+ {
description: "kaniko local with sub folder",
dir: "testdata/kaniko-sub-folder",
pods: []string{"getting-started-kaniko"},
gcpOnly: true,
- }, {
+ },
+ {
description: "kaniko microservices",
dir: "testdata/kaniko-microservices",
deployments: []string{"leeroy-app", "leeroy-web"},
gcpOnly: true,
- }, {
+ },
+ {
description: "jib",
dir: "testdata/jib",
deployments: []string{"web"},
- }, {
+ },
+ {
description: "jib in googlecloudbuild",
dir: "testdata/jib",
args: []string{"-p", "gcb"},
deployments: []string{"web"},
gcpOnly: true,
- }, {
+ },
+ {
description: "jib gradle",
dir: "testdata/jib-gradle",
deployments: []string{"web"},
- }, {
+ },
+ {
description: "jib gradle in googlecloudbuild",
dir: "testdata/jib-gradle",
args: []string{"-p", "gcb"},
deployments: []string{"web"},
gcpOnly: true,
- }, {
+ },
+ {
description: "custom builder",
dir: "testdata/custom",
pods: []string{"bazel"},
- }, {
+ },
+ {
description: "profiles",
dir: "examples/profiles",
args: []string{"-p", "minikube-profile"},
