mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 18:20:27 +00:00
Use CIRCLE_PROJECT_REPONAME to distinguih schedules for different repos.
This commit is contained in:
@@ -138,7 +138,9 @@ func updateScheduler(test string, duration float64) {
|
|||||||
|
|
||||||
func getSchedule(tests []string) ([]string, error) {
|
func getSchedule(tests []string) ([]string, error) {
|
||||||
var (
|
var (
|
||||||
testRun = "integration-" + os.Getenv("CIRCLE_BUILD_NUM")
|
project = os.Getenv("CIRCLE_PROJECT_REPONAME")
|
||||||
|
buildNum = os.Getenv("CIRCLE_BUILD_NUM")
|
||||||
|
testRun = project + "-integration-" + buildNum
|
||||||
shardCount = os.Getenv("CIRCLE_NODE_TOTAL")
|
shardCount = os.Getenv("CIRCLE_NODE_TOTAL")
|
||||||
shardID = os.Getenv("CIRCLE_NODE_INDEX")
|
shardID = os.Getenv("CIRCLE_NODE_INDEX")
|
||||||
requestBody = &bytes.Buffer{}
|
requestBody = &bytes.Buffer{}
|
||||||
|
|||||||
Reference in New Issue
Block a user