Merge pull request #955 from samos123/integration-testing-1.13

Fixes #950 integration test failing on go 1.13
This commit is contained in:
Tejal Desai 2020-01-07 21:38:12 -08:00 committed by GitHub
commit ac8626c0ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,7 @@ import (
"github.com/GoogleContainerTools/kaniko/testutil"
)
var config = initGCPConfig()
var config *gcpConfig
var imageBuilder *DockerFileBuilder
const (
@ -72,6 +72,7 @@ func TestMain(m *testing.M) {
fmt.Println("Missing required tools")
os.Exit(1)
}
config = initGCPConfig()
contextFile, err := CreateIntegrationTarball()
if err != nil {
fmt.Println("Failed to create tarball of integration files for build context", err)