From 6248091e9c11e338ea367534855995beb5a84b8f Mon Sep 17 00:00:00 2001 From: Ryooooooga Date: Thu, 18 Aug 2022 23:48:53 +0900 Subject: [PATCH] test: improve integration test portability --- pkg/integration/components/runner.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/integration/components/runner.go b/pkg/integration/components/runner.go index 5a5022c53..d2b31aed6 100644 --- a/pkg/integration/components/runner.go +++ b/pkg/integration/components/runner.go @@ -136,9 +136,10 @@ func createFixture(test *IntegrationTest, paths Paths) error { } shell := NewShell() - shell.RunCommand("git init") + shell.RunCommand("git init -b master") shell.RunCommand(`git config user.email "CI@example.com"`) shell.RunCommand(`git config user.name "CI"`) + shell.RunCommand(`git config commit.gpgSign false`) test.SetupRepo(shell)