Skip to content

Commit

Permalink
Dev script needs to build cli for controller update
Browse files Browse the repository at this point in the history
  • Loading branch information
manno committed Jul 5, 2024
1 parent dd45c7a commit 25146a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion dev/update-agent-k3d
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export GOARCH="${GOARCH:-amd64}"
export CGO_ENABLED=0

# fleet agent
go build -gcflags='all=-N -l' -o "bin/fleet-linux-$GOARCH" ./cmd/fleetcli
go build -gcflags='all=-N -l' -o "bin/fleetagent-linux-$GOARCH" ./cmd/fleetagent
docker build -f package/Dockerfile.agent -t rancher/fleet-agent:dev --build-arg="ARCH=$GOARCH" .

Expand Down
1 change: 1 addition & 0 deletions dev/update-controller-k3d
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export CGO_ENABLED=0

# fleetcontroller
go build -gcflags='all=-N -l' -o bin/fleetcontroller-linux-"$GOARCH" ./cmd/fleetcontroller
go build -gcflags='all=-N -l' -o "bin/fleet-linux-$GOARCH" ./cmd/fleetcli
docker build -f package/Dockerfile -t rancher/fleet:dev --build-arg="ARCH=$GOARCH" .

fleet_ctx=$(kubectl config current-context)
Expand Down

0 comments on commit 25146a3

Please sign in to comment.