mirror of
https://github.com/cnrancher/kube-explorer.git
synced 2026-01-21 13:58:25 +00:00
18 lines
471 B
Bash
Executable File
18 lines
471 B
Bash
Executable File
#!/bin/bash
|
|
|
|
mkdir -p $(dirname $GIT_SOURCE)
|
|
|
|
pushd $(dirname $GIT_SOURCE)
|
|
|
|
git clone --depth=1 --branch ${GIT_BRANCH} https://github.com/orangedeng/ke-steve.git steve
|
|
cd steve
|
|
git reset --hard ${GIT_COMMIT}
|
|
|
|
mkdir -p pkg/ui/ui/dashboard
|
|
cd pkg/ui/ui/dashboard
|
|
curl -sL https://pandaria-dashboard-ui.s3.ap-southeast-2.amazonaws.com/release-2.7-cn/kube-explorer-ui/${CATTLE_DASHBOARD_UI_VERSION}.tar.gz | tar xvzf - --strip-components=2
|
|
cp index.html ../index.html
|
|
|
|
popd
|
|
|