Skip to content

Commit

Permalink
fix web editor conflicts resolutions
Browse files Browse the repository at this point in the history
  • Loading branch information
tejal29 committed Jan 29, 2020
1 parent 47ab3fe commit 5f482ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 4 additions & 4 deletions integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func getGitRepo() string {
}
return "github.com/GoogleContainerTools/kaniko"
}

func TestGitBuildcontext(t *testing.T) {
repo := getGitRepo()
dockerfile := "integration/dockerfiles/Dockerfile_test_run_2"
Expand Down Expand Up @@ -283,12 +283,12 @@ func TestBuildViaRegistryMirror(t *testing.T) {
kanikoCmd := exec.Command("docker",
append([]string{"run",
"-v", os.Getenv("HOME") + "/.config/gcloud:/root/.config/gcloud",
ExecutorImage,
ExecutorImage,
"-f", dockerfile,
"-d", kanikoImage,
"--registry-mirror", "gcr.io",
contextFlag, contextPath
"-b", config.gcsBucket)...)
contextFlag, contextPath,
"-b", config.gcsBucket})...)

out, err = RunCommandWithoutTest(kanikoCmd)
if err != nil {
Expand Down
4 changes: 1 addition & 3 deletions pkg/config/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,10 @@ type KanikoOptions struct {
ImageNameDigestFile string
OCILayoutPath string
RegistryMirror string
InsecureRegistries multiArg
InsecureRegistries multiArg
SkipTLSVerifyRegistries multiArg
Destinations multiArg
BuildArgs multiArg
InsecureRegistries multiArg
SkipTLSVerifyRegistries multiArg
Insecure bool
SkipTLSVerify bool
InsecurePull bool
Expand Down

0 comments on commit 5f482ed

Please sign in to comment.