.drone.yml 932 B

123456789101112131415161718192021222324252627282930313233
  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 -c
  12. - python ppctl.py -d
  13. environment:
  14. JNLP_CONTAINER_PORT: '80'
  15. JNLP_CONTROL: StatefulSet
  16. JNLP_DOMAIN: .evbj.easou.com
  17. JNLP_ENV: op
  18. JNLP_INGRESS: nginx
  19. JNLP_LIVENESS_INIT: '60'
  20. JNLP_LIVENESS_PER: '10'
  21. JNLP_MOUNT_PATH: /data
  22. JNLP_READINESS_INIT: '60'
  23. JNLP_READINESS_PER: '10'
  24. JNLP_REPLICAS: '2'
  25. JNLP_REPO: hub.evbj.easou.com
  26. JNLP_STORAGE_CAPACITY: 100Gi
  27. JNLP_STORAGE_CLASS: ceph
  28. JNLP_SVC_MODE: http
  29. JNLP_TAG: v1.0.7
  30. JNLP_WAR: ROOT.war
  31. image: hub.evbj.easou.com/dev/drone-agent-custom:v1.0.0
  32. name: build
  33. privileged: true