2018-08-08 20:00:44 +03:00
|
|
|
module golang.org/x/build
|
|
|
|
|
2023-10-03 00:46:47 +03:00
|
|
|
go 1.21
|
2019-05-03 21:36:43 +03:00
|
|
|
|
2018-08-08 20:00:44 +03:00
|
|
|
require (
|
2023-10-03 00:46:47 +03:00
|
|
|
cloud.google.com/go/bigquery v1.53.0
|
2023-09-14 22:57:50 +03:00
|
|
|
cloud.google.com/go/cloudbuild v1.14.0
|
2023-06-20 16:16:52 +03:00
|
|
|
cloud.google.com/go/compute/metadata v0.2.3
|
2023-10-03 00:46:47 +03:00
|
|
|
cloud.google.com/go/datastore v1.13.0
|
2023-06-20 16:16:52 +03:00
|
|
|
cloud.google.com/go/errorreporting v0.3.0
|
2023-10-03 00:46:47 +03:00
|
|
|
cloud.google.com/go/pubsub v1.33.0
|
|
|
|
cloud.google.com/go/secretmanager v1.11.1
|
|
|
|
cloud.google.com/go/security v1.15.1
|
|
|
|
cloud.google.com/go/storage v1.31.0
|
2023-03-28 13:00:54 +03:00
|
|
|
contrib.go.opencensus.io/exporter/prometheus v0.4.2
|
2021-03-22 19:08:58 +03:00
|
|
|
contrib.go.opencensus.io/exporter/stackdriver v0.13.5
|
2022-03-24 01:27:41 +03:00
|
|
|
github.com/GoogleCloudPlatform/cloudsql-proxy v0.0.0-20190129172621-c8b1d7a94ddf
|
2024-01-06 00:06:26 +03:00
|
|
|
github.com/McKael/madon/v3 v3.0.0-20230806150951-5ba59b7ca061
|
2019-12-12 19:17:09 +03:00
|
|
|
github.com/NYTimes/gziphandler v1.1.1
|
2023-11-16 00:17:47 +03:00
|
|
|
github.com/UserExistsError/conpty v0.1.1
|
2023-03-08 23:03:54 +03:00
|
|
|
github.com/ajstarks/svgo v0.0.0-20210923152817-c3b6e2f0c527
|
2020-05-04 20:13:17 +03:00
|
|
|
github.com/aws/aws-sdk-go v1.30.15
|
2018-08-08 20:00:44 +03:00
|
|
|
github.com/bradfitz/go-smtpd v0.0.0-20170404230938-deb6d6237625
|
2023-11-10 23:47:36 +03:00
|
|
|
github.com/creack/pty v1.1.20
|
2018-10-30 16:29:28 +03:00
|
|
|
github.com/davecgh/go-spew v1.1.1
|
2021-10-26 23:15:38 +03:00
|
|
|
github.com/dghubble/oauth1 v0.7.0
|
2022-03-01 07:29:16 +03:00
|
|
|
github.com/esimov/stackblur-go v1.1.0
|
2021-07-27 19:36:59 +03:00
|
|
|
github.com/gliderlabs/ssh v0.3.3
|
2022-03-24 01:27:41 +03:00
|
|
|
github.com/go-sql-driver/mysql v1.5.0
|
2021-09-10 22:42:39 +03:00
|
|
|
github.com/golang-migrate/migrate/v4 v4.15.0-beta.3
|
2023-06-20 16:16:52 +03:00
|
|
|
github.com/golang/protobuf v1.5.3
|
cmd/makemac: add full instance management to makemac
Currently makemac is extremely minimal, all it does is renew existing
leases. It does not attempt to detect broken leases or create new
leases. Over time as leases disappear for various reasons, the pool
slowly dwindles, and a human must come along and add new leases.
Extend makemac to perform complete lifecycle management. config.go
specifies the desired count of each image type, and makemac attempts
to maintain that many healthy leases.
There are several different ways that a lease may be unhealthy:
It may fail initial boot. If it fails to connect to the hypervisor,
MacService will automatically remove it eventually. If it connects to
the hypervisor, but not to LUCI, then it will appear healthy in
MacService but be missing from swarming.
It may succeed initial boot and successfully connect to LUCI, but
eventually freeze, crash, etc. This case will appears as a "dead" bot
on LUCI, and may or may not be automatically removed from MacService
depending on the nature of the freeze/crash.
makemac attempts to detect and handle all of these cases. For example,
if LUCI reports a bot as "dead", but MacService still reports it as
alive, makemac will destroy the lease.
Since makemac can now perform destructive actions, we need to add a
bit more safety. Leases created by makemac will set the MacService
lease "project name" to "makemac". The "project name" is effectively
just a tag on the lease. makemac will only operate on leases with the
"makemac" project. All other leases (such as those manually created by
a human) will be left alone.
Image updates can be performed by changing the image SHA in config.go.
handleObsoleteLeases will automatically destroy old leases using the
old image on the next run.
Change-Id: I9bc53cb5812784adbb5cacf9fb224d64d063c089
Reviewed-on: https://go-review.googlesource.com/c/build/+/562399
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-02-07 17:32:46 +03:00
|
|
|
github.com/google/go-cmp v0.6.0
|
2018-09-25 19:30:42 +03:00
|
|
|
github.com/google/go-github v17.0.0+incompatible
|
2022-11-16 00:02:20 +03:00
|
|
|
github.com/google/go-github/v48 v48.1.0
|
2022-09-07 20:18:53 +03:00
|
|
|
github.com/google/safehtml v0.0.3-0.20220430015336-00016cfeca15
|
cmd/makemac: add full instance management to makemac
Currently makemac is extremely minimal, all it does is renew existing
leases. It does not attempt to detect broken leases or create new
leases. Over time as leases disappear for various reasons, the pool
slowly dwindles, and a human must come along and add new leases.
Extend makemac to perform complete lifecycle management. config.go
specifies the desired count of each image type, and makemac attempts
to maintain that many healthy leases.
There are several different ways that a lease may be unhealthy:
It may fail initial boot. If it fails to connect to the hypervisor,
MacService will automatically remove it eventually. If it connects to
the hypervisor, but not to LUCI, then it will appear healthy in
MacService but be missing from swarming.
It may succeed initial boot and successfully connect to LUCI, but
eventually freeze, crash, etc. This case will appears as a "dead" bot
on LUCI, and may or may not be automatically removed from MacService
depending on the nature of the freeze/crash.
makemac attempts to detect and handle all of these cases. For example,
if LUCI reports a bot as "dead", but MacService still reports it as
alive, makemac will destroy the lease.
Since makemac can now perform destructive actions, we need to add a
bit more safety. Leases created by makemac will set the MacService
lease "project name" to "makemac". The "project name" is effectively
just a tag on the lease. makemac will only operate on leases with the
"makemac" project. All other leases (such as those manually created by
a human) will be left alone.
Image updates can be performed by changing the image SHA in config.go.
handleObsoleteLeases will automatically destroy old leases using the
old image on the next run.
Change-Id: I9bc53cb5812784adbb5cacf9fb224d64d063c089
Reviewed-on: https://go-review.googlesource.com/c/build/+/562399
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-02-07 17:32:46 +03:00
|
|
|
github.com/google/uuid v1.3.1
|
2023-10-03 00:46:47 +03:00
|
|
|
github.com/googleapis/gax-go/v2 v2.12.0
|
2020-12-03 03:25:34 +03:00
|
|
|
github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8
|
2018-08-08 20:00:44 +03:00
|
|
|
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7
|
2021-10-27 00:45:19 +03:00
|
|
|
github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4
|
2022-03-17 22:51:40 +03:00
|
|
|
github.com/influxdata/influxdb-client-go/v2 v2.8.0
|
2022-03-09 20:41:24 +03:00
|
|
|
github.com/jackc/pgconn v1.11.0
|
2021-08-25 22:48:02 +03:00
|
|
|
github.com/jackc/pgx/v4 v4.13.0
|
2018-08-08 20:00:44 +03:00
|
|
|
github.com/jellevandenhooff/dkim v0.0.0-20150330215556-f50fe3d243e1
|
2022-06-08 01:17:52 +03:00
|
|
|
github.com/julienschmidt/httprouter v1.3.0
|
2022-05-27 17:19:48 +03:00
|
|
|
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
|
2022-03-24 01:27:41 +03:00
|
|
|
github.com/mattn/go-sqlite3 v1.14.6
|
2022-09-02 16:54:11 +03:00
|
|
|
github.com/robfig/cron/v3 v3.0.2-0.20210106135023-bc59245fe10e
|
2021-11-15 21:03:02 +03:00
|
|
|
github.com/sendgrid/sendgrid-go v3.11.1+incompatible
|
2022-05-25 00:17:20 +03:00
|
|
|
github.com/shurcooL/githubv4 v0.0.0-20220520033151-0b4e3294ff00
|
2018-10-30 16:29:28 +03:00
|
|
|
github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07
|
2024-01-08 20:53:54 +03:00
|
|
|
github.com/yuin/goldmark v1.6.0
|
cmd/makemac: add full instance management to makemac
Currently makemac is extremely minimal, all it does is renew existing
leases. It does not attempt to detect broken leases or create new
leases. Over time as leases disappear for various reasons, the pool
slowly dwindles, and a human must come along and add new leases.
Extend makemac to perform complete lifecycle management. config.go
specifies the desired count of each image type, and makemac attempts
to maintain that many healthy leases.
There are several different ways that a lease may be unhealthy:
It may fail initial boot. If it fails to connect to the hypervisor,
MacService will automatically remove it eventually. If it connects to
the hypervisor, but not to LUCI, then it will appear healthy in
MacService but be missing from swarming.
It may succeed initial boot and successfully connect to LUCI, but
eventually freeze, crash, etc. This case will appears as a "dead" bot
on LUCI, and may or may not be automatically removed from MacService
depending on the nature of the freeze/crash.
makemac attempts to detect and handle all of these cases. For example,
if LUCI reports a bot as "dead", but MacService still reports it as
alive, makemac will destroy the lease.
Since makemac can now perform destructive actions, we need to add a
bit more safety. Leases created by makemac will set the MacService
lease "project name" to "makemac". The "project name" is effectively
just a tag on the lease. makemac will only operate on leases with the
"makemac" project. All other leases (such as those manually created by
a human) will be left alone.
Image updates can be performed by changing the image SHA in config.go.
handleObsoleteLeases will automatically destroy old leases using the
old image on the next run.
Change-Id: I9bc53cb5812784adbb5cacf9fb224d64d063c089
Reviewed-on: https://go-review.googlesource.com/c/build/+/562399
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-02-07 17:32:46 +03:00
|
|
|
go.chromium.org/luci v0.0.0-20240207061751-3ff7b3e74e1c
|
2023-06-20 16:16:52 +03:00
|
|
|
go.opencensus.io v0.24.0
|
2018-10-30 16:29:28 +03:00
|
|
|
go4.org v0.0.0-20180809161055-417644f6feb5
|
2024-02-13 02:03:43 +03:00
|
|
|
golang.org/x/crypto v0.19.0
|
2023-08-09 16:40:06 +03:00
|
|
|
golang.org/x/exp v0.0.0-20230809094429-853ea248256d
|
2024-01-12 01:58:07 +03:00
|
|
|
golang.org/x/image v0.15.0
|
2024-02-13 02:03:43 +03:00
|
|
|
golang.org/x/mod v0.15.0
|
|
|
|
golang.org/x/net v0.21.0
|
|
|
|
golang.org/x/oauth2 v0.17.0
|
2023-07-17 23:47:47 +03:00
|
|
|
golang.org/x/perf v0.0.0-20230717203022-1ba3a21238c9
|
2024-01-12 01:58:07 +03:00
|
|
|
golang.org/x/sync v0.6.0
|
2024-02-13 02:03:43 +03:00
|
|
|
golang.org/x/sys v0.17.0
|
|
|
|
golang.org/x/term v0.17.0
|
2023-11-27 21:31:24 +03:00
|
|
|
golang.org/x/time v0.5.0
|
2024-02-13 02:03:43 +03:00
|
|
|
golang.org/x/tools v0.18.0
|
2023-10-03 00:46:47 +03:00
|
|
|
google.golang.org/api v0.136.0
|
2023-08-08 20:23:51 +03:00
|
|
|
google.golang.org/appengine v1.6.8-0.20221117013220-504804fb50de
|
cmd/makemac: add full instance management to makemac
Currently makemac is extremely minimal, all it does is renew existing
leases. It does not attempt to detect broken leases or create new
leases. Over time as leases disappear for various reasons, the pool
slowly dwindles, and a human must come along and add new leases.
Extend makemac to perform complete lifecycle management. config.go
specifies the desired count of each image type, and makemac attempts
to maintain that many healthy leases.
There are several different ways that a lease may be unhealthy:
It may fail initial boot. If it fails to connect to the hypervisor,
MacService will automatically remove it eventually. If it connects to
the hypervisor, but not to LUCI, then it will appear healthy in
MacService but be missing from swarming.
It may succeed initial boot and successfully connect to LUCI, but
eventually freeze, crash, etc. This case will appears as a "dead" bot
on LUCI, and may or may not be automatically removed from MacService
depending on the nature of the freeze/crash.
makemac attempts to detect and handle all of these cases. For example,
if LUCI reports a bot as "dead", but MacService still reports it as
alive, makemac will destroy the lease.
Since makemac can now perform destructive actions, we need to add a
bit more safety. Leases created by makemac will set the MacService
lease "project name" to "makemac". The "project name" is effectively
just a tag on the lease. makemac will only operate on leases with the
"makemac" project. All other leases (such as those manually created by
a human) will be left alone.
Image updates can be performed by changing the image SHA in config.go.
handleObsoleteLeases will automatically destroy old leases using the
old image on the next run.
Change-Id: I9bc53cb5812784adbb5cacf9fb224d64d063c089
Reviewed-on: https://go-review.googlesource.com/c/build/+/562399
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-02-07 17:32:46 +03:00
|
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d
|
|
|
|
google.golang.org/grpc v1.59.0
|
2023-08-08 20:23:51 +03:00
|
|
|
google.golang.org/protobuf v1.31.0
|
2018-08-08 20:00:44 +03:00
|
|
|
gopkg.in/inf.v0 v0.9.1
|
2023-12-05 20:09:13 +03:00
|
|
|
rsc.io/github v0.3.0
|
2024-01-10 22:40:29 +03:00
|
|
|
rsc.io/markdown v0.0.0-20240117044121-669d2fdf1650
|
2018-08-08 20:00:44 +03:00
|
|
|
)
|
2021-11-11 20:33:27 +03:00
|
|
|
|
|
|
|
require (
|
2023-10-03 00:46:47 +03:00
|
|
|
cloud.google.com/go v0.110.7 // indirect
|
|
|
|
cloud.google.com/go/compute v1.23.0 // indirect
|
|
|
|
cloud.google.com/go/container v1.24.0 // indirect
|
|
|
|
cloud.google.com/go/iam v1.1.2 // indirect
|
|
|
|
cloud.google.com/go/longrunning v0.5.1 // indirect
|
|
|
|
cloud.google.com/go/monitoring v1.15.1 // indirect
|
|
|
|
cloud.google.com/go/trace v1.10.1 // indirect
|
2022-04-08 19:41:06 +03:00
|
|
|
github.com/aclements/go-moremath v0.0.0-20210112150236-f10218a38794 // indirect
|
2023-06-20 16:16:52 +03:00
|
|
|
github.com/andybalholm/brotli v1.0.4 // indirect
|
2021-11-11 20:33:27 +03:00
|
|
|
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be // indirect
|
2023-10-03 00:46:47 +03:00
|
|
|
github.com/apache/arrow/go/v12 v12.0.0 // indirect
|
2023-06-20 16:16:52 +03:00
|
|
|
github.com/apache/thrift v0.16.0 // indirect
|
2023-10-03 00:46:47 +03:00
|
|
|
github.com/bazelbuild/remote-apis v0.0.0-20230411132548-35aee1c4a425 // indirect
|
|
|
|
github.com/bazelbuild/remote-apis-sdks v0.0.0-20230809203756-67f2ffbec0ef // indirect
|
2021-11-11 20:33:27 +03:00
|
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
2023-06-20 16:16:52 +03:00
|
|
|
github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect
|
|
|
|
github.com/cespare/xxhash/v2 v2.2.0 // indirect
|
2022-03-17 22:51:40 +03:00
|
|
|
github.com/deepmap/oapi-codegen v1.8.2 // indirect
|
cmd/makemac: add full instance management to makemac
Currently makemac is extremely minimal, all it does is renew existing
leases. It does not attempt to detect broken leases or create new
leases. Over time as leases disappear for various reasons, the pool
slowly dwindles, and a human must come along and add new leases.
Extend makemac to perform complete lifecycle management. config.go
specifies the desired count of each image type, and makemac attempts
to maintain that many healthy leases.
There are several different ways that a lease may be unhealthy:
It may fail initial boot. If it fails to connect to the hypervisor,
MacService will automatically remove it eventually. If it connects to
the hypervisor, but not to LUCI, then it will appear healthy in
MacService but be missing from swarming.
It may succeed initial boot and successfully connect to LUCI, but
eventually freeze, crash, etc. This case will appears as a "dead" bot
on LUCI, and may or may not be automatically removed from MacService
depending on the nature of the freeze/crash.
makemac attempts to detect and handle all of these cases. For example,
if LUCI reports a bot as "dead", but MacService still reports it as
alive, makemac will destroy the lease.
Since makemac can now perform destructive actions, we need to add a
bit more safety. Leases created by makemac will set the MacService
lease "project name" to "makemac". The "project name" is effectively
just a tag on the lease. makemac will only operate on leases with the
"makemac" project. All other leases (such as those manually created by
a human) will be left alone.
Image updates can be performed by changing the image SHA in config.go.
handleObsoleteLeases will automatically destroy old leases using the
old image on the next run.
Change-Id: I9bc53cb5812784adbb5cacf9fb224d64d063c089
Reviewed-on: https://go-review.googlesource.com/c/build/+/562399
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-02-07 17:32:46 +03:00
|
|
|
github.com/felixge/httpsnoop v1.0.4 // indirect
|
2022-04-08 19:41:06 +03:00
|
|
|
github.com/fogleman/gg v1.3.0 // indirect
|
|
|
|
github.com/go-fonts/liberation v0.2.0 // indirect
|
2023-03-28 13:00:54 +03:00
|
|
|
github.com/go-kit/log v0.2.1 // indirect
|
2022-04-08 19:41:06 +03:00
|
|
|
github.com/go-latex/latex v0.0.0-20210823091927-c0d11ff05a81 // indirect
|
2023-03-28 13:00:54 +03:00
|
|
|
github.com/go-logfmt/logfmt v0.5.1 // indirect
|
cmd/makemac: add full instance management to makemac
Currently makemac is extremely minimal, all it does is renew existing
leases. It does not attempt to detect broken leases or create new
leases. Over time as leases disappear for various reasons, the pool
slowly dwindles, and a human must come along and add new leases.
Extend makemac to perform complete lifecycle management. config.go
specifies the desired count of each image type, and makemac attempts
to maintain that many healthy leases.
There are several different ways that a lease may be unhealthy:
It may fail initial boot. If it fails to connect to the hypervisor,
MacService will automatically remove it eventually. If it connects to
the hypervisor, but not to LUCI, then it will appear healthy in
MacService but be missing from swarming.
It may succeed initial boot and successfully connect to LUCI, but
eventually freeze, crash, etc. This case will appears as a "dead" bot
on LUCI, and may or may not be automatically removed from MacService
depending on the nature of the freeze/crash.
makemac attempts to detect and handle all of these cases. For example,
if LUCI reports a bot as "dead", but MacService still reports it as
alive, makemac will destroy the lease.
Since makemac can now perform destructive actions, we need to add a
bit more safety. Leases created by makemac will set the MacService
lease "project name" to "makemac". The "project name" is effectively
just a tag on the lease. makemac will only operate on leases with the
"makemac" project. All other leases (such as those manually created by
a human) will be left alone.
Image updates can be performed by changing the image SHA in config.go.
handleObsoleteLeases will automatically destroy old leases using the
old image on the next run.
Change-Id: I9bc53cb5812784adbb5cacf9fb224d64d063c089
Reviewed-on: https://go-review.googlesource.com/c/build/+/562399
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-02-07 17:32:46 +03:00
|
|
|
github.com/go-logr/logr v1.3.0 // indirect
|
2023-08-08 20:23:51 +03:00
|
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
2022-04-08 19:41:06 +03:00
|
|
|
github.com/go-pdf/fpdf v0.5.0 // indirect
|
2023-06-20 16:16:52 +03:00
|
|
|
github.com/goccy/go-json v0.9.11 // indirect
|
2022-04-08 19:41:06 +03:00
|
|
|
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
|
cmd/makemac: add full instance management to makemac
Currently makemac is extremely minimal, all it does is renew existing
leases. It does not attempt to detect broken leases or create new
leases. Over time as leases disappear for various reasons, the pool
slowly dwindles, and a human must come along and add new leases.
Extend makemac to perform complete lifecycle management. config.go
specifies the desired count of each image type, and makemac attempts
to maintain that many healthy leases.
There are several different ways that a lease may be unhealthy:
It may fail initial boot. If it fails to connect to the hypervisor,
MacService will automatically remove it eventually. If it connects to
the hypervisor, but not to LUCI, then it will appear healthy in
MacService but be missing from swarming.
It may succeed initial boot and successfully connect to LUCI, but
eventually freeze, crash, etc. This case will appears as a "dead" bot
on LUCI, and may or may not be automatically removed from MacService
depending on the nature of the freeze/crash.
makemac attempts to detect and handle all of these cases. For example,
if LUCI reports a bot as "dead", but MacService still reports it as
alive, makemac will destroy the lease.
Since makemac can now perform destructive actions, we need to add a
bit more safety. Leases created by makemac will set the MacService
lease "project name" to "makemac". The "project name" is effectively
just a tag on the lease. makemac will only operate on leases with the
"makemac" project. All other leases (such as those manually created by
a human) will be left alone.
Image updates can be performed by changing the image SHA in config.go.
handleObsoleteLeases will automatically destroy old leases using the
old image on the next run.
Change-Id: I9bc53cb5812784adbb5cacf9fb224d64d063c089
Reviewed-on: https://go-review.googlesource.com/c/build/+/562399
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-02-07 17:32:46 +03:00
|
|
|
github.com/golang/glog v1.1.2 // indirect
|
2023-03-28 13:00:54 +03:00
|
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
2023-08-08 20:23:51 +03:00
|
|
|
github.com/golang/mock v1.6.0 // indirect
|
2023-06-20 16:16:52 +03:00
|
|
|
github.com/golang/snappy v0.0.4 // indirect
|
|
|
|
github.com/google/flatbuffers v2.0.8+incompatible // indirect
|
2022-11-16 00:02:20 +03:00
|
|
|
github.com/google/go-querystring v1.1.0 // indirect
|
2023-06-20 16:16:52 +03:00
|
|
|
github.com/google/s2a-go v0.1.4 // indirect
|
2023-08-08 20:23:51 +03:00
|
|
|
github.com/googleapis/enterprise-certificate-proxy v0.2.5 // indirect
|
2024-01-06 00:06:26 +03:00
|
|
|
github.com/gorilla/websocket v1.5.0 // indirect
|
2021-11-11 20:33:27 +03:00
|
|
|
github.com/hashicorp/errwrap v1.0.0 // indirect
|
|
|
|
github.com/hashicorp/go-multierror v1.1.0 // indirect
|
2022-03-17 22:51:40 +03:00
|
|
|
github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839 // indirect
|
2021-11-11 20:33:27 +03:00
|
|
|
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
|
|
|
|
github.com/jackc/pgerrcode v0.0.0-20201024163028-a0d42d470451 // indirect
|
|
|
|
github.com/jackc/pgio v1.0.0 // indirect
|
|
|
|
github.com/jackc/pgpassfile v1.0.0 // indirect
|
2022-03-09 20:41:24 +03:00
|
|
|
github.com/jackc/pgproto3/v2 v2.2.0 // indirect
|
2021-11-11 20:33:27 +03:00
|
|
|
github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect
|
|
|
|
github.com/jackc/pgtype v1.8.1 // indirect
|
|
|
|
github.com/jackc/puddle v1.1.3 // indirect
|
|
|
|
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
2023-06-20 16:16:52 +03:00
|
|
|
github.com/klauspost/asmfmt v1.3.2 // indirect
|
2023-08-08 20:23:51 +03:00
|
|
|
github.com/klauspost/compress v1.16.7 // indirect
|
2023-06-20 16:16:52 +03:00
|
|
|
github.com/klauspost/cpuid/v2 v2.0.9 // indirect
|
cmd/makemac: add full instance management to makemac
Currently makemac is extremely minimal, all it does is renew existing
leases. It does not attempt to detect broken leases or create new
leases. Over time as leases disappear for various reasons, the pool
slowly dwindles, and a human must come along and add new leases.
Extend makemac to perform complete lifecycle management. config.go
specifies the desired count of each image type, and makemac attempts
to maintain that many healthy leases.
There are several different ways that a lease may be unhealthy:
It may fail initial boot. If it fails to connect to the hypervisor,
MacService will automatically remove it eventually. If it connects to
the hypervisor, but not to LUCI, then it will appear healthy in
MacService but be missing from swarming.
It may succeed initial boot and successfully connect to LUCI, but
eventually freeze, crash, etc. This case will appears as a "dead" bot
on LUCI, and may or may not be automatically removed from MacService
depending on the nature of the freeze/crash.
makemac attempts to detect and handle all of these cases. For example,
if LUCI reports a bot as "dead", but MacService still reports it as
alive, makemac will destroy the lease.
Since makemac can now perform destructive actions, we need to add a
bit more safety. Leases created by makemac will set the MacService
lease "project name" to "makemac". The "project name" is effectively
just a tag on the lease. makemac will only operate on leases with the
"makemac" project. All other leases (such as those manually created by
a human) will be left alone.
Image updates can be performed by changing the image SHA in config.go.
handleObsoleteLeases will automatically destroy old leases using the
old image on the next run.
Change-Id: I9bc53cb5812784adbb5cacf9fb224d64d063c089
Reviewed-on: https://go-review.googlesource.com/c/build/+/562399
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-02-07 17:32:46 +03:00
|
|
|
github.com/kr/text v0.2.0 // indirect
|
2021-11-11 20:33:27 +03:00
|
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
|
2023-06-20 16:16:52 +03:00
|
|
|
github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8 // indirect
|
|
|
|
github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3 // indirect
|
2023-08-08 20:23:51 +03:00
|
|
|
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
2023-10-03 00:46:47 +03:00
|
|
|
github.com/mostynb/zstdpool-syncpool v0.0.12 // indirect
|
|
|
|
github.com/pborman/uuid v1.2.1 // indirect
|
2023-06-20 16:16:52 +03:00
|
|
|
github.com/pierrec/lz4/v4 v4.1.15 // indirect
|
2022-03-17 22:51:40 +03:00
|
|
|
github.com/pkg/errors v0.9.1 // indirect
|
2023-10-03 00:46:47 +03:00
|
|
|
github.com/pkg/xattr v0.4.9 // indirect
|
2023-03-28 13:00:54 +03:00
|
|
|
github.com/prometheus/client_golang v1.13.0 // indirect
|
2021-11-11 20:33:27 +03:00
|
|
|
github.com/prometheus/client_model v0.2.0 // indirect
|
2023-03-28 13:00:54 +03:00
|
|
|
github.com/prometheus/common v0.37.0 // indirect
|
|
|
|
github.com/prometheus/procfs v0.8.0 // indirect
|
|
|
|
github.com/prometheus/statsd_exporter v0.22.7 // indirect
|
2021-11-15 21:03:02 +03:00
|
|
|
github.com/sendgrid/rest v2.6.9+incompatible // indirect
|
2022-05-25 00:17:20 +03:00
|
|
|
github.com/shurcooL/graphql v0.0.0-20220520033453-bdb1221e171e // indirect
|
2023-08-08 20:23:51 +03:00
|
|
|
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
|
2023-06-20 16:16:52 +03:00
|
|
|
github.com/zeebo/xxh3 v1.0.2 // indirect
|
cmd/makemac: add full instance management to makemac
Currently makemac is extremely minimal, all it does is renew existing
leases. It does not attempt to detect broken leases or create new
leases. Over time as leases disappear for various reasons, the pool
slowly dwindles, and a human must come along and add new leases.
Extend makemac to perform complete lifecycle management. config.go
specifies the desired count of each image type, and makemac attempts
to maintain that many healthy leases.
There are several different ways that a lease may be unhealthy:
It may fail initial boot. If it fails to connect to the hypervisor,
MacService will automatically remove it eventually. If it connects to
the hypervisor, but not to LUCI, then it will appear healthy in
MacService but be missing from swarming.
It may succeed initial boot and successfully connect to LUCI, but
eventually freeze, crash, etc. This case will appears as a "dead" bot
on LUCI, and may or may not be automatically removed from MacService
depending on the nature of the freeze/crash.
makemac attempts to detect and handle all of these cases. For example,
if LUCI reports a bot as "dead", but MacService still reports it as
alive, makemac will destroy the lease.
Since makemac can now perform destructive actions, we need to add a
bit more safety. Leases created by makemac will set the MacService
lease "project name" to "makemac". The "project name" is effectively
just a tag on the lease. makemac will only operate on leases with the
"makemac" project. All other leases (such as those manually created by
a human) will be left alone.
Image updates can be performed by changing the image SHA in config.go.
handleObsoleteLeases will automatically destroy old leases using the
old image on the next run.
Change-Id: I9bc53cb5812784adbb5cacf9fb224d64d063c089
Reviewed-on: https://go-review.googlesource.com/c/build/+/562399
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-02-07 17:32:46 +03:00
|
|
|
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.1 // indirect
|
|
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.46.1 // indirect
|
|
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 // indirect
|
|
|
|
go.opentelemetry.io/otel v1.21.0 // indirect
|
|
|
|
go.opentelemetry.io/otel/metric v1.21.0 // indirect
|
|
|
|
go.opentelemetry.io/otel/trace v1.21.0 // indirect
|
2023-08-08 20:23:51 +03:00
|
|
|
go.uber.org/atomic v1.10.0 // indirect
|
2023-11-09 01:58:57 +03:00
|
|
|
golang.org/x/text v0.14.0 // indirect
|
2023-04-20 20:11:27 +03:00
|
|
|
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
|
2022-04-08 19:41:06 +03:00
|
|
|
gonum.org/v1/plot v0.10.0 // indirect
|
cmd/makemac: add full instance management to makemac
Currently makemac is extremely minimal, all it does is renew existing
leases. It does not attempt to detect broken leases or create new
leases. Over time as leases disappear for various reasons, the pool
slowly dwindles, and a human must come along and add new leases.
Extend makemac to perform complete lifecycle management. config.go
specifies the desired count of each image type, and makemac attempts
to maintain that many healthy leases.
There are several different ways that a lease may be unhealthy:
It may fail initial boot. If it fails to connect to the hypervisor,
MacService will automatically remove it eventually. If it connects to
the hypervisor, but not to LUCI, then it will appear healthy in
MacService but be missing from swarming.
It may succeed initial boot and successfully connect to LUCI, but
eventually freeze, crash, etc. This case will appears as a "dead" bot
on LUCI, and may or may not be automatically removed from MacService
depending on the nature of the freeze/crash.
makemac attempts to detect and handle all of these cases. For example,
if LUCI reports a bot as "dead", but MacService still reports it as
alive, makemac will destroy the lease.
Since makemac can now perform destructive actions, we need to add a
bit more safety. Leases created by makemac will set the MacService
lease "project name" to "makemac". The "project name" is effectively
just a tag on the lease. makemac will only operate on leases with the
"makemac" project. All other leases (such as those manually created by
a human) will be left alone.
Image updates can be performed by changing the image SHA in config.go.
handleObsoleteLeases will automatically destroy old leases using the
old image on the next run.
Change-Id: I9bc53cb5812784adbb5cacf9fb224d64d063c089
Reviewed-on: https://go-review.googlesource.com/c/build/+/562399
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-02-07 17:32:46 +03:00
|
|
|
google.golang.org/genproto v0.0.0-20230822172742-b8732ec3820d // indirect
|
2023-10-03 00:46:47 +03:00
|
|
|
google.golang.org/genproto/googleapis/bytestream v0.0.0-20230807174057-1744710a1577 // indirect
|
cmd/makemac: add full instance management to makemac
Currently makemac is extremely minimal, all it does is renew existing
leases. It does not attempt to detect broken leases or create new
leases. Over time as leases disappear for various reasons, the pool
slowly dwindles, and a human must come along and add new leases.
Extend makemac to perform complete lifecycle management. config.go
specifies the desired count of each image type, and makemac attempts
to maintain that many healthy leases.
There are several different ways that a lease may be unhealthy:
It may fail initial boot. If it fails to connect to the hypervisor,
MacService will automatically remove it eventually. If it connects to
the hypervisor, but not to LUCI, then it will appear healthy in
MacService but be missing from swarming.
It may succeed initial boot and successfully connect to LUCI, but
eventually freeze, crash, etc. This case will appears as a "dead" bot
on LUCI, and may or may not be automatically removed from MacService
depending on the nature of the freeze/crash.
makemac attempts to detect and handle all of these cases. For example,
if LUCI reports a bot as "dead", but MacService still reports it as
alive, makemac will destroy the lease.
Since makemac can now perform destructive actions, we need to add a
bit more safety. Leases created by makemac will set the MacService
lease "project name" to "makemac". The "project name" is effectively
just a tag on the lease. makemac will only operate on leases with the
"makemac" project. All other leases (such as those manually created by
a human) will be left alone.
Image updates can be performed by changing the image SHA in config.go.
handleObsoleteLeases will automatically destroy old leases using the
old image on the next run.
Change-Id: I9bc53cb5812784adbb5cacf9fb224d64d063c089
Reviewed-on: https://go-review.googlesource.com/c/build/+/562399
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-02-07 17:32:46 +03:00
|
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d // indirect
|
2021-11-11 20:33:27 +03:00
|
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
|
|
)
|