-
Notifications
You must be signed in to change notification settings - Fork 47
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
Allow using mender-artifact without cgo
#605
Conversation
@alfrunes, Let me know if you want to start the integration pipeline by mentioning me and the command "start pipeline". my commands and optionsYou can trigger a pipeline on multiple prs with:
You can start a fast pipeline, disabling full integration tests with:
You can trigger GitHub->GitLab branch sync with:
You can cherry pick to a given branch or branches with:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pre-approving, but see comments below.
@mender-test-bot start pipeline |
Hello 😺 I created a pipeline for you here: Pipeline-1269333209 Build Configuration Matrix
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you 🏅
@mender-test-bot start pipeline |
Hello 😺 I created a pipeline for you here: Pipeline-1271644953 Build Configuration Matrix
|
Makefile
Outdated
fi; \ | ||
done | ||
rm -f coverage-tmp.txt | ||
go test -tags '$(TAGS)' -covermode=atomic -coverprofile=coverage.txt ./... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that this is the reason for the coverage drop. I don't remember the details, but I looked in this years ago and ended up concluding that it is necessary to do package by package 🤷♂️
Because of the openssl PKCS11 dependency, it's not possible to compile mender-artifact without `cgo` enabled. Signed-off-by: Alf-Rune Siqveland <alf.rune@northern.tech>
Adds pure Go lzma compression library if compiled without `cgo` enabled. Signed-off-by: Alf-Rune Siqveland <alf.rune@northern.tech>
Signed-off-by: Alf-Rune Siqveland <alf.rune@northern.tech>
Signed-off-by: Alf-Rune Siqveland <alf.rune@northern.tech>
Signed-off-by: Alf-Rune Siqveland <alf.rune@northern.tech>
@mender-test-bot start pipeline |
Hello 😺 I created a pipeline for you here: Pipeline-1279567938 Build Configuration Matrix
|
Adds coverage accross package boundaries. Signed-off-by: Alf-Rune Siqveland <alf.rune@northern.tech>
The binary tree matcher is far too slow for github.com/ulikunitz/xz Signed-off-by: Alf-Rune Siqveland <alf.rune@northern.tech>
@mender-test-bot start pipeline |
Hello 😺 I created a pipeline for you here: Pipeline-1280060584 Build Configuration Matrix
|
Turns out that the BinaryTree matcher for the new lzma implementation (github.com/ulikunitz/xz) seems to be hanging when compressing objects. I changed the default config to use HashTable4 (hc4 in xz(1)) instead. |
lzma
withcgo
disabledpkcs11
if built withnopkcs11
build tag.