Kubernetes/CICD/Drone/Docs
offends 7a2f41e7d6
All checks were successful
continuous-integration/drone Build is passing
synchronization
2024-08-07 18:54:39 +08:00
..
Drone客户端安装.md synchronization 2024-08-07 18:54:39 +08:00
README.md synchronization 2024-08-07 18:54:39 +08:00

本文作者:丁辉

Drone的使用

快速启动 Runner 执行端

docker run --detach   \
    --volume=/var/run/docker.sock:/var/run/docker.sock  \
    --env=DRONE_RPC_PROTO=https  \
    --env=DRONE_RPC_HOST= \
    --env=DRONE_RPC_SECRET= \
    --env=DRONE_RUNNER_CAPACITY=4 \
    --env=DRONE_RUNNER_NAME=runner \
    --restart=always  \
    --name=runner \
    drone/drone-runner-docker

Runner 添加标签

--from-literal=DRONE_RUNNER_LABELS=<标签:值> \

Kubernetes部署文档