.drone.yml 903 B

1234567891011121314151617181920212223242526272829303132
  1. kind: pipeline
  2. name: flining
  3. steps:
  4. - commands:
  5. - wrapper.sh /bin/sh
  6. - docker --config /etc/docker build -t "$JNLP_REPO/$JNLP_ENV/$DRONE_REPO_NAME:$JNLP_TAG"
  7. . -f Dockerfile
  8. - docker --config /etc/docker push "$JNLP_REPO/$JNLP_ENV/$DRONE_REPO_NAME:$JNLP_TAG"
  9. - python ppctl.py -b
  10. - python ppctl.py -a
  11. - python ppctl.py -d
  12. environment:
  13. JNLP_CONTAINER_PORT: '80'
  14. JNLP_CONTROL: StatefulSet
  15. JNLP_DOMAIN: .ieasou.cn
  16. JNLP_ENV: op
  17. JNLP_INGRESS: nginx
  18. JNLP_LIVENESS_INIT: '60'
  19. JNLP_LIVENESS_PER: '10'
  20. JNLP_MOUNT_PATH: /data
  21. JNLP_READINESS_INIT: '60'
  22. JNLP_READINESS_PER: '10'
  23. JNLP_REPLICAS: '2'
  24. JNLP_REPO: hub.evbj.easou.com
  25. JNLP_STORAGE_CAPACITY: 100Gi
  26. JNLP_STORAGE_CLASS: rbd
  27. JNLP_SVC_MODE: http
  28. JNLP_TAG: v1.0.8
  29. JNLP_WAR: ROOT.war
  30. image: hub.evbj.easou.com/dev/drone-agent-custom:v5.0.0
  31. name: build
  32. privileged: true