mirror of
https://github.com/cnrancher/kube-explorer.git
synced 2025-09-24 21:07:52 +00:00
Support dapper for build process
This commit is contained in:
18
scripts/download
Executable file
18
scripts/download
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
mkdir -p $(dirname $GIT_SOURCE)
|
||||
|
||||
pushd $(dirname $GIT_SOURCE)
|
||||
|
||||
git clone --depth=1 --branch ${GIT_BRANCH} https://github.com/niusmallnan/steve.git
|
||||
cd steve
|
||||
git reset --hard ${GIT_COMMIT}
|
||||
|
||||
mkdir -p pkg/ui/ui/dashboard
|
||||
cd pkg/ui/ui/dashboard
|
||||
curl -sL https://releases.rancher.com/dashboard/${CATTLE_DASHBOARD_UI_VERSION}.tar.gz | tar xvzf - --strip-components=2
|
||||
cp index.html ../index.html
|
||||
|
||||
popd
|
||||
|
||||
$(dirname $0)/hack_fs $GIT_SOURCE/pkg/ui/ui/
|
Reference in New Issue
Block a user