-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
31 changed files
with
2,743 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# not relevant to the way grpc is used in fabconnect | ||
# see https://github.com/hyperledger/firefly-fabconnect/pull/123#discussion_r1543748524 | ||
GHSA-m425-mq94-257g |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ TESTED_INTERNALS := $(shell go list ./internal/... | grep -v test | grep -v kafk | |
TESTED_CMD := $(shell go list ./cmd/...) | ||
COVERPKG_INTERNALS = $(shell go list ./internal/... | grep -v test | grep -v kafka | tr "\n" ",") | ||
COVERPKG_CMD = $(shell go list ./cmd/... | tr "\n" ",") | ||
# Expect that FireFly compiles with CGO disabled | ||
# Expect that FireFly-FabConnect compiles with CGO disabled | ||
CGO_ENABLED=0 | ||
GOGC=30 | ||
.DELETE_ON_ERROR: | ||
|
@@ -20,13 +20,15 @@ lint: ${LINT} | |
GOGC=20 $(LINT) run -v --timeout 5m | ||
${LINT}: | ||
$(VGO) install github.com/golangci/golangci-lint/cmd/[email protected] | ||
firefly-nocgo: ${GOFILES} | ||
firefly-fabconnect-nocgo: ${GOFILES} | ||
CGO_ENABLED=0 $(VGO) build -o ${BINARY_NAME}-nocgo -ldflags "-X main.buildDate=`date -u +\"%Y-%m-%dT%H:%M:%SZ\"` -X main.buildVersion=$(BUILD_VERSION)" -tags=prod -tags=prod -v | ||
firefly: ${GOFILES} | ||
firefly-fabconnect: ${GOFILES} | ||
$(VGO) build -o ${BINARY_NAME} -ldflags "-X main.buildDate=`date -u +\"%Y-%m-%dT%H:%M:%SZ\"` -X main.buildVersion=$(BUILD_VERSION)" -tags=prod -tags=prod -v | ||
go-mod-tidy: .ALWAYS | ||
go mod tidy | ||
build: firefly-nocgo firefly | ||
docker: | ||
docker build --build-arg BASE_IMAGE=alpine:3.19 --build-arg BUILD_IMAGE=golang:1.21-alpine3.19 -t hyperledger/firefly-fabconnect . | ||
build: firefly-fabconnect-nocgo firefly-fabconnect | ||
.ALWAYS: ; | ||
clean: | ||
$(VGO) clean | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.