https://github.com/dronestock/drone
Drone插件基础框架,使用本库可以很方便的编写Drone插件。对以下功能进行了封装:1、配置加载;2、数据验证;3、默认值处理;4、插件动作封装;5、异步步骤;6、外部命令调用
https://github.com/dronestock/drone
cd ci drone framework library plugin
Last synced: 7 months ago
JSON representation
Drone插件基础框架,使用本库可以很方便的编写Drone插件。对以下功能进行了封装:1、配置加载;2、数据验证;3、默认值处理;4、插件动作封装;5、异步步骤;6、外部命令调用
- Host: GitHub
- URL: https://github.com/dronestock/drone
- Owner: dronestock
- License: apache-2.0
- Created: 2022-01-18T03:52:41.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2025-08-18T23:06:54.000Z (7 months ago)
- Last Synced: 2025-08-19T01:08:27.128Z (7 months ago)
- Topics: cd, ci, drone, framework, library, plugin
- Language: Go
- Homepage:
- Size: 336 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# drone
[](https://github.ruijc.com:20443/dronestock/drone)
[](https://goreportcard.com/report/github.com/dronestock/drone)







`Drone`插件基础框架,提供如下功能
- 基础配置
- 重试
- 背压
- 配置解析
- 命名
- 接口抽象
- 步骤
- 配置
- 插件
## 使用
非常简单,只需要在`.drone.yml`里增加配置
```yaml
- name: 上传到腾讯云
image: ccr.ccs.tencentyun.com/dronestock/cos
settings:
secret_id: xxx
secret_key: xxx
```
更多使用教程,请参考[文档](https://www.dronestock.tech/plugin/custom/start)
## 交流

## 捐助


## 插件列表
- [Git](https://www.dronestock.tech/plugin/stock/git) 使用Git推送和拉取代码
- [Maven](https://www.dronestock.tech/plugin/stock/maven) Maven编译、打包、测试以及发布到仓库
- [Protobuf](https://www.dronestock.tech/plugin/stock/protobuf) Protobuf编译、静态检查以及高级功能
- [Docker](https://www.dronestock.tech/plugin/stock/docker) Docker编译、打包以及发布到镜像仓库
- [Node](https://www.dronestock.tech/plugin/stock/node) Node编译、打包以及发布到仓库
- [Cos](https://www.dronestock.tech/plugin/stock/cos) 腾讯云对象存储基本配置、文件上传等
- [Mcu](https://www.dronestock.tech/plugin/stock/mcu) 各种模块依赖文件修改
- [Apisix](https://www.dronestock.tech/plugin/stock/apisix) Apisix网关插件
- [File](https://www.dronestock.tech/plugin/stock/file) 文件插件
## 感谢Jetbrains
本项目通过`Jetbrains开源许可IDE`编写源代码,特此感谢
[](https://www.jetbrains.com/?from=dronestock/drone)