12345678910111213141516171819202122232425262728293031 |
- kind: pipeline
- name: flining
- steps:
- - commands:
- - wrapper.sh /bin/sh
- - docker --config /etc/docker build -t "$JNLP_REPO/$JNLP_ENV/$DRONE_REPO_NAME:$JNLP_TAG" . -f Dockerfile
- - docker --config /etc/docker push "$JNLP_REPO/$JNLP_ENV/$DRONE_REPO_NAME:$JNLP_TAG"
- - python ppctl.py -b
- - python ppctl.py -a
- - python ppctl.py -d
- environment:
- JNLP_CONTAINER_PORT: '80'
- JNLP_CONTROL: StatefulSet
- JNLP_DOMAIN: .ieasou.cn
- JNLP_ENV: op
- JNLP_INGRESS: nginx
- JNLP_LIVENESS_INIT: '60'
- JNLP_LIVENESS_PER: '10'
- JNLP_MOUNT_PATH: /data
- JNLP_READINESS_INIT: '60'
- JNLP_READINESS_PER: '10'
- JNLP_REPLICAS: '2'
- JNLP_REPO: hub.evbj.easou.com
- JNLP_STORAGE_CAPACITY: 100Gi
- JNLP_STORAGE_CLASS: rbd
- JNLP_SVC_MODE: http
- JNLP_TAG: v1.1.0
- JNLP_WAR: ROOT.war
- image: hub.evbj.easou.com/dev/drone-agent-custom:v5.0.0
- name: build
- privileged: true
|