Currently running trybots for x/playground produces this:
https://storage.googleapis.com/go-build-log/2d26a65f/linux-amd64_e35969e6.log
Add Playground to build.golang.org.
Make builders be able to test Playground in the its docker container.
You should also add it to build.golang.org :smile:
@andybons, is there any good doc describing how trybots work besides https://go.googlesource.com/build/ ?
Good question. @bradfitz ?
Nope, not besides reading the coordinator code. But this is not a good starter project.
Something is not clear. We have to test Playground via it's docker container. But where should we run that? I think it does not make much sense to run it on many platforms. Also I fail to find repos tests in similar fashion, but running not a go test ./... but rather docker container which will take more than 10 minutes to build from scratch. I will dig further a bit later...
Yes, we have no way to do this right now. That's why it's not a good starter project. This will be a lot of work and require a number of changes across our build system.
Rough outline, though:
misc-playground builder (similar to misc-compile-*).exec.Command("docker", "build") etc if os.Getenv("GO_BUILDER_NAME") == "misc-playground"We just open sourced a tool today to make docker build on kubernetes less of a mess: github.com/GoogleCloudPlatform/kaniko
Resolving this issue should be easier now compared to 2018 for at least one reason: thanks to the module mirror, additional non-golang.org/x dependencies will no longer be a problem for the builders/trybots to fetch.
I'm not if something Docker-related also needs to be done, but @toothrot may have more context.
/cc @toothrot @findleyr
The integration tests changed in #25224 to require two docker containers running in a docker network, and also require the ability to run runsc, which requires root. I have a few ideas on how we can get good coverage, but in the current state the TryBots and the Playground's test setup will require a little work.
Most helpful comment
Rough outline, though:
misc-playgroundbuilder (similar tomisc-compile-*).exec.Command("docker", "build")etc ifos.Getenv("GO_BUILDER_NAME") == "misc-playground"