Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
julienp committed Aug 27, 2024
1 parent 4ffbdf3 commit 858f7ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/containers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ func TestCLIToolTests(t *testing.T) {
fmt.Println("out 1", string(out))
require.NoError(t, err)

cmd = exec.Command("gcloud", "auth", "list")
credsFile := os.Getenv("GOOGLE_APPLICATION_CREDENTIALS")
cmd = exec.Command("gcloud", "auth", "activate-service-account",
"[email protected]", "--keyfile", credsFile)
out, err = cmd.CombinedOutput()
fmt.Println("out 2", string(out))
require.NoError(t, err)
Expand Down

0 comments on commit 858f7ca

Please sign in to comment.