From 25146a3de0669ee2124ed67f7155cbc2a44db670 Mon Sep 17 00:00:00 2001 From: Mario Manno Date: Thu, 4 Jul 2024 16:59:02 +0200 Subject: [PATCH] Dev script needs to build cli for controller update --- dev/update-agent-k3d | 1 - dev/update-controller-k3d | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/update-agent-k3d b/dev/update-agent-k3d index dfd621ec1e..cabcddd638 100755 --- a/dev/update-agent-k3d +++ b/dev/update-agent-k3d @@ -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" . diff --git a/dev/update-controller-k3d b/dev/update-controller-k3d index f88e3692e8..daf725b8f9 100755 --- a/dev/update-controller-k3d +++ b/dev/update-controller-k3d @@ -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)