OLD | NEW |
1 // Copyright 2017 The LUCI Authors. All rights reserved. | 1 // Copyright 2017 The LUCI Authors. All rights reserved. |
2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
4 | 4 |
5 package buildbot | 5 package buildbot |
6 | 6 |
7 import ( | 7 import ( |
8 "fmt" | 8 "fmt" |
9 "strconv" | 9 "strconv" |
10 "strings" | 10 "strings" |
11 "unicode/utf8" | 11 "unicode/utf8" |
12 | 12 |
13 "github.com/luci/luci-go/common/data/stringset" | 13 "github.com/luci/luci-go/common/data/stringset" |
14 "github.com/luci/luci-go/common/logging" | 14 "github.com/luci/luci-go/common/logging" |
15 miloProto "github.com/luci/luci-go/common/proto/milo" | 15 miloProto "github.com/luci/luci-go/common/proto/milo" |
16 "github.com/luci/luci-go/grpc/grpcutil" | 16 "github.com/luci/luci-go/grpc/grpcutil" |
17 "github.com/luci/luci-go/logdog/client/coordinator" | 17 "github.com/luci/luci-go/logdog/client/coordinator" |
18 "github.com/luci/luci-go/logdog/common/types" | 18 "github.com/luci/luci-go/logdog/common/types" |
19 "github.com/luci/luci-go/luci_config/common/cfgtypes" | 19 "github.com/luci/luci-go/luci_config/common/cfgtypes" |
20 milo "github.com/luci/luci-go/milo/api/proto" | 20 milo "github.com/luci/luci-go/milo/api/proto" |
21 » "github.com/luci/luci-go/milo/appengine/job_source/raw_presentation" | 21 » "github.com/luci/luci-go/milo/job_source/raw_presentation" |
22 | 22 |
23 "google.golang.org/grpc/codes" | 23 "google.golang.org/grpc/codes" |
24 | 24 |
25 "golang.org/x/net/context" | 25 "golang.org/x/net/context" |
26 ) | 26 ) |
27 | 27 |
28 // BuildInfoProvider is a configuration that provides build information. | 28 // BuildInfoProvider is a configuration that provides build information. |
29 // | 29 // |
30 // In a production system, this will be completely defaults. For testing, the | 30 // In a production system, this will be completely defaults. For testing, the |
31 // various services and data sources may be substituted for testing stubs. | 31 // various services and data sources may be substituted for testing stubs. |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 allProps.Add(prop.Name) | 264 allProps.Add(prop.Name) |
265 | 265 |
266 step.Property = append(step.Property, &miloProto.Step_Property{ | 266 step.Property = append(step.Property, &miloProto.Step_Property{ |
267 Name: prop.Name, | 267 Name: prop.Name, |
268 Value: fmt.Sprintf("%v", prop.Value), | 268 Value: fmt.Sprintf("%v", prop.Value), |
269 }) | 269 }) |
270 } | 270 } |
271 | 271 |
272 return nil | 272 return nil |
273 } | 273 } |
OLD | NEW |