Skip to content

Commit

Permalink
Merge pull request #109 from andrewshan/main
Browse files Browse the repository at this point in the history
feat: refactor all deploy scripts into deploy folder
  • Loading branch information
andrewshan authored Sep 29, 2021
2 parents 3c04b67 + cac5bbb commit 67dbf6f
Show file tree
Hide file tree
Showing 14 changed files with 10 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ jobs:
run: |
if [ ${GOOS} == "kubernetes" ];then
set -e
cd standalone
cd deploy/standalone
DIR_NAME=polaris-standalone-release_${SERVER_VERSION}.${GOOS}
mkdir ${DIR_NAME}
pushd ${DIR_NAME}
cp ../installk8s/* ./
cp ../k8s/* ./
popd
else
set -e
cd standalone
cd deploy/standalone
POLARIS_GIT_PATH=https://github.com/polarismesh
DIR_NAME=polaris-standalone-release_${SERVER_VERSION}.${GOOS}.${GOARCH}
mkdir ${DIR_NAME}
Expand All @@ -62,15 +62,15 @@ jobs:
if [ ${GOOS} == "windows" ];then
wget -T10 -t3 https://github.com/prometheus/prometheus/releases/download/v2.28.0/prometheus-2.28.0.${GOOS}-${GOARCH}.zip
wget -T10 -t3 https://github.com/prometheus/pushgateway/releases/download/v1.4.1/pushgateway-1.4.1.${GOOS}-${GOARCH}.zip
mv ../installvm/install-windows.bat ./install.bat
mv ../installvm/install-windows.ps1 ./install-windows.ps1
mv ../installvm/uninstall-windows.bat ./uninstall.bat
mv ../installvm/uninstall-windows.ps1 ./uninstall-windows.ps1
mv ../vm/install-windows.bat ./install.bat
mv ../vm/install-windows.ps1 ./install-windows.ps1
mv ../vm/uninstall-windows.bat ./uninstall.bat
mv ../vm/uninstall-windows.ps1 ./uninstall-windows.ps1
else
wget -T10 -t3 https://github.com/prometheus/prometheus/releases/download/v2.28.0/prometheus-2.28.0.${GOOS}-${GOARCH}.tar.gz
wget -T10 -t3 https://github.com/prometheus/pushgateway/releases/download/v1.4.1/pushgateway-1.4.1.${GOOS}-${GOARCH}.tar.gz
mv ../installvm/install-${GOOS}.sh ./install.sh
mv ../installvm/uninstall-${GOOS}.sh ./uninstall.sh
mv ../vm/install-${GOOS}.sh ./install.sh
mv ../vm/uninstall-${GOOS}.sh ./uninstall.sh
fi
popd
fi
Expand Down
1 change: 1 addition & 0 deletions deploy/cluster/vm/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Scripts to deploy cluster version to kubernetes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 67dbf6f

Please sign in to comment.