.rancher-pipeline.yml 768 B

1234567891011121314151617181920212223242526
  1. stages:
  2. - name: 构建
  3. steps:
  4. - runScriptConfig:
  5. image: 172.31.116.91:30657/node-cnpm:latest
  6. shellScript: |-
  7. wget http://47.101.10.107:8081/repository/npm-hossted/@winsea-product/winsea-product-operation-front/-/winsea-product-operation-front-1.3.10.tgz
  8. tar -zxvf winsea-product-operation-front-1.3.10.tgz
  9. mv package/dist ./dist
  10. - name: 发布
  11. steps:
  12. - publishImageConfig:
  13. dockerfilePath: ./Dockerfile
  14. buildContext: .
  15. tag: ws-product-operation-front:${CICD_EXECUTION_SEQUENCE}
  16. pushRemote: true
  17. registry: 172.31.116.91:30657
  18. env:
  19. PLUGIN_DEBUG: "true"
  20. PLUGIN_INSECURE: "true"
  21. - name: 部署
  22. steps:
  23. - applyYamlConfig:
  24. path: ./deployment.yaml
  25. timeout: 60
  26. notification: {}