1 Star 0 Fork 51

宋凯伦/xuxiaowei-cloud

forked from xuxiaowei-cloud/xuxiaowei-cloud
暂停
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
upload.yml 1.99 KB
一键复制 编辑 原始数据 按行查看 历史
# 阿里云对象存储
oss:
stage: s2-service
image: maven:3.6.3-jdk-8
needs:
- job: s2-package
artifacts: true
script:
- wget https://gosspublic.alicdn.com/ossutil/1.7.13/ossutil64
- chmod 755 ossutil64
- echo "[Credentials]" > .ossutilconfig
- echo "language=CH" >> .ossutilconfig
- echo "endpoint=$endpoint" >> .ossutilconfig
- echo "accessKeyID=$accessKeyID" >> .ossutilconfig
- echo "accessKeySecret=$accessKeySecret" >> .ossutilconfig
- chmod 755 oss.sh
- "./oss.sh"
only:
- s2
# 腾讯云对象存储
cos:
stage: s2-service
image: maven:3.6.3-jdk-8
needs:
- job: s2-package
artifacts: true
script:
- wget https://cosbrowser.cloud.tencent.com/software/coscli/coscli-linux
- mv coscli-linux coscli
- chmod 755 coscli
- ./coscli --version
- chmod 755 cos.sh
- "./cos.sh"
only:
- s2
# 华为云对象存储
obs:
stage: s2-service
image: maven:3.6.3-jdk-8
needs:
- job: s2-package
artifacts: true
script:
- wget https://obs-community.obs.cn-north-1.myhuaweicloud.com/obsutil/current/obsutil_linux_amd64.tar.gz
- tar -zxvf obsutil_linux_amd64.tar.gz
- cp obsutil_linux_amd64*/obsutil obsutil
- chmod 755 obsutil
- ./obsutil version
- echo 因为华为云对象存储OBS配置文件中的参数较多,并且下载的始终是最新版。不同版本可能存在配置参数的差异,故采用软件命令直接生成配置文件(使用的变量受保护,不会再日志中输出)。
- ./obsutil config -i=$ak -k=$sk -e=$et
- chmod 755 obs.sh
- "./obs.sh"
only:
- s2
# 百度云对象存储
bos:
stage: s2-service
image: maven:3.6.3-jdk-8
needs:
- job: s2-package
artifacts: true
script:
- wget https://bce-doc-on.bj.bcebos.com/bce-documentation/BOS/linux-bcecmd-0.3.3.zip
- unzip linux-bcecmd-0.3.3.zip
- cp ./linux-bcecmd-0.3.3/bcecmd bcecmd
- chmod 755 bcecmd
- chmod 755 bos.sh
- "./bos.sh"
only:
- s2
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/NuoBiaoZha/xuxiaowei-cloud.git
git@gitee.com:NuoBiaoZha/xuxiaowei-cloud.git
NuoBiaoZha
xuxiaowei-cloud
xuxiaowei-cloud
main

搜索帮助