-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
CCAAS Builders #3315
CCAAS Builders #3315
Conversation
resolves issue #3286 |
d93f22b
to
edab0fa
Compare
/ci-run |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
4b9d638
to
2a4bf8e
Compare
@denyeart this is good for review :-) |
@@ -18,5 +18,7 @@ if [ "$(jq -r .type "$META/metadata.json")" == "binary" ]; then | |||
exit 0 | |||
fi | |||
|
|||
>&2 cat $META/metadata.json |
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.
Did you mean to leave this in?
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.
well I didn't but then it was useful in debugging - as later on the peer lies about what the language really is.
(i.e. it toUpperCase() the language - so I first assumed the packaging of the contract was wrong
- adjust the makefile to have targets for linux-amd64/darwin-amd64/windows-amd64 - adjust the packaging as suggested in issue 3286 Signed-off-by: Matthew B White <[email protected]>
2a4bf8e
to
bddef47
Compare
@Mergifyio backport release-2.5 |
@Mergifyio backport release-2.4 |
✅ Backports have been created
|
✅ Backports have been created
|
After hyperledger#3315 was merged, the -buildvcs=false flag was mistakenly removed, this commit fixes the change and adds it back. Signed-off-by: Artem Barger <[email protected]>
After #3315 was merged, the -buildvcs=false flag was mistakenly removed, this commit fixes the change and adds it back. Signed-off-by: Artem Barger <[email protected]>
After #3315 was merged, the -buildvcs=false flag was mistakenly removed, this commit fixes the change and adds it back. Signed-off-by: Artem Barger <[email protected]> (cherry picked from commit dcaf2b2)
After #3315 was merged, the -buildvcs=false flag was mistakenly removed, this commit fixes the change and adds it back. Signed-off-by: Artem Barger <[email protected]> (cherry picked from commit dcaf2b2)
After #3315 was merged, the -buildvcs=false flag was mistakenly removed, this commit fixes the change and adds it back. Signed-off-by: Artem Barger <[email protected]> (cherry picked from commit dcaf2b2)
After #3315 was merged, the -buildvcs=false flag was mistakenly removed, this commit fixes the change and adds it back. Signed-off-by: Artem Barger <[email protected]> (cherry picked from commit dcaf2b2)
* Add -buildvcs=false for ccaasbuilder After #3315 was merged, the -buildvcs=false flag was mistakenly removed, this commit fixes the change and adds it back. Signed-off-by: Artem Barger <[email protected]> * Enable compilation on linux/arm64 platforms While building the peer docker image the location of the ccaasbuilder binaries was hardcoded into the Dockerfile, though the output directory is platform dependent. Therefore this commit suggest two changes: 1. Prepare binary location based on the architecture and copy them into the temporal location, hence it will become possible to generalize file location inside Dockerfile 2. Suggest static binaries compilation, to include all dependent libraries in compile time, turns out there are different set of libraries between alpine:${ALPINE_VER} and golang:${GO_VER}-alpine${ALPINE_VER} docker images which cause peer to segfault on ARM64 based platforms. Signed-off-by: Artem Barger <[email protected]>
Signed-off-by: Matthew B White [email protected]
Type of change
Description
Additional details
Related issues