refactor: .devops/未命名项目.yml

This commit is contained in:
aishangliying 2025-05-30 11:51:34 +08:00 committed by jianmu
parent 7bbdf13065
commit 92c3bfcd0e
1 changed files with 6 additions and 11 deletions

View File

@ -20,9 +20,7 @@ workflow:
name: git clone
task: git_clone@1.2.9
input:
username: ((yuyebo.gitlink_username))
password: ((yuyebo.gitlink_usercode))
remote_url: '"https://gitlink.org.cn/yuyebo22/gitlink_help_center.git"'
remote_url: '""'
ref: '"refs/heads/master"'
commit_id: '""'
depth: 1
@ -34,9 +32,10 @@ workflow:
input:
docker_username: ((xuyuanpeng.user))
docker_password: ((xuyuanpeng.key))
image_name: '""'
image_name: '"pull
crpi-8e4d3x02j0ndtmyu.cn-shanghai.personal.cr.aliyuncs.com/aishangliying/xudapao"'
image_tag: '"latest"'
registry_address: '""'
registry_address: '"pull crpi-8e4d3x02j0ndtmyu.cn-shanghai.personal.cr.aliyuncs.com"'
docker_file: '"Dockerfile"'
docker_build_path: '"."'
workspace: git_clone_0.git_path
@ -48,15 +47,11 @@ workflow:
name: ssh执行命令
task: ssh_cmd@1.1.1
input:
ssh_pass: ((yuyebo.ubuntu_code))
ssh_pass: ((ssh.ssh))
ssh_ip: '"47.98.110.189"'
ssh_port: '"22"'
ssh_user: '"root"'
ssh_cmd: '"docker stop group_01 || true && docker rm group_01 || true && docker
pull
crpi-ztziizjrn1v9ynub.cn-hangzhou.personal.cr.aliyuncs.com/qinxinqi22/group_01:latest;
docker run -d -p 3000:3000 --name group_01
crpi-ztziizjrn1v9ynub.cn-hangzhou.personal.cr.aliyuncs.com/qinxinqi22/group_01:latest"'
ssh_cmd: '""'
needs:
- docker_image_build_0
- ref: end