x/build/cmd/tip: deploy instructions for talks.golang.org are non-functional #38120
Labels
Builders
x/build issues (builders, bots, dashboards)
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
(Factoring this out from #36825 to describe this problem in more detail, without derailing the higher level decision in that issue.)
The deploy instructions for talks.golang.org that are in the x/cmd/tip README have become outdated and cannot be used today.
Doing
gcloud --project golang-org app deploy --no-promote talks.yaml
in x/build/cmd/tip directory results in:That is easily fixable with:
The next problem is that the
Dockerfile
in x/build/cmd/tip directory was modified in CL 176257 with the assumption that it would be called with the x/build root directory as the working directory. That CL modifiedcmd/tip/Makefile
like this:However, that's not compatible with the App Engine-based deploy for talks.golang.org, because doing
gcloud app deploy
in x/build/cmd/tip causes Cloud Build to try to run Dockerfile with x/build/cmd/tip as the working directory, so statements likeCOPY go.mod /go/src/golang.org/x/build/go.mod
produce errors:/cc @cagedmantis @toothrot @andybons
The text was updated successfully, but these errors were encountered: