Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v8] Set TELEPORT_ETCD_TEST=yes. (#12784) #12850

Merged
merged 1 commit into from
May 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .cloudbuild/scripts/cmd/unit-tests/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ func main() {
}

type commandlineArgs struct {
workspace string
targetBranch string
commitSHA string
githubKeySrc string
skipUnshallow bool
workspace string
targetBranch string
commitSHA string
githubKeySrc string
skipUnshallow bool
}

func parseCommandLine() (commandlineArgs, error) {
Expand Down Expand Up @@ -150,8 +150,10 @@ func runUnitTests(workspace string) error {

cmd := exec.Command("make", "test")
cmd.Dir = workspace
cmd.Env = append(os.Environ(), gomodcache, "TELEPORT_ETCD_TEST=yes")
cmd.Env = append(os.Environ(), "TELEPORT_XAUTH_TEST=yes")
cmd.Env = os.Environ()
cmd.Env = append(cmd.Env, gomodcache)
cmd.Env = append(cmd.Env, "TELEPORT_ETCD_TEST=yes")
cmd.Env = append(cmd.Env, "TELEPORT_XAUTH_TEST=yes")
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr

Expand Down