Skip to content

Commit

Permalink
feat: 各插件文档增加云原生构建内容,增加tag (#47)
Browse files Browse the repository at this point in the history
Co-authored-by: folgerfan <[email protected]>
  • Loading branch information
folger-fan and folgerfan authored Mar 22, 2024
1 parent 97a4362 commit 197d77c
Show file tree
Hide file tree
Showing 77 changed files with 152 additions and 128 deletions.
10 changes: 5 additions & 5 deletions plugins/ansible/ansible/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ docker run --rm \
plugins/ansible
```

## Coding-CI 上使用
## 云原生构建 上使用

```yml
master:
main:
push:
- stages:
- name: use ansible
Expand Down Expand Up @@ -79,7 +79,7 @@ ssh-keygen -t ed25519 -f ./ssh-key
即:`plugins/ansible:3`,示例如下

```yml
master:
main:
push:
- stages:
- name: use ansible
Expand All @@ -95,7 +95,7 @@ master:
可通过 imports 动态注入凭证,达到隐藏明文凭证的目标
```yml
master:
main:
push:
- stages:
- name: use ansible
Expand All @@ -108,7 +108,7 @@ master:
```
```yml
#ssh-key.yml
# ssh-key.yml
PRIVATE_KEY: |
xxxxxx
xxxxxx
Expand Down
2 changes: 1 addition & 1 deletion plugins/ansible/ansible/plugin-meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Ansible",
"description": "Ansible can help you demonstrate value, connect teams, and deliver efficiencies for your organization. ",
"tags": ["publish", "rsync"],
"tags": ["publish", "rsync", "transfer", "ssh"],
"mark": "社区",
"images": "https://hub.docker.com/r/plugins/ansible/tags",
"source": "https://github.com/drone-plugins/drone-ansible",
Expand Down
4 changes: 2 additions & 2 deletions plugins/artifactory/artifactory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

发布文件或者制品到制品库。

## Coding-CI 上使用
## 云原生构建 上使用

```yml
master:
main:
push:
- stages:
- name: artifactory
Expand Down
2 changes: 1 addition & 1 deletion plugins/artifactory/artifactory/plugin-meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Artifactory",
"description": "发布文件或者制品到制品库插件",
"mark": "社区",
"tags": [ "publish"],
"tags": [ "publish", "archive"],
"images": "https://hub.docker.com/r/lathieriot/drone-artifactory",
"source": "https://github.com/athieriot/drone-artifactory",
"bugs": "https://github.com/athieriot/drone-artifactory/issues",
Expand Down
6 changes: 3 additions & 3 deletions plugins/clair/clair/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

通过 Clair 扫描 docker 镜像插件。

## Coding-CI 上使用
## 云原生构建 上使用

```yml
master:
main:
push:
- stages:
- name: clair
Expand Down Expand Up @@ -44,7 +44,7 @@ master:

* password:Docker Registry密码,用于下载 `scan_image`。

* scan_image:要扫描的 docker 图像。支持 Docker Hub 或私有仓库。
* scan_image:要扫描的 docker 镜像。支持 Docker Hub 或私有仓库。

* ca_cert:用于验证 https 的 CA 证书。

Expand Down
2 changes: 1 addition & 1 deletion plugins/clair/clair/plugin-meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Clair",
"description": "通过Clair扫描docker镜像",
"mark": "社区",
"tags": [ "DOCKER"],
"tags": [ "docker", "scan", "clair"],
"images": "https://hub.docker.com/r/jmccann/drone-clair",
"source": "https://github.com/jmccann/drone-clair",
"bugs": "https://github.com/jmccann/drone-clair/issues",
Expand Down
4 changes: 2 additions & 2 deletions plugins/codecov/codecov/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

推送测试报告到Codecov

## Coding-CI 上使用
## 云原生构建 上使用

```yml
master:
main:
push:
- stages:
- name: codecov
Expand Down
2 changes: 1 addition & 1 deletion plugins/codecov/codecov/plugin-meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Codecov",
"description": "推送测试报告到Codecov",
"mark": "社区",
"tags": [ "test","publish"],
"tags": [ "test","publish", "report", "codecov" ],
"images": "https://hub.docker.com/r/robertstettner/drone-codecov",
"source": "https://github.com/robertstettner/drone-codecov",
"bugs": "https://github.com/robertstettner/drone-codecov/issues",
Expand Down
4 changes: 2 additions & 2 deletions plugins/datadog/datadog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

发送 events 和 metrics 到 Datadog

## Coding-CI 上使用
## 云原生构建 上使用

```yml
master:
main:
push:
- stages:
- name: count-pipeline
Expand Down
2 changes: 1 addition & 1 deletion plugins/datadog/datadog/plugin-meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Datadog",
"description": "发送events和metrics到Datadog",
"mark": "社区",
"tags": [ "monitoring"],
"tags": [ "monitoring", "metrics", "events", "report"],
"images": "https://hub.docker.com/r/masci/drone-datadog",
"source": "https://github.com/masci/drone-datadog",
"bugs": "https://github.com/masci/drone-datadog/issues",
Expand Down
4 changes: 2 additions & 2 deletions plugins/diagnostics/diagnostics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

一个 cli 工具插件,用于诊断构建过程中出现的问题。

## Coding-CI 上使用
## 云原生构建 上使用

插件内置了一些诊断工具,可以用命令行来调用它们。

Expand All @@ -13,7 +13,7 @@
- dig

```yml
master:
main:
push:
- stages:
- name: run plugins/drone-diagnostics plugin
Expand Down
2 changes: 1 addition & 1 deletion plugins/diagnostics/diagnostics/plugin-meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "diagnostics",
"description": "用来诊断构建中问题的带cli工具的插件",
"mark": "社区",
"tags": [],
"tags": ["cli", "tools"],
"images": "https://hub.docker.com/r/drone-plugins/drone-diagnostics",
"source": "https://github.com/drone-plugins/drone-diagnostics",
"bugs": "https://github.com/drone-plugins/drone-diagnostics/issues",
Expand Down
4 changes: 2 additions & 2 deletions plugins/download/download/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

下载构建所需文件的插件。

## Coding-CI 上使用
## 云原生构建 上使用

```yml
master:
main:
push:
- stages:
- name: download
Expand Down
2 changes: 1 addition & 1 deletion plugins/download/download/plugin-meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "download",
"description": "下载构建所需文件的插件",
"mark": "社区",
"tags": [ "tarball","archive","retrieve"],
"tags": ["tarball", "archive", "retrieve", "download"],
"images": "https://hub.docker.com/r/drone-plugins/drone-download",
"source": "https://github.com/drone-plugins/drone-download",
"bugs": "https://github.com/drone-plugins/drone-download/issues",
Expand Down
6 changes: 3 additions & 3 deletions plugins/email/email/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# email

通过email发送构建消息的插件
通过 email 发送构建消息的插件

## Coding-CI 上使用
## 云原生构建 上使用

```yml
master:
main:
push:
- stages:
- name: notify
Expand Down
4 changes: 2 additions & 2 deletions plugins/email/email/plugin-meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "email",
"description": "通过emial发送构建消息的插件",
"description": "通过email发送构建消息的插件",
"mark": "社区",
"tags": [],
"tags": ["email", "notify", "message"],
"images": "https://hub.docker.com/r/drillster/drone-email",
"source": "https://github.com/drillster/drone-email",
"bugs": "https://github.com/drillster/drone-email/issues",
Expand Down
4 changes: 2 additions & 2 deletions plugins/ftps/ftps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

通过 ftps 上传制品的插件。

## Coding-CI 上使用
## 云原生构建 上使用

```yml
master:
main:
push:
- stages:
- name: deploy
Expand Down
2 changes: 1 addition & 1 deletion plugins/ftps/ftps/plugin-meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ftps",
"description": "通过ftps上传制品的插件",
"mark": "社区",
"tags": ["publish","ssh"],
"tags": ["publish", "ssh", "ftps", "archive"],
"images": "https://hub.docker.com/r/cschlosser/drone-ftps",
"source": "https://github.com/cschlosser/drone-ftps",
"bugs": "https://github.com/cschlosser/drone-ftps/issues",
Expand Down
4 changes: 2 additions & 2 deletions plugins/gpgsign/gpgsign/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

通过 GunPG 给制品加密的插件。

## Coding-CI 上使用
## 云原生构建 上使用

```yml
master:
main:
push:
- stages:
- name: sign
Expand Down
2 changes: 1 addition & 1 deletion plugins/gpgsign/gpgsign/plugin-meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "gpgsign",
"description": "通过GunPG给制品加密的插件",
"mark": "社区",
"tags": [],
"tags": ["gunpg", "encrypt", "sign", "archive"],
"images": "https://hub.docker.com/r/drone-plugins/drone-gpgsign",
"source": "https://github.com/drone-plugins/drone-gpgsign",
"bugs": "https://github.com/drone-plugins/drone-gpgsign/issues",
Expand Down
4 changes: 2 additions & 2 deletions plugins/grafana-annotation/grafana-annotation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

在 Grafana 中创建注解的插件。

## Coding-CI 上使用
## 云原生构建 上使用

```yml
master:
main:
push:
- stages:
- name: annotate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "grafana-annotation",
"description": "在Grafana中创建注解的插件",
"mark": "社区",
"tags": [],
"tags": ["annotation", "grafana"],
"images": "https://hub.docker.com/r/fdeschenes/drone-grafana-annotation",
"source": "https://github.com/fdeschenes/drone-grafana-annotation",
"bugs": "https://github.com/fdeschenes/drone-grafana-annotation/issues",
Expand Down
4 changes: 2 additions & 2 deletions plugins/helm/helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

部署 Helm chart 的插件。

## Coding-CI 上使用
## 云原生构建 上使用

```yml
master:
main:
push:
- stages:
- name: helm_deploy
Expand Down
2 changes: 1 addition & 1 deletion plugins/helm/helm/plugin-meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "helm",
"description": "Helm插件",
"mark": "社区",
"tags": [],
"tags": ["helm", "deploy", "kubernetes", "k8s"],
"images": "https://hub.docker.com/r/ipedrazas/drone-helm",
"source": "https://github.com/ipedrazas/drone-helm",
"bugs": "https://github.com/ipedrazas/drone-helm/issues",
Expand Down
4 changes: 2 additions & 2 deletions plugins/helm3/helm3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

Helm3 插件

## Coding-CI 上使用
## 云原生构建 上使用

```yml
master:
main:
push:
- stages:
- name: deploy_production
Expand Down
2 changes: 1 addition & 1 deletion plugins/helm3/helm3/plugin-meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "helm3",
"description": "Helm3插件",
"mark": "社区",
"tags": [],
"tags": ["helm", "helm3", "kubernetes", "deploy"],
"images": "https://hub.docker.com/r/pelotech/drone-helm3",
"source": "https://github.com/pelotech/drone-helm3",
"bugs": "https://github.com/pelotech/drone-helm3/issues",
Expand Down
4 changes: 2 additions & 2 deletions plugins/hugo/hugo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

通过 Hugo 自动创建静态 web 页面的插件。

## Coding-CI 上使用
## 云原生构建 上使用

```yml
master:
main:
push:
- stages:
- name: build
Expand Down
2 changes: 1 addition & 1 deletion plugins/hugo/hugo/plugin-meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "hugo",
"description": "通过Hugo自动创建静态web页面的插件",
"mark": "社区",
"tags": [],
"tags": ["hugo", "static", "website"],
"images": "https://hub.docker.com/r/drone-plugins/drone-hugo",
"source": "https://github.com/drone-plugins/drone-hugo",
"bugs": "https://github.com/drone-plugins/drone-hugo/issues",
Expand Down
4 changes: 2 additions & 2 deletions plugins/jenkins/jenkins/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

触发 Jenkins Jobs 的插件。

## Coding-CI 上使用
## 云原生构建 上使用

```yml
master:
main:
push:
- stages:
- name: trigger jenkins job
Expand Down
2 changes: 1 addition & 1 deletion plugins/jenkins/jenkins/plugin-meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "jenkins",
"description": "触发Jenkins Jobs的插件",
"mark": "社区",
"tags": [],
"tags": ["jenkins", "ci", "trigger"],
"images": "https://hub.docker.com/r/appleboy/drone-jenkins",
"source": "https://github.com/appleboy/drone-jenkins",
"bugs": "https://github.com/appleboy/drone-jenkins/issues",
Expand Down
5 changes: 2 additions & 3 deletions plugins/k8s/kubectl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Kubectl 是 Kubernetes 命令行接口。通过 Kubectl 命令可以方便的管

Kubectl 同样可以管理腾讯云 tke 集群。

## Coding-CI 上使用
## 云原生构建 上使用

```yml
master:
main:
push:
- stages:
- name: 使用 kubectl 操作腾讯 TKE 更新指定pod的镜像版本
Expand Down Expand Up @@ -62,4 +62,3 @@ KUBECF: |
- [kubectl文档](https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands)
- [bitnami/kubectl文档](https://github.com/bitnami/containers/tree/main/bitnami/kubectl)
- [entrypoint](https://yeasy.gitbook.io/docker_practice/image/dockerfile/entrypoint)
- [导入环境变量](https://ci.coding.net/docs/env.html#dao-ru-huan-jing-bian-liang)
Loading

0 comments on commit 197d77c

Please sign in to comment.