testa
This commit is contained in:
parent
f7b64351a1
commit
8ad9ef620c
|
@ -47,7 +47,7 @@ jobs:
|
||||||
git clone $project $workdir
|
git clone $project $workdir
|
||||||
ls $workdir
|
ls $workdir
|
||||||
|
|
||||||
find ./webs -name toto.sh -exec . {} \;
|
find ./webs -name toto.sh -exec /bin/bash {} $workdir $initdir \;
|
||||||
|
|
||||||
src=`cat ${workdir}/ret-data|grep -v ^$|head -n 1|awk -F'&' '{print $1}'`
|
src=`cat ${workdir}/ret-data|grep -v ^$|head -n 1|awk -F'&' '{print $1}'`
|
||||||
dest=`cat ${workdir}/ret-data|grep -v ^$|head -n 1|awk -F'&' '{print $2}'`
|
dest=`cat ${workdir}/ret-data|grep -v ^$|head -n 1|awk -F'&' '{print $2}'`
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
#workdir=$1
|
workdir=$1
|
||||||
#initdir=$2
|
initdir=$2
|
||||||
|
|
||||||
#source ${initdir}/libs/common.sh
|
source ${initdir}/libs/common.sh
|
||||||
|
|
||||||
before_helm_website(){
|
before_helm_website(){
|
||||||
echo "install hugo"
|
echo "install hugo"
|
||||||
|
@ -35,7 +35,7 @@ after_helm_website(){
|
||||||
}
|
}
|
||||||
|
|
||||||
save_return(){
|
save_return(){
|
||||||
echo "复制文件到OSS"
|
echo "复制文件到OSS $workdir $initdir"
|
||||||
touch ${workdir}/ret-data
|
touch ${workdir}/ret-data
|
||||||
echo 'app&oss://cncfstack-helm' > ${workdir}/ret-data
|
echo 'app&oss://cncfstack-helm' > ${workdir}/ret-data
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue