image-automation-controller/hack
Sanskar Jaiswal a348d9f394 Upgrade libgit2 and fix static builds
* Bump to golang-with-libgit2:1.1.1.6 to speed up build time when cross compiling. Previous version was compiling in emulation mode instead, which added +10x overhead.
* Ensure that make test is executed against the exact same libraries that will be shipped on the built image.
* Simplify Makefile to reduce its complexity.
* Libgit2 behaviour:
    linux-amd64 download static libraries from the official container image.
    linux-arm64 on top of the above, requires static musl tool chain (automatically downloaded).
    darwin-amd64 and darwin-arm64 download universal static libraries for darwin from https://github.com/fluxcd/golang-with-libgit2 releases.

Co-authored-by: Paulo Gomes <paulo.gomes@weave.works>
Signed-off-by: Sanskar Jaiswal <sanskar.jaiswal@weave.works>
2022-02-10 16:28:41 +05:30
..
api-docs Generate docs for v1alpha2 2021-04-13 11:01:45 +01:00
boilerplate.go.txt Change copyright to Flux authors 2020-10-27 17:57:31 +01:00
download-musl.sh Upgrade libgit2 and fix static builds 2022-02-10 16:28:41 +05:30
extract-libraries.sh Update test to run against static libraries 2022-01-28 09:35:20 +00:00
install-libraries.sh Upgrade libgit2 and fix static builds 2022-02-10 16:28:41 +05:30
update-attributions.sh Add attributions for dependencies and their license details 2022-01-28 09:35:16 +00:00