obs to pss

This commit is contained in:
zhangkun9038@dingtalk.com 2023-04-04 15:17:52 +08:00
parent 34b30baf2f
commit 8c2cc392b4
8 changed files with 9 additions and 7 deletions

View File

@ -8,7 +8,7 @@ dbName=$5
backUpPath=$6
ossPath=$7
protal=obs
protal=oss
PATH=PATH:/usr/bin:/usr/sbin:/usr/local/bin

View File

@ -11,7 +11,7 @@ workPath=$4
ossLogPath=$5
preName="${fileName%.*}"
protal=obs
protal=oss
PATH=PATH:/usr/bin:/usr/sbin:/usr/local/bin

View File

@ -13,7 +13,7 @@ ossPath=$7
projectName="sql"
projectPath=${tempPath}/${projectName}
protal=obs
protal=oss
function init(){
cd $tempPath

View File

@ -8,7 +8,7 @@ workPath=$3
ossLogPath=$4
user=$USER
protal=obs
protal=oss
if [ -n $5 ]; then
user=$5

View File

@ -1,6 +1,6 @@
#!/bin/bash
protal=obs
protal=oss
cd /tmp/autoDeploy
ossutil stat ${protol}://ztupload/html.zip > html_oss.info
ossInfo=$(cat html_oss.info)

View File

@ -7,6 +7,8 @@ ossPath=$1 #末尾别忘了加/
fileName=$2
preName="${fileName%.*}"
protol=oss
basePath=/tmp/autoDeploy
if [ -n $3 ]; then
basePath=$3

View File

@ -4,7 +4,7 @@
# ./ossUpgrade.sh "stage/ztsjxxxt/frontEnd/" ztsjxxxt
ossPath=$1 #末尾别忘了加/
serviceName=$2
protal=obs
protal=oss
sudo journalctl -n 2000 -xeu $serviceName > ${serviceName}.log
ossutil cp ${serviceName}.log > ${protol}://${ossPath}

View File

@ -1,5 +1,5 @@
dataCenterPath=~/data_center
protal=obs
protal=oss
function fetch()
{
for file in ${dataCenterPath}/jars/*.jar