-
Notifications
You must be signed in to change notification settings - Fork 18k
x/build/app/appengine: deploying with dirty working tree affects the deploy #34936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Docs worked when I deployed last, on Oct 8. I use Is your I'm trying a
|
Change https://golang.org/cl/201477 mentions this issue: |
I did have an empty file
Versions:
|
That's very strange. The deploy took 2~ minutes for me when I tried it just now. The error is similar to an issue we had when deploying the playground was taking too long, and hitting that time limit. See #28046. You can try increasing the cloud build timeout with Looking at the cloud build log mentioned in your output, it just says:
Compare with my earlier successful build (https://console.cloud.google.com/cloud-build/builds/65043963-4de2-4a3d-bf06-9862eace8b0b?project=golang-org):
Not a lot of relevant detail here. Maybe it was a flake, so try again? |
I can't wait for #34744 to delete all this. |
Ah, I did have some extra files in git status. It was an unknown directory I thought was harmless but it had some huge iso/disk images in it. That didn't matter prior to the GO111MODULE=on addition. Now I guess we upload everything to The Cloud, rather than just the relevant files. Maybe I'll add a sanity check step in there to look for big unknown files. |
Yeah, GO111MODULE=on makes I think there are ways to ignore certain files or directories from being included, for example via |
@dmitshur, the |
I ran into this today too. I couldn't deploy
I had a "clean working tree" as reported by
In my case, it was trying to deploy more than 1 GB of unwanted binary data. I've opened #36553 to either remove |
having a shared go.mod file causes unpredictable deploys. best to have a separate .mod file in each app engine app.yaml folder |
Following the instructions at https://github.com/golang/build/tree/master/app/appengine#deploying I can no longer deploy:
What changed?
Docs old?
/cc @toothrot @dmitshur @bcmills @andybons
The text was updated successfully, but these errors were encountered: