mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-26 01:22:51 +00:00
fix KubeKey console builder config
This commit is contained in:
parent
07fbc334a6
commit
35094cd989
|
|
@ -25,6 +25,11 @@ jobs:
|
|||
go-version: 1.19
|
||||
id: go
|
||||
|
||||
- name: Set up Node 14.19.2
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: v14.19.2
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
|
|
@ -42,6 +47,10 @@ jobs:
|
|||
exit 1
|
||||
fi
|
||||
|
||||
- name: Build Web Console
|
||||
run: |
|
||||
make console
|
||||
|
||||
- name: Build command-line tool
|
||||
run: |
|
||||
make kk
|
||||
|
|
|
|||
|
|
@ -39,4 +39,3 @@ tmp
|
|||
|
||||
# kubekey-console node_modules and package-lock.json files
|
||||
console/node_modules
|
||||
console/package-lock.json
|
||||
|
|
|
|||
4
Makefile
4
Makefile
|
|
@ -243,6 +243,10 @@ verify-gen: generate ## Verify go generated files are up to date
|
|||
kk:
|
||||
CGO_ENABLED=0 go build -trimpath -tags "$(BUILDTAGS)" -ldflags "$(LDFLAGS)" -o $(BIN_DIR)/kk github.com/kubesphere/kubekey/v3/cmd/kk;
|
||||
|
||||
.PHONY: console
|
||||
console:
|
||||
cd console; npm install; npm run build; cp -r ./build/ ../cmd/kk/cmd/console/router/templates
|
||||
|
||||
ALL_MANAGERS = capkk k3s-bootstrap k3s-control-plane
|
||||
|
||||
.PHONY: managers
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
4
go.mod
4
go.mod
|
|
@ -6,6 +6,7 @@ replace (
|
|||
github.com/docker/distribution => github.com/docker/distribution v2.8.1+incompatible
|
||||
github.com/docker/docker => github.com/moby/moby v20.10.14+incompatible
|
||||
github.com/ugorji/go => github.com/ugorji/go/codec v1.1.7
|
||||
sigs.k8s.io/cluster-api/test => sigs.k8s.io/cluster-api/test v1.2.6
|
||||
)
|
||||
|
||||
require (
|
||||
|
|
@ -19,6 +20,7 @@ require (
|
|||
github.com/gin-gonic/gin v1.9.1
|
||||
github.com/go-logr/logr v1.2.3
|
||||
github.com/google/go-cmp v0.5.9
|
||||
github.com/gorilla/websocket v1.5.0
|
||||
github.com/hashicorp/go-getter v1.6.2
|
||||
github.com/imdario/mergo v0.3.13
|
||||
github.com/jinzhu/copier v0.3.5
|
||||
|
|
@ -51,6 +53,7 @@ require (
|
|||
k8s.io/kubectl v0.25.4
|
||||
k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed
|
||||
sigs.k8s.io/cluster-api v1.2.6
|
||||
sigs.k8s.io/cluster-api/test v0.0.0-00010101000000-000000000000
|
||||
sigs.k8s.io/controller-runtime v0.12.3
|
||||
sigs.k8s.io/kind v0.14.0
|
||||
sigs.k8s.io/yaml v1.3.0
|
||||
|
|
@ -147,7 +150,6 @@ require (
|
|||
github.com/googleapis/gax-go/v2 v2.5.1 // indirect
|
||||
github.com/googleapis/go-type-adapters v1.0.0 // indirect
|
||||
github.com/gorilla/mux v1.8.0 // indirect
|
||||
github.com/gorilla/websocket v1.5.0 // indirect
|
||||
github.com/gosuri/uitable v0.0.4 // indirect
|
||||
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 // indirect
|
||||
github.com/hashicorp/errwrap v1.1.0 // indirect
|
||||
|
|
|
|||
Loading…
Reference in New Issue