Carry #27834 — Do not require .git in the build context#28473
Carry #27834 — Do not require .git in the build context#28473vdemeester wants to merge 2 commits intomoby:masterfrom
.git in the build context#28473Conversation
|
Hum, I really don't know why we're not using |
.dockerignore
Outdated
There was a problem hiding this comment.
Just a thought: I think this directory should be removed and unified to the top-level bundle directory, but probably it should be another PR
IIRC, it was a security concern -- if the CI were using the |
|
@tianon hum I see 😓 |
|
Waiting for the 1.13 release to update CI… I wouldn't want to break anything right now 👼 |
e2b4ba8 to
163bd65
Compare
Signed-off-by: John Howard <jhoward@microsoft.com>
- export DOCKER_GITCOMMIT in the Makefile - prioritize DOCKER_GITCOMMIT against the `git` command in `./hack/make.sh` - Also add `integration-cli/bundles` to gitignore (it's generated when using integration-cli shell) Signed-off-by: Vincent Demeester <vincent@sbr.pm>
163bd65 to
3e9f248
Compare
|
@vdemeester Is it ok to close this one until 1.13.0 is out of the door? |
|
Right, I'll reopen a little bit later 👼 |
Carry #27834 and hopefully fixes builds 👼.
.gitto.dockerignoregitcommand in./hack/make.shintegration-cli/bundlesto gitignore (it's generated whenusing integration-cli shell)
Note that, on my laptop for example, I'm sending
30Mof context with this, and150Mwithout 🙀, so I really think this can be a huge win 👼/cc @tianon @jhowardmsft @icecrime @thaJeztah @cpuguy83
🐸