mirror of
https://github.com/cnrancher/kube-explorer.git
synced 2025-09-03 07:25:03 +00:00
Compare commits
13 Commits
v0.2.7
...
v0.2.10-rc
Author | SHA1 | Date | |
---|---|---|---|
|
7c3f7b5401 | ||
|
98ae5fe7c9 | ||
|
f91c8df6e2 | ||
|
6344c0767a | ||
|
bbb5db5fb5 | ||
|
a81fc996c9 | ||
|
a0c6f0edb7 | ||
|
e986d891ef | ||
|
0857f01c77 | ||
|
ec1152aba1 | ||
|
5846ee6155 | ||
|
3e9b2fe7f5 | ||
|
c4e05aa13d |
@@ -70,6 +70,8 @@ steps:
|
|||||||
- sha256
|
- sha256
|
||||||
files:
|
files:
|
||||||
- "bin/*"
|
- "bin/*"
|
||||||
|
title: "${DRONE_TAG}"
|
||||||
|
overwrite: true
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.16
|
FROM golang:1.17
|
||||||
|
|
||||||
ARG DAPPER_HOST_ARCH
|
ARG DAPPER_HOST_ARCH
|
||||||
ENV HOST_ARCH=${DAPPER_HOST_ARCH} ARCH=${DAPPER_HOST_ARCH}
|
ENV HOST_ARCH=${DAPPER_HOST_ARCH} ARCH=${DAPPER_HOST_ARCH}
|
||||||
@@ -19,10 +19,10 @@ ENV DOCKER_URL_amd64=https://get.docker.com/builds/Linux/x86_64/docker-1.10.3 \
|
|||||||
DOCKER_URL=DOCKER_URL_${ARCH}
|
DOCKER_URL=DOCKER_URL_${ARCH}
|
||||||
RUN wget -O - ${!DOCKER_URL} > /usr/bin/docker && chmod +x /usr/bin/docker
|
RUN wget -O - ${!DOCKER_URL} > /usr/bin/docker && chmod +x /usr/bin/docker
|
||||||
|
|
||||||
ENV GIT_COMMIT="18f619f9df6db5cb6dc3d18c1e89121d0243e754" \
|
ENV GIT_COMMIT="d493afc3dbf4dd5f118fd069e5244caeaaecd6fb" \
|
||||||
GIT_BRANCH="ke/v0.2" \
|
GIT_BRANCH="ke/v0.2" \
|
||||||
GIT_SOURCE="/go/src/github.com/rancher/steve" \
|
GIT_SOURCE="/go/src/github.com/rancher/steve" \
|
||||||
CATTLE_DASHBOARD_UI_VERSION=v2.6.3-kube-explorer-ui-rc2
|
CATTLE_DASHBOARD_UI_VERSION="v2.6.7-rc5-kube-explorer-ui-rc2"
|
||||||
|
|
||||||
ENV DAPPER_ENV REPO TAG DRONE_TAG CROSS
|
ENV DAPPER_ENV REPO TAG DRONE_TAG CROSS
|
||||||
ENV DAPPER_SOURCE /opt/kube-explorer
|
ENV DAPPER_SOURCE /opt/kube-explorer
|
||||||
|
@@ -6,7 +6,7 @@ It integrates the Rancher steve framework and its dashboard, and is recompiled,
|
|||||||
|
|
||||||
## Usage ✅
|
## Usage ✅
|
||||||
|
|
||||||
Please download the binary from the [release page](https://github.com/niusmallnan/kube-explorer/releases).
|
Please download the binary from the [release page](https://github.com/cnrancher/kube-explorer/releases).
|
||||||
|
|
||||||
To run an HTTP only server:
|
To run an HTTP only server:
|
||||||
|
|
||||||
@@ -16,6 +16,8 @@ To run an HTTP only server:
|
|||||||
|
|
||||||
Then, open the browser to visit http://x.x.x.x:9898 .
|
Then, open the browser to visit http://x.x.x.x:9898 .
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Build ✅
|
## Build ✅
|
||||||
|
|
||||||
To debug on an AMD64 Linux host:
|
To debug on an AMD64 Linux host:
|
||||||
|
BIN
docs/assets/kube-explorer-record.gif
Normal file
BIN
docs/assets/kube-explorer-record.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 1006 KiB |
@@ -40,7 +40,13 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
for f in $(ls ./bin/); do
|
for f in $(ls ./bin/); do
|
||||||
upx -o $DAPPER_SOURCE/bin/$f bin/$f
|
upx -o $DAPPER_SOURCE/bin/$f bin/$f || true
|
||||||
|
if [ -f $DAPPER_SOURCE/bin/$f ]; then
|
||||||
|
echo "UPX done!"
|
||||||
|
else
|
||||||
|
echo "Copy origin file as UPX failed!!!"
|
||||||
|
cp bin/$f $DAPPER_SOURCE/bin/$f
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
Reference in New Issue
Block a user