An open API service indexing awesome lists of open source software.

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、外部命令调用

Awesome Lists containing this project

README

          

# drone

[![编译状态](https://github.ruijc.com:20443/api/badges/dronestock/drone/status.svg)](https://github.ruijc.com:20443/dronestock/drone)
[![Golang质量](https://goreportcard.com/badge/github.com/dronestock/drone)](https://goreportcard.com/report/github.com/dronestock/drone)
![版本](https://img.shields.io/github/go-mod/go-version/dronestock/drone)
![仓库大小](https://img.shields.io/github/repo-size/dronestock/drone)
![最后提交](https://img.shields.io/github/last-commit/dronestock/drone)
![授权协议](https://img.shields.io/github/license/dronestock/drone)
![语言个数](https://img.shields.io/github/languages/count/dronestock/drone)
![最佳语言](https://img.shields.io/github/languages/top/dronestock/drone)
![星星个数](https://img.shields.io/github/stars/dronestock/drone?style=social)

`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)

## 交流

![微信群](https://www.dronestock.tech/communication/wxwork.jpg)

## 捐助

![支持宝](https://github.com/storezhang/donate/raw/master/alipay-small.jpg)
![微信](https://github.com/storezhang/donate/raw/master/weipay-small.jpg)

## 插件列表

- [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`编写源代码,特此感谢

[![Jetbrains图标](https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.svg)](https://www.jetbrains.com/?from=dronestock/drone)