You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

tencent-develop.yml 1.5 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. version: 2
  2. name: tencent-develop
  3. description: 腾讯云开发环境
  4. global:
  5. concurrent: 1
  6. cache:
  7. - GOCACHE
  8. - GOMODCACHE
  9. workflow:
  10. - ref: start
  11. name: 开始
  12. task: start
  13. - ref: git_clone_0
  14. name: git clone
  15. task: git_clone@1.2.9
  16. input:
  17. remote_url: '"https://gitlink.org.cn/JointCloud/pcm-coordinator.git"'
  18. ref: '"refs/heads/master"'
  19. commit_id: '""'
  20. depth: 1
  21. needs:
  22. - start
  23. - ref: docker_image_build_0
  24. name: docker镜像构建
  25. cache:
  26. GOCACHE: /root/.cache/go-build
  27. GOMODCACHE: /go/pkg/mod
  28. task: docker_image_build@1.6.0
  29. input:
  30. docker_username: ((aly.docker_user))
  31. docker_password: ((aly.docker_password))
  32. image_name: '"registry.cn-hangzhou.aliyuncs.com/jcce/pcm-core-api"'
  33. image_tag: '"dev-latest"'
  34. registry_address: '"registry.cn-hangzhou.aliyuncs.com"'
  35. docker_file: '"Dockerfile"'
  36. docker_build_path: '"."'
  37. workspace: git_clone_0.git_path
  38. image_clean: true
  39. image_push: true
  40. build_args: '""'
  41. needs:
  42. - git_clone_0
  43. - ref: ssh_cmd_0
  44. name: ssh执行命令
  45. task: ssh_cmd@1.1.1
  46. input:
  47. ssh_private_key: ((aly.ssh_private_key))
  48. ssh_ip: '"119.45.255.234"'
  49. ssh_port: '"22"'
  50. ssh_user: '"root"'
  51. ssh_cmd: '"kubectl rollout restart deployment -n jcce-system pcm-core-api"'
  52. needs:
  53. - docker_image_build_0
  54. - ref: end
  55. name: 结束
  56. task: end
  57. needs:
  58. - ssh_cmd_0

PCM is positioned as Software stack over Cloud, aiming to build the standards and ecology of heterogeneous cloud collaboration for JCC in a non intrusive and autonomous peer-to-peer manner.