Repository navigation
Use goreleaser to cross-compile and release - #31
Conversation
| "./modules/workflow", | ||
| "./modules/istio", | ||
| "./modules/vendor" | ||
| "./modules/vendor-command" |
There was a problem hiding this comment.
why did we move vendor to vendor-command (I don't recollect that) ?
There was a problem hiding this comment.
Nuru (@Nuru) told me it's because:
The build copies the entire source folder into the binary, so the source folder should be as small as possible.
There was a problem hiding this comment.
oh, this is different though. I don't know why we're doing that here. Then we should have helm-command, terraform-command, etc. I'd rather not change this. Or if we must, call it vendir
There was a problem hiding this comment.
Andriy Knysh (@aknysh) Erik Osterman (Cloud Posse) (@osterman) The folder name vendor is reserved by Go for local copies of external dependencies. It causes a world of hurt to have a folder named vendor in any project that includes Go code. (It has even caused problems in cloudposse/packages)
I thought it better to rename it vendor-command but I have no problem with calling it vendir if you prefer. LMK.
There was a problem hiding this comment.
Ok, let's call it vendir. That is more accurate anyways
| "git::https://[email protected]/cloudposse/atmos@atmos/modules/utils?ref=master", | ||
| "git::https://[email protected]/cloudposse/atmos@atmos/modules/shell?ref=master", | ||
| "git::https://[email protected]/cloudposse/atmos@atmos/modules/kubeconfig?ref=master", | ||
| "git::https://[email protected]/cloudposse/atmos@atmos/modules/terraform?ref=master", | ||
| "git::https://[email protected]/cloudposse/atmos@atmos/modules/helmfile?ref=master", | ||
| "git::https://[email protected]/cloudposse/atmos@atmos/modules/helm?ref=master", | ||
| "git::https://[email protected]/cloudposse/atmos@atmos/modules/workflow?ref=master", | ||
| "git::https://[email protected]/cloudposse/atmos@atmos/modules/istio?ref=master", | ||
| "git::https://[email protected]/cloudposse/atmos@atmos/modules/vendor?ref=master" |
There was a problem hiding this comment.
Nuru (@Nuru) said this change was made because:
The build copies the entire source folder into the binary, so the source folder should be as small as possible.
But why does atmos/ not get included, but modules/ get included?
There was a problem hiding this comment.
atmos gets included. The issue before was that main.variant was at the top level, so everything in the repo was being included in the build. Now main.variant is in atmos/, which only includes the Variant code.
what
why
notes
syscallink-kinzal/[email protected]being undefined, so we are not yet distributing Windows binariesreferences