Skip to content

Commit

Permalink
APIGOV-28713 - add agent name in build args
Browse files Browse the repository at this point in the history
  • Loading branch information
jcollins-axway committed Sep 6, 2024
1 parent 8c6a734 commit 6c48270
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ build-discovery:
-ldflags="-X 'github.com/Axway/agent-sdk/pkg/cmd.BuildTime=${TIME}' \
-X 'github.com/Axway/agent-sdk/pkg/cmd.BuildVersion=${VERSION}' \
-X 'github.com/Axway/agent-sdk/pkg/cmd.BuildCommitSha=${COMMIT_ID}' \
-X 'github.com/Axway/agent-sdk/pkg/cmd.SDKBuildVersion=${SDK_VERSION}'" \
-X 'github.com/Axway/agent-sdk/pkg/cmd.SDKBuildVersion=${SDK_VERSION}' \
-X 'github.com/Axway/agent-sdk/pkg/cmd.BuildAgentName=MulesoftDiscoveryAgent'" \
-o bin/discovery ./cmd/discovery/main.go
@echo "discovery agent binary placed at bin/discovery"

Expand All @@ -69,7 +70,8 @@ build-traceability:
-ldflags="-X 'github.com/Axway/agent-sdk/pkg/cmd.BuildTime=${TIME}' \
-X 'github.com/Axway/agent-sdk/pkg/cmd.BuildVersion=${VERSION}' \
-X 'github.com/Axway/agent-sdk/pkg/cmd.BuildCommitSha=${COMMIT_ID}' \
-X 'github.com/Axway/agent-sdk/pkg/cmd.SDKBuildVersion=${SDK_VERSION}'" \
-X 'github.com/Axway/agent-sdk/pkg/cmd.SDKBuildVersion=${SDK_VERSION}' \
-X 'github.com/Axway/agent-sdk/pkg/cmd.BuildAgentName=MulesoftTraceabilityAgent'" \
-o bin/traceability ./cmd/traceability/main.go
@echo "traceability agent binary placed at bin/traceability"

Expand Down

0 comments on commit 6c48270

Please sign in to comment.