File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ jobs:
129
129
files : |
130
130
dist/kubectl-argo-rollouts-linux-amd64
131
131
dist/kubectl-argo-rollouts-darwin-amd64
132
+ dist/kubectl-argo-rollouts-windows-amd64
132
133
manifests/install.yaml
133
134
manifests/namespace-install.yaml
134
135
env :
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ RUN touch ui/dist/node_modules.marker && \
63
63
touch ui/dist/app/index.html && \
64
64
find ui/dist
65
65
66
- ARG MAKE_TARGET="controller plugin-linux plugin-darwin"
66
+ ARG MAKE_TARGET="controller plugin-linux plugin-darwin plugin-windows "
67
67
RUN make ${MAKE_TARGET}
68
68
69
69
# ###################################################################################################
Original file line number Diff line number Diff line change @@ -197,6 +197,11 @@ plugin-darwin: ui/dist
197
197
cp -r ui/dist/app/* server/static
198
198
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -v -i -ldflags ' ${LDFLAGS}' -o ${DIST_DIR} /${PLUGIN_CLI_NAME} -darwin-amd64 ./cmd/kubectl-argo-rollouts
199
199
200
+ .PHONY : plugin-windows
201
+ plugin-windows : ui/dist
202
+ cp -r ui/dist/app/* server/static
203
+ CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -v -i -ldflags ' ${LDFLAGS}' -o ${DIST_DIR} /${PLUGIN_CLI_NAME} -windows-amd64 ./cmd/kubectl-argo-rollouts
204
+
200
205
.PHONY : docs
201
206
docs :
202
207
go run ./hack/gen-docs/main.go
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ docker build --iidfile ${rollout_iid_file} --target argo-rollouts-build .
10
10
rollout_iid=$( cat ${rollout_iid_file} )
11
11
container_id=$( docker create ${rollout_iid} )
12
12
13
- for plat in linux-amd64 darwin-amd64 ; do
13
+ for plat in linux-amd64 darwin-amd64 windows-amd64 ; do
14
14
docker cp ${container_id} :/go/src/github.com/argoproj/argo-rollouts/dist/kubectl-argo-rollouts-${plat} ${SRCROOT} /dist
15
15
done
16
16
docker rm -v ${container_id}
You can’t perform that action at this time.
0 commit comments