File tree Expand file tree Collapse file tree 18 files changed +31
-442
lines changed Expand file tree Collapse file tree 18 files changed +31
-442
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,15 @@ jobs:
1818 - name : Set up Go
1919 uses : actions/setup-go@v3
2020 with :
21- go-version : 1.17
21+ go-version : 1.19
2222 - name : Check version
2323 run : |
2424 cat VERSION.txt | grep ${{ github.ref_name }}
2525 - name : Build project
2626 run : |
2727 make build-bin
2828 - name : Release
29- uses : softprops/action-gh-release@v0.1.5
29+ uses : softprops/action-gh-release@v1
3030 env :
3131 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3232 with :
Original file line number Diff line number Diff line change 1616 - name : Set up Go
1717 uses : actions/setup-go@v3
1818 with :
19- go-version : 1.17
19+ go-version : 1.19
2020 - name : verify
2121 run : make verify
2222
2727 - name : Set up Go
2828 uses : actions/setup-go@v3
2929 with :
30- go-version : 1.17
30+ go-version : 1.19
3131 - name : Integration Tests
3232 run : make test-integration
3333
3939 - name : Set up Go
4040 uses : actions/setup-go@v3
4141 with :
42- go-version : 1.17
42+ go-version : 1.19
4343
4444 - name : E2E Tests
4545 run : make test-e2e
Original file line number Diff line number Diff line change 11[ comment ] : # ( Copyright Contributors to the Open Cluster Management project )
22# Release Content
33## Additions
4- - [ refactor join command and add preflight check] ( https://github.com/open-cluster-management-io/clusteradm/pull/291 ) @ycyaoxdu
5- - [ add output option: json] ( https://github.com/open-cluster-management-io/clusteradm/pull/288 ) @ycyaoxdu
64
75## Breaking Changes
8- - [ Add addon OWNERS files] ( https://github.com/open-cluster-management-io/clusteradm/pull/301 ) @dhaiducek
96
107## Changes
11- - [ Update the Policy CRD to contain the spec.copyPolicyMetadata field] ( https://github.com/open-cluster-management-io/clusteradm/pull/305 ) @mprahl
12- - [ upgrade github action] ( https://github.com/open-cluster-management-io/clusteradm/pull/293 ) @ycyaoxdu
13- - [ Update klusterlet crd] ( https://github.com/open-cluster-management-io/clusteradm/pull/290 ) @zhujian7
14- - [ Update some policy crds to improve field descriptions] ( https://github.com/open-cluster-management-io/clusteradm/pull/286 ) @gparvin
8+ - [ Unify help text for --bundle-version ] ( https://github.com/open-cluster-management-io/clusteradm/pull/311 ) @nirs
9+ - [ Refine --bundle-version help] ( https://github.com/open-cluster-management-io/clusteradm/pull/312 ) @nirs
10+ - [ Upgrade to golang 1.19] ( https://github.com/open-cluster-management-io/clusteradm/pull/312 ) @qiujian16
1511
1612## Bug Fixes
17- - [ Fix: warning when klusterletApiServer doesn't start with https://] ( https://github.com/open-cluster-management-io/clusteradm/pull/297 ) @xuezhaojun
18- - [ Fix: preflight check should return no error when configmap cluster-info not exist.] ( https://github.com/open-cluster-management-io/clusteradm/pull/296 ) @xuezhaojun
13+
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ clean: clean-test clean-e2e
2121
2222.PHONY : verify
2323verify :
24- go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.45.2
24+ go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.51.1
2525 go vet ./...
2626 golangci-lint run --timeout=3m --modules-download-mode vendor -E gofmt ./...
2727
@@ -40,7 +40,7 @@ build-bin:
4040 @mkdir -p bin
4141 GOOS=darwin GOARCH=amd64 go build -ldflags=" -s -w" -gcflags=-trimpath=x/y -o bin/clusteradm ./cmd/clusteradm/clusteradm.go && tar -czf bin/clusteradm_darwin_amd64.tar.gz LICENSE -C bin/ clusteradm
4242 GOOS=darwin GOARCH=arm64 go build -ldflags=" -s -w" -gcflags=-trimpath=x/y -o bin/clusteradm ./cmd/clusteradm/clusteradm.go && tar -czf bin/clusteradm_darwin_arm64.tar.gz LICENSE -C bin/ clusteradm
43- GOOS=linux GOARCH=amd64 go build -ldflags=" -s -w" -gcflags=-trimpath=x/y -o bin/clusteradm ./cmd/clusteradm/clusteradm.go && tar -czf bin/clusteradm_linux_amd64.tar.gz LICENSE -C bin/ clusteradm
43+ GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags=" -s -w" -gcflags=-trimpath=x/y -o bin/clusteradm ./cmd/clusteradm/clusteradm.go && tar -czf bin/clusteradm_linux_amd64.tar.gz LICENSE -C bin/ clusteradm
4444 GOOS=linux GOARCH=arm64 go build -ldflags=" -s -w" -gcflags=-trimpath=x/y -o bin/clusteradm ./cmd/clusteradm/clusteradm.go && tar -czf bin/clusteradm_linux_arm64.tar.gz LICENSE -C bin/ clusteradm
4545 GOOS=linux GOARCH=ppc64le go build -ldflags=" -s -w" -gcflags=-trimpath=x/y -o bin/clusteradm ./cmd/clusteradm/clusteradm.go && tar -czf bin/clusteradm_linux_ppc64le.tar.gz LICENSE -C bin/ clusteradm
4646 GOOS=linux GOARCH=s390x go build -ldflags=" -s -w" -gcflags=-trimpath=x/y -o bin/clusteradm ./cmd/clusteradm/clusteradm.go && tar -czf bin/clusteradm_linux_s390x.tar.gz LICENSE -C bin/ clusteradm
Original file line number Diff line number Diff line change 1- v0.5.0
1+ v0.5.1
Original file line number Diff line number Diff line change 11module open-cluster-management.io/clusteradm
22
3- go 1.17
3+ go 1.19
44
55require (
66 github.com/briandowns/spinner v1.18.1
You can’t perform that action at this time.
0 commit comments