diff --git a/cmd/testbot/main.go b/cmd/testbot/main.go index 8558d96..e4692b5 100644 --- a/cmd/testbot/main.go +++ b/cmd/testbot/main.go @@ -40,7 +40,7 @@ const usageString = `usage: testbot onejob [sha] [dir] [name] For onejob, sha is a git commit hash, dir is the location -of a Testfile relative to $I10R, and name is the name +of a Testfile relative to $POGO, and name is the name of an entry in the Testfile. Example: diff --git a/worker/main.go b/worker/main.go index bf0dff1..e381e57 100644 --- a/worker/main.go +++ b/worker/main.go @@ -324,7 +324,7 @@ func startJob(job testbot.Job) func() { f.Seek(0, 0) if s := scanError(f); s != "" && status != "success" { s = strings.Replace(s, cmddir+"/", "", -1) - s = strings.Replace(s, repoDir+"/", "$I10R/", -1) + s = strings.Replace(s, repoDir+"/", "$POGO/", -1) desc += ": " + s } f.Seek(0, 0) @@ -411,8 +411,7 @@ func startJobProc(ctx context.Context, w io.Writer, job testbot.Job) (*exec.Cmd, func prepareCommand(ctx context.Context, dir string, w io.Writer, cmd string) *exec.Cmd { c := command(ctx, w, "/bin/bash", "-eo", "pipefail", "-c", cmd) c.Env = append(os.Environ(), - "CHAIN="+repoDir, - "I10R="+repoDir, + "POGO="+repoDir, "GOBIN="+binDir, "NETLIFY_AUTH_TOKEN="+netlify, "PATH="+binDir+":"+repoDir+"/bin:"+os.Getenv("PATH"),