From 197d77c8ba6d26ca63a89c8971fd950ba27195a3 Mon Sep 17 00:00:00 2001 From: Folger fan Date: Fri, 22 Mar 2024 15:29:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=90=84=E6=8F=92=E4=BB=B6=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E5=A2=9E=E5=8A=A0=E4=BA=91=E5=8E=9F=E7=94=9F=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E5=86=85=E5=AE=B9=EF=BC=8C=E5=A2=9E=E5=8A=A0tag=20(#4?= =?UTF-8?q?7)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: folgerfan --- plugins/ansible/ansible/README.md | 10 ++++----- plugins/ansible/ansible/plugin-meta.json | 2 +- plugins/artifactory/artifactory/README.md | 4 ++-- .../artifactory/artifactory/plugin-meta.json | 2 +- plugins/clair/clair/README.md | 6 ++--- plugins/clair/clair/plugin-meta.json | 2 +- plugins/codecov/codecov/README.md | 4 ++-- plugins/codecov/codecov/plugin-meta.json | 2 +- plugins/datadog/datadog/README.md | 4 ++-- plugins/datadog/datadog/plugin-meta.json | 2 +- plugins/diagnostics/diagnostics/README.md | 4 ++-- .../diagnostics/diagnostics/plugin-meta.json | 2 +- plugins/download/download/README.md | 4 ++-- plugins/download/download/plugin-meta.json | 2 +- plugins/email/email/README.md | 6 ++--- plugins/email/email/plugin-meta.json | 4 ++-- plugins/ftps/ftps/README.md | 4 ++-- plugins/ftps/ftps/plugin-meta.json | 2 +- plugins/gpgsign/gpgsign/README.md | 4 ++-- plugins/gpgsign/gpgsign/plugin-meta.json | 2 +- .../grafana-annotation/README.md | 4 ++-- .../grafana-annotation/plugin-meta.json | 2 +- plugins/helm/helm/README.md | 4 ++-- plugins/helm/helm/plugin-meta.json | 2 +- plugins/helm3/helm3/README.md | 4 ++-- plugins/helm3/helm3/plugin-meta.json | 2 +- plugins/hugo/hugo/README.md | 4 ++-- plugins/hugo/hugo/plugin-meta.json | 2 +- plugins/jenkins/jenkins/README.md | 4 ++-- plugins/jenkins/jenkins/plugin-meta.json | 2 +- plugins/k8s/kubectl/README.md | 5 ++--- plugins/k8s/kubectl/plugin-meta.json | 2 +- plugins/kaniko/kaniko/README.md | 4 ++-- plugins/kaniko/kaniko/plugin-meta.json | 2 +- plugins/manifest/manifest/README.md | 4 ++-- plugins/manifest/manifest/plugin-meta.json | 2 +- plugins/markdown/markdownlint-cli2/README.md | 22 ++++++++++++++----- .../qq-miniprogram/plugin-meta.json | 2 +- .../newrelic-deployment/README.md | 4 ++-- .../newrelic-deployment/plugin-meta.json | 2 +- plugins/npm-auth/npm-auth/README.md | 4 ++-- plugins/npm-auth/npm-auth/plugin-meta.json | 2 +- plugins/packer/packer/README.md | 4 ++-- plugins/packer/packer/plugin-meta.json | 2 +- plugins/php/phplint/README.md | 15 ++++++++++++- plugins/pypi/pypi/README.md | 4 ++-- plugins/pypi/pypi/plugin-meta.json | 2 +- plugins/rancher/rancher/README.md | 4 ++-- plugins/rancher/rancher/plugin-meta.json | 2 +- plugins/rsync/rsync/README.md | 4 ++-- plugins/rsync/rsync/plugin-meta.json | 2 +- plugins/scp/scp/README.md | 4 ++-- plugins/scp/scp/plugin-meta.json | 2 +- plugins/sftp-cache/sftp-cache/README.md | 4 ++-- .../sftp-cache/sftp-cache/plugin-meta.json | 2 +- plugins/snyk/snyk/README.md | 4 ++-- plugins/snyk/snyk/plugin-meta.json | 2 +- plugins/sonar-qube/sonar-qube/README.md | 4 ++-- .../sonar-qube/sonar-qube/plugin-meta.json | 2 +- plugins/ssh/ssh/README.md | 4 ++-- plugins/ssh/ssh/plugin-meta.json | 2 +- plugins/tencentyun/coscmd/README.md | 4 ++-- plugins/tencentyun/coscmd/plugin-meta.json | 2 +- plugins/tencentyun/tccli/README.md | 4 ++-- plugins/tencentyun/tccli/plugin-meta.json | 2 +- plugins/terraform/terraform/README.md | 4 ++-- plugins/terraform/terraform/plugin-meta.json | 2 +- plugins/upx/upx/README.md | 4 ++-- plugins/upx/upx/plugin-meta.json | 2 +- plugins/webhook/webhook/README.md | 4 ++-- plugins/webhook/webhook/plugin-meta.json | 2 +- .../wechat-for-work/wechat-for-work/README.md | 4 ++-- .../wechat-for-work/plugin-meta.json | 2 +- plugins/wechat/wechat/README.md | 6 ++--- plugins/wechat/wechat/plugin-meta.json | 2 +- plugins/yaml2json/yaml2json/README.md | 8 +++---- plugins/yaml2json/yaml2json/plugin-meta.json | 2 +- 77 files changed, 152 insertions(+), 128 deletions(-) diff --git a/plugins/ansible/ansible/README.md b/plugins/ansible/ansible/README.md index 43fa4b4..8bba6e4 100644 --- a/plugins/ansible/ansible/README.md +++ b/plugins/ansible/ansible/README.md @@ -14,10 +14,10 @@ docker run --rm \ plugins/ansible ``` -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: use ansible @@ -79,7 +79,7 @@ ssh-keygen -t ed25519 -f ./ssh-key 即:`plugins/ansible:3`,示例如下 ```yml -master: +main: push: - stages: - name: use ansible @@ -95,7 +95,7 @@ master: 可通过 imports 动态注入凭证,达到隐藏明文凭证的目标 ```yml -master: +main: push: - stages: - name: use ansible @@ -108,7 +108,7 @@ master: ``` ```yml -#ssh-key.yml +# ssh-key.yml PRIVATE_KEY: | xxxxxx xxxxxx diff --git a/plugins/ansible/ansible/plugin-meta.json b/plugins/ansible/ansible/plugin-meta.json index 19b0b1c..6ee54b3 100644 --- a/plugins/ansible/ansible/plugin-meta.json +++ b/plugins/ansible/ansible/plugin-meta.json @@ -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", diff --git a/plugins/artifactory/artifactory/README.md b/plugins/artifactory/artifactory/README.md index a7b7d6d..9180b0b 100644 --- a/plugins/artifactory/artifactory/README.md +++ b/plugins/artifactory/artifactory/README.md @@ -2,10 +2,10 @@ 发布文件或者制品到制品库。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: artifactory diff --git a/plugins/artifactory/artifactory/plugin-meta.json b/plugins/artifactory/artifactory/plugin-meta.json index 8e784bb..be1273a 100644 --- a/plugins/artifactory/artifactory/plugin-meta.json +++ b/plugins/artifactory/artifactory/plugin-meta.json @@ -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", diff --git a/plugins/clair/clair/README.md b/plugins/clair/clair/README.md index 59927f1..437c872 100644 --- a/plugins/clair/clair/README.md +++ b/plugins/clair/clair/README.md @@ -2,10 +2,10 @@ 通过 Clair 扫描 docker 镜像插件。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: clair @@ -44,7 +44,7 @@ master: * password:Docker Registry密码,用于下载 `scan_image`。 -* scan_image:要扫描的 docker 图像。支持 Docker Hub 或私有仓库。 +* scan_image:要扫描的 docker 镜像。支持 Docker Hub 或私有仓库。 * ca_cert:用于验证 https 的 CA 证书。 diff --git a/plugins/clair/clair/plugin-meta.json b/plugins/clair/clair/plugin-meta.json index bb4a30c..922995e 100644 --- a/plugins/clair/clair/plugin-meta.json +++ b/plugins/clair/clair/plugin-meta.json @@ -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", diff --git a/plugins/codecov/codecov/README.md b/plugins/codecov/codecov/README.md index 07f9018..954a339 100644 --- a/plugins/codecov/codecov/README.md +++ b/plugins/codecov/codecov/README.md @@ -2,10 +2,10 @@ 推送测试报告到Codecov -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: codecov diff --git a/plugins/codecov/codecov/plugin-meta.json b/plugins/codecov/codecov/plugin-meta.json index 08bd064..e170afa 100644 --- a/plugins/codecov/codecov/plugin-meta.json +++ b/plugins/codecov/codecov/plugin-meta.json @@ -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", diff --git a/plugins/datadog/datadog/README.md b/plugins/datadog/datadog/README.md index bc7f115..caaf2e7 100644 --- a/plugins/datadog/datadog/README.md +++ b/plugins/datadog/datadog/README.md @@ -2,10 +2,10 @@ 发送 events 和 metrics 到 Datadog -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: count-pipeline diff --git a/plugins/datadog/datadog/plugin-meta.json b/plugins/datadog/datadog/plugin-meta.json index 629901b..e389f2e 100644 --- a/plugins/datadog/datadog/plugin-meta.json +++ b/plugins/datadog/datadog/plugin-meta.json @@ -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", diff --git a/plugins/diagnostics/diagnostics/README.md b/plugins/diagnostics/diagnostics/README.md index 951059e..00d09b4 100644 --- a/plugins/diagnostics/diagnostics/README.md +++ b/plugins/diagnostics/diagnostics/README.md @@ -2,7 +2,7 @@ 一个 cli 工具插件,用于诊断构建过程中出现的问题。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 插件内置了一些诊断工具,可以用命令行来调用它们。 @@ -13,7 +13,7 @@ - dig ```yml -master: +main: push: - stages: - name: run plugins/drone-diagnostics plugin diff --git a/plugins/diagnostics/diagnostics/plugin-meta.json b/plugins/diagnostics/diagnostics/plugin-meta.json index 99e516e..e8a2a57 100644 --- a/plugins/diagnostics/diagnostics/plugin-meta.json +++ b/plugins/diagnostics/diagnostics/plugin-meta.json @@ -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", diff --git a/plugins/download/download/README.md b/plugins/download/download/README.md index 296edc5..97aaf27 100644 --- a/plugins/download/download/README.md +++ b/plugins/download/download/README.md @@ -2,10 +2,10 @@ 下载构建所需文件的插件。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: download diff --git a/plugins/download/download/plugin-meta.json b/plugins/download/download/plugin-meta.json index cf606b9..4174abc 100644 --- a/plugins/download/download/plugin-meta.json +++ b/plugins/download/download/plugin-meta.json @@ -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", diff --git a/plugins/email/email/README.md b/plugins/email/email/README.md index 668b2f3..67b880f 100644 --- a/plugins/email/email/README.md +++ b/plugins/email/email/README.md @@ -1,11 +1,11 @@ # email -通过email发送构建消息的插件。 +通过 email 发送构建消息的插件。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: notify diff --git a/plugins/email/email/plugin-meta.json b/plugins/email/email/plugin-meta.json index 89dcb43..9bc0edb 100644 --- a/plugins/email/email/plugin-meta.json +++ b/plugins/email/email/plugin-meta.json @@ -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", diff --git a/plugins/ftps/ftps/README.md b/plugins/ftps/ftps/README.md index f8326a1..37fc632 100644 --- a/plugins/ftps/ftps/README.md +++ b/plugins/ftps/ftps/README.md @@ -2,10 +2,10 @@ 通过 ftps 上传制品的插件。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: deploy diff --git a/plugins/ftps/ftps/plugin-meta.json b/plugins/ftps/ftps/plugin-meta.json index 7dfca78..37a4694 100644 --- a/plugins/ftps/ftps/plugin-meta.json +++ b/plugins/ftps/ftps/plugin-meta.json @@ -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", diff --git a/plugins/gpgsign/gpgsign/README.md b/plugins/gpgsign/gpgsign/README.md index e8604a0..613c11b 100644 --- a/plugins/gpgsign/gpgsign/README.md +++ b/plugins/gpgsign/gpgsign/README.md @@ -2,10 +2,10 @@ 通过 GunPG 给制品加密的插件。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: sign diff --git a/plugins/gpgsign/gpgsign/plugin-meta.json b/plugins/gpgsign/gpgsign/plugin-meta.json index 39eeafa..19a66c3 100644 --- a/plugins/gpgsign/gpgsign/plugin-meta.json +++ b/plugins/gpgsign/gpgsign/plugin-meta.json @@ -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", diff --git a/plugins/grafana-annotation/grafana-annotation/README.md b/plugins/grafana-annotation/grafana-annotation/README.md index 56f1603..f2a488d 100644 --- a/plugins/grafana-annotation/grafana-annotation/README.md +++ b/plugins/grafana-annotation/grafana-annotation/README.md @@ -2,10 +2,10 @@ 在 Grafana 中创建注解的插件。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: annotate diff --git a/plugins/grafana-annotation/grafana-annotation/plugin-meta.json b/plugins/grafana-annotation/grafana-annotation/plugin-meta.json index d8eebe2..b5aaf26 100644 --- a/plugins/grafana-annotation/grafana-annotation/plugin-meta.json +++ b/plugins/grafana-annotation/grafana-annotation/plugin-meta.json @@ -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", diff --git a/plugins/helm/helm/README.md b/plugins/helm/helm/README.md index c642598..d87e14f 100644 --- a/plugins/helm/helm/README.md +++ b/plugins/helm/helm/README.md @@ -2,10 +2,10 @@ 部署 Helm chart 的插件。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: helm_deploy diff --git a/plugins/helm/helm/plugin-meta.json b/plugins/helm/helm/plugin-meta.json index 23b2dda..b995a77 100644 --- a/plugins/helm/helm/plugin-meta.json +++ b/plugins/helm/helm/plugin-meta.json @@ -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", diff --git a/plugins/helm3/helm3/README.md b/plugins/helm3/helm3/README.md index d73fd79..99f286b 100644 --- a/plugins/helm3/helm3/README.md +++ b/plugins/helm3/helm3/README.md @@ -2,10 +2,10 @@ Helm3 插件 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: deploy_production diff --git a/plugins/helm3/helm3/plugin-meta.json b/plugins/helm3/helm3/plugin-meta.json index 919c71a..2568d12 100644 --- a/plugins/helm3/helm3/plugin-meta.json +++ b/plugins/helm3/helm3/plugin-meta.json @@ -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", diff --git a/plugins/hugo/hugo/README.md b/plugins/hugo/hugo/README.md index 38399ca..d9a88dd 100644 --- a/plugins/hugo/hugo/README.md +++ b/plugins/hugo/hugo/README.md @@ -2,10 +2,10 @@ 通过 Hugo 自动创建静态 web 页面的插件。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: build diff --git a/plugins/hugo/hugo/plugin-meta.json b/plugins/hugo/hugo/plugin-meta.json index 0b16fcb..75ce138 100644 --- a/plugins/hugo/hugo/plugin-meta.json +++ b/plugins/hugo/hugo/plugin-meta.json @@ -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", diff --git a/plugins/jenkins/jenkins/README.md b/plugins/jenkins/jenkins/README.md index 076136f..ef43a03 100644 --- a/plugins/jenkins/jenkins/README.md +++ b/plugins/jenkins/jenkins/README.md @@ -2,10 +2,10 @@ 触发 Jenkins Jobs 的插件。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: trigger jenkins job diff --git a/plugins/jenkins/jenkins/plugin-meta.json b/plugins/jenkins/jenkins/plugin-meta.json index 4c16045..938260d 100644 --- a/plugins/jenkins/jenkins/plugin-meta.json +++ b/plugins/jenkins/jenkins/plugin-meta.json @@ -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", diff --git a/plugins/k8s/kubectl/README.md b/plugins/k8s/kubectl/README.md index 88ef1a8..3c1d755 100644 --- a/plugins/k8s/kubectl/README.md +++ b/plugins/k8s/kubectl/README.md @@ -4,10 +4,10 @@ Kubectl 是 Kubernetes 命令行接口。通过 Kubectl 命令可以方便的管 Kubectl 同样可以管理腾讯云 tke 集群。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: 使用 kubectl 操作腾讯 TKE 更新指定pod的镜像版本 @@ -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) diff --git a/plugins/k8s/kubectl/plugin-meta.json b/plugins/k8s/kubectl/plugin-meta.json index cc6ce94..8b7a571 100644 --- a/plugins/k8s/kubectl/plugin-meta.json +++ b/plugins/k8s/kubectl/plugin-meta.json @@ -2,7 +2,7 @@ "name": "kubectl", "description": "Kubectl 是 Kubernetes 命令行接口。通过 Kubectl 命令可以方便的管理 Kubernetes 集群。Kubectl 同样可以管理腾讯云 TKE 集群。", "mark": "社区", - "tags": [ "腾讯云", "tke","kubectl","k8s" ], + "tags": ["腾讯云", "cloud", "tke", "kubectl"], "images": "https://hub.docker.com/r/bitnami/kubectl", "source": "https://github.com/kubernetes/kubectl", "bugs": "https://github.com/kubernetes/kubectl/issues", diff --git a/plugins/kaniko/kaniko/README.md b/plugins/kaniko/kaniko/README.md index c4658a2..30adbb1 100644 --- a/plugins/kaniko/kaniko/README.md +++ b/plugins/kaniko/kaniko/README.md @@ -2,10 +2,10 @@ 调用官方 Google Kaniko 的插件。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: kaniko diff --git a/plugins/kaniko/kaniko/plugin-meta.json b/plugins/kaniko/kaniko/plugin-meta.json index a09cc75..72a8f03 100644 --- a/plugins/kaniko/kaniko/plugin-meta.json +++ b/plugins/kaniko/kaniko/plugin-meta.json @@ -2,7 +2,7 @@ "name": "kaniko", "description": "调用官方Google Kaniko的插件", "mark": "社区", - "tags": [], + "tags": ["kaniko", "docker", "k8s", "kubernetes"], "images": "https://hub.docker.com/r/banzaicloud/drone-kaniko", "source": "https://github.com/banzaicloud/drone-kaniko", "bugs": "https://github.com/banzaicloud/drone-kaniko/issues", diff --git a/plugins/manifest/manifest/README.md b/plugins/manifest/manifest/README.md index 09b546b..3d5dd23 100644 --- a/plugins/manifest/manifest/README.md +++ b/plugins/manifest/manifest/README.md @@ -2,10 +2,10 @@ 推送 Docker manifest 多系统架构镜像文件的插件。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: manifest diff --git a/plugins/manifest/manifest/plugin-meta.json b/plugins/manifest/manifest/plugin-meta.json index 52d09cb..7295281 100644 --- a/plugins/manifest/manifest/plugin-meta.json +++ b/plugins/manifest/manifest/plugin-meta.json @@ -2,7 +2,7 @@ "name": "Manifest", "description": "推送Docker manifest多架构镜像文件的插件", "mark": "社区", - "tags": [], + "tags": ["manifest", "docker", "publish", "arch"], "images": "https://hub.docker.com/r/drone-plugins/drone-manifest", "source": "https://github.com/drone-plugins/drone-manifest", "bugs": "https://github.com/drone-plugins/drone-manifest/issues", diff --git a/plugins/markdown/markdownlint-cli2/README.md b/plugins/markdown/markdownlint-cli2/README.md index b713ba6..d274776 100644 --- a/plugins/markdown/markdownlint-cli2/README.md +++ b/plugins/markdown/markdownlint-cli2/README.md @@ -18,11 +18,12 @@ docker run --rm -it -v $(pwd):$(pwd) -w $(pwd) \ davidanson/markdownlint-cli2 "**/*.md" "#node_modules" ``` -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yaml -master: - merge_request: +# .cnb.yml +main: + pull_request: - stages: - name: do markdownlint image: davidanson/markdownlint-cli2 @@ -30,14 +31,25 @@ master: - markdownlint-cli2 **/*.md ``` -排除指定目录 +## 在 Coding-CI 上使用 ```yaml +# .coding-ci.yml master: merge_request: - stages: - name: do markdownlint image: davidanson/markdownlint-cli2 commands: - - markdownlint-cli2 "**/*.md" "#node_modules" + - markdownlint-cli2 **/*.md +``` + +## 排除指定目录 + +```yaml +stages: +- name: do markdownlint + image: davidanson/markdownlint-cli2 + commands: + - markdownlint-cli2 "**/*.md" "#node_modules" ``` diff --git a/plugins/miniprogram/qq-miniprogram/plugin-meta.json b/plugins/miniprogram/qq-miniprogram/plugin-meta.json index 7b44668..a1aa5ec 100644 --- a/plugins/miniprogram/qq-miniprogram/plugin-meta.json +++ b/plugins/miniprogram/qq-miniprogram/plugin-meta.json @@ -2,7 +2,7 @@ "name": "QQ小程序", "description": "QQ小程序自动构建、支持上传并设置为体验版。", "mark": "官方", - "tags": [ "小程序", "QQ"], + "tags": [ "小程序", "QQ", "miniprogram"], "images": "https://hub.docker.com/r/qqminiapp/build/tags", "link": "https://q.qq.com/wiki/tools/ci/", "logo": "logo.png" diff --git a/plugins/newrelic-deployment/newrelic-deployment/README.md b/plugins/newrelic-deployment/newrelic-deployment/README.md index a0c92bf..f14dc4e 100644 --- a/plugins/newrelic-deployment/newrelic-deployment/README.md +++ b/plugins/newrelic-deployment/newrelic-deployment/README.md @@ -2,10 +2,10 @@ 将部署报告记录到 dashboard。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: newrelic diff --git a/plugins/newrelic-deployment/newrelic-deployment/plugin-meta.json b/plugins/newrelic-deployment/newrelic-deployment/plugin-meta.json index b0a7232..ab40efe 100644 --- a/plugins/newrelic-deployment/newrelic-deployment/plugin-meta.json +++ b/plugins/newrelic-deployment/newrelic-deployment/plugin-meta.json @@ -2,7 +2,7 @@ "name": "Newrelic Deployment", "description": "将部署报告记录到dashboard", "mark": "社区", - "tags": [], + "tags": ["report", "dashboard", "newrelic"], "images": "https://hub.docker.com/r/cityfurniture/newrelic-deployment", "source": "https://github.com/cityfurniture/newrelic-deployment", "bugs": "https://github.com/cityfurniture/newrelic-deployment/issues", diff --git a/plugins/npm-auth/npm-auth/README.md b/plugins/npm-auth/npm-auth/README.md index f66fdc2..ebf7ec1 100644 --- a/plugins/npm-auth/npm-auth/README.md +++ b/plugins/npm-auth/npm-auth/README.md @@ -2,10 +2,10 @@ 通过在本地生成 .npmrc 文件验证公有和私有 NPM 仓库。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: npm-auth diff --git a/plugins/npm-auth/npm-auth/plugin-meta.json b/plugins/npm-auth/npm-auth/plugin-meta.json index 32a6776..ef4cdd3 100644 --- a/plugins/npm-auth/npm-auth/plugin-meta.json +++ b/plugins/npm-auth/npm-auth/plugin-meta.json @@ -5,6 +5,6 @@ "images": "https://hub.docker.com/r/robertstettner/drone-npm-auth", "source": "https://github.com/robertstettner/drone-npm-auth", "bugs": "https://github.com/robertstettner/drone-npm-auth/issues", - "tags": [], + "tags": ["npm"], "logo": "logo.svg" } diff --git a/plugins/packer/packer/README.md b/plugins/packer/packer/README.md index 7946e01..e4319ce 100644 --- a/plugins/packer/packer/README.md +++ b/plugins/packer/packer/README.md @@ -2,10 +2,10 @@ 使用 Packer 自动化构建机器镜像。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: packer diff --git a/plugins/packer/packer/plugin-meta.json b/plugins/packer/packer/plugin-meta.json index b23955c..8416544 100644 --- a/plugins/packer/packer/plugin-meta.json +++ b/plugins/packer/packer/plugin-meta.json @@ -2,7 +2,7 @@ "name": "Packer", "description": "使用Packer自动化构建机器镜像", "mark": "社区", - "tags": [], + "tags": ["docker", "packer"], "images": "https://hub.docker.com/r/appleboy/drone-packer", "source": "https://github.com/appleboy/drone-packer", "bugs": "https://github.com/appleboy/drone-packer/issues", diff --git a/plugins/php/phplint/README.md b/plugins/php/phplint/README.md index 78c6da7..c3da677 100644 --- a/plugins/php/phplint/README.md +++ b/plugins/php/phplint/README.md @@ -1,7 +1,6 @@ # phplint `phplint` 是一个可以通过一次运行几个 lint 进程来加速 PHP 文件检查的代码检查工具, -本项目主要提供了 phplint 的 Docker 镜像,主要目标是在 Coding-CI 中对 PHP 代码进行检查。 ## 使用方法 @@ -22,9 +21,23 @@ exclude: docker run --rm -t -v $(pwd):$(pwd) -w $(pwd) overtrue/phplint . ``` +## 在 云原生构建 中使用 + +```yaml +# .cnb.yml +main: + pull_request: + - stages: + - name: git diff phplint + image: overtrue/phplint + commands: | + phplint -h +``` + ## 在 Coding-CI 中使用 ```yaml +# .coding-ci.yml master: merge_request: - stages: diff --git a/plugins/pypi/pypi/README.md b/plugins/pypi/pypi/README.md index 8b7532c..1ab4aea 100644 --- a/plugins/pypi/pypi/README.md +++ b/plugins/pypi/pypi/README.md @@ -2,10 +2,10 @@ 发布 python 包。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: pypi_publish diff --git a/plugins/pypi/pypi/plugin-meta.json b/plugins/pypi/pypi/plugin-meta.json index 8a867f3..82285c1 100644 --- a/plugins/pypi/pypi/plugin-meta.json +++ b/plugins/pypi/pypi/plugin-meta.json @@ -2,7 +2,7 @@ "name": "PyPI", "description": "发布python包", "mark": "社区", - "tags": [], + "tags": ["python", "publish"], "images": "https://hub.docker.com/r/drone-plugins/drone-pypi", "source": "https://github.com/drone-plugins/drone-pypi", "bugs": "https://github.com/drone-plugins/drone-pypi/issues", diff --git a/plugins/rancher/rancher/README.md b/plugins/rancher/rancher/README.md index cbc6ff3..47b96b0 100644 --- a/plugins/rancher/rancher/README.md +++ b/plugins/rancher/rancher/README.md @@ -2,10 +2,10 @@ 在 Rancher 1.x 部署或者更新项目。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: publish diff --git a/plugins/rancher/rancher/plugin-meta.json b/plugins/rancher/rancher/plugin-meta.json index d594bc7..fafe7ee 100644 --- a/plugins/rancher/rancher/plugin-meta.json +++ b/plugins/rancher/rancher/plugin-meta.json @@ -2,7 +2,7 @@ "name": "Rancher", "description": "在Rancher 1.x部署或者更新项目", "mark": "社区", - "tags": [], + "tags": ["deployment", "rancher"], "images": "https://hub.docker.com/r/josmo/drone-rancher", "source": "https://github.com/josmo/drone-rancher", "bugs": "https://github.com/josmo/drone-rancher/issues", diff --git a/plugins/rsync/rsync/README.md b/plugins/rsync/rsync/README.md index d1b7cfb..c29d839 100644 --- a/plugins/rsync/rsync/README.md +++ b/plugins/rsync/rsync/README.md @@ -8,10 +8,10 @@ docker run --rm -t -v $(pwd):$(pwd) -w $(pwd) drillster/drone-rsync . ``` -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: rsync diff --git a/plugins/rsync/rsync/plugin-meta.json b/plugins/rsync/rsync/plugin-meta.json index 2f43b4c..eb6d9f6 100644 --- a/plugins/rsync/rsync/plugin-meta.json +++ b/plugins/rsync/rsync/plugin-meta.json @@ -1,7 +1,7 @@ { "name": "rsync", "description": "rsync 文件同步工具", - "tags": ["rsync", "publish"], + "tags": ["rsync", "publish", "transfer", "sync"], "mark": "社区", "images": "https://hub.docker.com/r/drillster/drone-rsync/tags", "source": "https://github.com/drillster/drone-rsync", diff --git a/plugins/scp/scp/README.md b/plugins/scp/scp/README.md index b516a96..2d22209 100644 --- a/plugins/scp/scp/README.md +++ b/plugins/scp/scp/README.md @@ -2,10 +2,10 @@ 通过 ssh 复制文件或者代码。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: scp files diff --git a/plugins/scp/scp/plugin-meta.json b/plugins/scp/scp/plugin-meta.json index acd46be..43887c1 100644 --- a/plugins/scp/scp/plugin-meta.json +++ b/plugins/scp/scp/plugin-meta.json @@ -2,7 +2,7 @@ "name": "SCP", "description": "通过ssh复制文件或者代码", "mark": "社区", - "tags": [], + "tags": ["ssh", "transfer", "copy"], "images": "https://hub.docker.com/r/appleboy/drone-scp", "source": "https://github.com/appleboy/drone-scp", "bugs": "https://github.com/appleboy/drone-scp/issues", diff --git a/plugins/sftp-cache/sftp-cache/README.md b/plugins/sftp-cache/sftp-cache/README.md index 4cbe743..ec647d5 100644 --- a/plugins/sftp-cache/sftp-cache/README.md +++ b/plugins/sftp-cache/sftp-cache/README.md @@ -2,10 +2,10 @@ 使用 rsync 将制品缓存到中央服务器。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: restore_cache diff --git a/plugins/sftp-cache/sftp-cache/plugin-meta.json b/plugins/sftp-cache/sftp-cache/plugin-meta.json index 60067d1..b17a7f7 100644 --- a/plugins/sftp-cache/sftp-cache/plugin-meta.json +++ b/plugins/sftp-cache/sftp-cache/plugin-meta.json @@ -2,7 +2,7 @@ "name": "SFTP Cache", "description": "使用rsync将制品缓存到中央服务器", "mark": "社区", - "tags": [], + "tags": ["cache", "sftp", "rsync", "sync"], "images": "https://hub.docker.com/r/appleboy/drone-sftp-cache", "source": "https://github.com/appleboy/drone-sftp-cache", "bugs": "https://github.com/appleboy/drone-sftp-cache/issues", diff --git a/plugins/snyk/snyk/README.md b/plugins/snyk/snyk/README.md index b52979d..f76b40f 100644 --- a/plugins/snyk/snyk/README.md +++ b/plugins/snyk/snyk/README.md @@ -2,10 +2,10 @@ 使用 snyk 扫描容器镜像漏洞。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: scan diff --git a/plugins/snyk/snyk/plugin-meta.json b/plugins/snyk/snyk/plugin-meta.json index bf15e25..0e4e972 100644 --- a/plugins/snyk/snyk/plugin-meta.json +++ b/plugins/snyk/snyk/plugin-meta.json @@ -2,7 +2,7 @@ "name": "Snyk", "description": "使用snyk扫描容器镜像漏洞", "mark": "社区", - "tags": [], + "tags": ["scan", "snyk", "docker"], "images": "https://hub.docker.com/r/drone-plugins/drone-snyk", "source": "https://github.com/drone-plugins/drone-snyk", "bugs": "https://github.com/drone-plugins/drone-snyk/issues", diff --git a/plugins/sonar-qube/sonar-qube/README.md b/plugins/sonar-qube/sonar-qube/README.md index 502ebac..e44caa3 100644 --- a/plugins/sonar-qube/sonar-qube/README.md +++ b/plugins/sonar-qube/sonar-qube/README.md @@ -2,10 +2,10 @@ SonarQube 扫描插件。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: sonar-analysis diff --git a/plugins/sonar-qube/sonar-qube/plugin-meta.json b/plugins/sonar-qube/sonar-qube/plugin-meta.json index ebc6946..b1e248e 100644 --- a/plugins/sonar-qube/sonar-qube/plugin-meta.json +++ b/plugins/sonar-qube/sonar-qube/plugin-meta.json @@ -2,7 +2,7 @@ "name": "SonarQube", "description": "SonarQube扫描插件", "mark": "社区", - "tags": [], + "tags": ["scan", "sonar"], "images": "https://hub.docker.com/r/aosapps/drone-sonar-plugin", "source": "https://github.com/aosapps/drone-sonar-plugin", "bugs": "https://github.com/aosapps/drone-sonar-plugin/issues", diff --git a/plugins/ssh/ssh/README.md b/plugins/ssh/ssh/README.md index a0732de..b35ec37 100644 --- a/plugins/ssh/ssh/README.md +++ b/plugins/ssh/ssh/README.md @@ -2,10 +2,10 @@ 通过 ssh 在远端 host 执行命令。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: ssh diff --git a/plugins/ssh/ssh/plugin-meta.json b/plugins/ssh/ssh/plugin-meta.json index c07b0b3..76bf72b 100644 --- a/plugins/ssh/ssh/plugin-meta.json +++ b/plugins/ssh/ssh/plugin-meta.json @@ -2,7 +2,7 @@ "name": "SSH", "description": "通过ssh在远端host执行命令", "mark": "社区", - "tags": [], + "tags": ["ssh", "remote", "command"], "images": "https://hub.docker.com/r/appleboy/drone-ssh", "source": "https://github.com/appleboy/drone-ssh", "bugs": "https://github.com/appleboy/drone-ssh/issues", diff --git a/plugins/tencentyun/coscmd/README.md b/plugins/tencentyun/coscmd/README.md index 430705a..259e98a 100644 --- a/plugins/tencentyun/coscmd/README.md +++ b/plugins/tencentyun/coscmd/README.md @@ -9,10 +9,10 @@ docker run --rm -it -v $(pwd):$(pwd) -w $(pwd) tencentcom/tencentyun-coscmd --ve docker run --rm -it -v $(pwd):$(pwd) -w $(pwd) tencentcom/tencentyun-coscmd -h ``` -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yaml -master: +main: push: - stages: - name: run with tencentyun-coscmd diff --git a/plugins/tencentyun/coscmd/plugin-meta.json b/plugins/tencentyun/coscmd/plugin-meta.json index 56820ec..f4d441e 100644 --- a/plugins/tencentyun/coscmd/plugin-meta.json +++ b/plugins/tencentyun/coscmd/plugin-meta.json @@ -1,7 +1,7 @@ { "name": "tencentyun-coscmd", "description": "使用 COSCMD 工具,用户可通过简单的命令行指令实现对对象(Object)的批量上传、下载、删除等操作。", - "tags": ["腾讯云","cos"], + "tags": ["腾讯云", "cos", "transfer", "cloud"], "logo": "logo.png", "mark": "官方", "source": "https://github.com/tencentyun/coscmd", diff --git a/plugins/tencentyun/tccli/README.md b/plugins/tencentyun/tccli/README.md index 50a92e5..2ce4589 100644 --- a/plugins/tencentyun/tccli/README.md +++ b/plugins/tencentyun/tccli/README.md @@ -9,10 +9,10 @@ docker run --rm -it tencentcom/tencentcloud-cli --version docker run --rm -it tencentcom/tencentcloud-cli help ``` -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yaml -master: +main: push: - stages: - name: run with tencentcloud-cli diff --git a/plugins/tencentyun/tccli/plugin-meta.json b/plugins/tencentyun/tccli/plugin-meta.json index d2ef80f..e6e1fb9 100644 --- a/plugins/tencentyun/tccli/plugin-meta.json +++ b/plugins/tencentyun/tccli/plugin-meta.json @@ -1,7 +1,7 @@ { "name": "tencentcloud-cli", "description": "通过腾讯云命令行工具,您可以快速轻松的调用腾讯云 API来管理您的腾讯云资源", - "tags": ["腾讯云"], + "tags": ["腾讯云", "cli", "cloud"], "mark": "官方", "images": "https://hub.docker.com/r/tencentcom/tencentcloud-cli/tags", "source": "https://github.com/TencentCloud/tencentcloud-cli", diff --git a/plugins/terraform/terraform/README.md b/plugins/terraform/terraform/README.md index f84f661..90c9a99 100644 --- a/plugins/terraform/terraform/README.md +++ b/plugins/terraform/terraform/README.md @@ -2,10 +2,10 @@ 执行 Terraform `plan` 和 `apply`。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: terraform diff --git a/plugins/terraform/terraform/plugin-meta.json b/plugins/terraform/terraform/plugin-meta.json index b93953c..47fc754 100644 --- a/plugins/terraform/terraform/plugin-meta.json +++ b/plugins/terraform/terraform/plugin-meta.json @@ -2,7 +2,7 @@ "name": "Terraform", "description": "执行Terraform plan和apply", "mark": "社区", - "tags": [], + "tags": ["terraform"], "images": "https://hub.docker.com/r/jmccann/drone-terraform", "source": "https://github.com/jmccann/drone-terraform", "bugs": "https://github.com/jmccann/drone-terraform/issues", diff --git a/plugins/upx/upx/README.md b/plugins/upx/upx/README.md index a03c127..33dd36e 100644 --- a/plugins/upx/upx/README.md +++ b/plugins/upx/upx/README.md @@ -2,10 +2,10 @@ UPX 压缩插件。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: upx diff --git a/plugins/upx/upx/plugin-meta.json b/plugins/upx/upx/plugin-meta.json index 8307297..1462674 100644 --- a/plugins/upx/upx/plugin-meta.json +++ b/plugins/upx/upx/plugin-meta.json @@ -2,7 +2,7 @@ "name": "UPX", "description": "UPX压缩插件", "mark": "社区", - "tags": [], + "tags": ["upx", "compress"], "images": "https://hub.docker.com/r/cnbattle/drone-upx", "source": "https://github.com/cnbattle/drone-upx", "bugs": "https://github.com/cnbattle/drone-upx/issues", diff --git a/plugins/webhook/webhook/README.md b/plugins/webhook/webhook/README.md index 5fb6f37..ba2dbb1 100644 --- a/plugins/webhook/webhook/README.md +++ b/plugins/webhook/webhook/README.md @@ -2,10 +2,10 @@ 通过 webhook 发送构建状态通知。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: send diff --git a/plugins/webhook/webhook/plugin-meta.json b/plugins/webhook/webhook/plugin-meta.json index 85c0eae..879ad8f 100644 --- a/plugins/webhook/webhook/plugin-meta.json +++ b/plugins/webhook/webhook/plugin-meta.json @@ -2,7 +2,7 @@ "name": "Webhook", "description": "通过webhook发送构建状态通知", "mark": "社区", - "tags": [], + "tags": ["webhook", "notify"], "images": "https://hub.docker.com/r/drone-plugins/drone-webhook", "source": "https://github.com/drone-plugins/drone-webhook", "bugs": "https://github.com/drone-plugins/drone-webhook/issues", diff --git a/plugins/wechat-for-work/wechat-for-work/README.md b/plugins/wechat-for-work/wechat-for-work/README.md index 9e5eba8..1ce27ca 100644 --- a/plugins/wechat-for-work/wechat-for-work/README.md +++ b/plugins/wechat-for-work/wechat-for-work/README.md @@ -2,10 +2,10 @@ 通过企业微信发送构建状态通知。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: wechat diff --git a/plugins/wechat-for-work/wechat-for-work/plugin-meta.json b/plugins/wechat-for-work/wechat-for-work/plugin-meta.json index 451a2ed..d6f69e7 100644 --- a/plugins/wechat-for-work/wechat-for-work/plugin-meta.json +++ b/plugins/wechat-for-work/wechat-for-work/plugin-meta.json @@ -2,7 +2,7 @@ "name": "Wechat for Work", "description": "通过企业微信发送构建状态通知", "mark": "社区", - "tags": [], + "tags": ["wework", "message", "notify"], "images": "https://hub.docker.com/r/clem109/drone-wechat", "source": "https://github.com/clem109/drone-wechat", "bugs": "https://github.com/clem109/drone-wechat/issues", diff --git a/plugins/wechat/wechat/README.md b/plugins/wechat/wechat/README.md index ec05964..fdd0a52 100644 --- a/plugins/wechat/wechat/README.md +++ b/plugins/wechat/wechat/README.md @@ -2,10 +2,10 @@ 微信发消息插件。 -## 在 Coding-CI 上使用 +## 在 云原生构建I 上使用 ```yml -master: +main: push: - stages: - name: send wecat notifications @@ -27,7 +27,7 @@ master: ## 参数含义 -- corpid: 企业Id。 +- `corpid`: 企业Id。 - `corp_secret`: 管理组的凭证密钥。 - `agent_id`: 企业应用的id,整型。可在应用的设置页面查看。 - `to_party`: 部门ID列表,多个接收者用‘|’分隔,最多支持100个。 diff --git a/plugins/wechat/wechat/plugin-meta.json b/plugins/wechat/wechat/plugin-meta.json index 7ecebdf..9107b9d 100644 --- a/plugins/wechat/wechat/plugin-meta.json +++ b/plugins/wechat/wechat/plugin-meta.json @@ -2,7 +2,7 @@ "name": "wechat", "description": "基于微信企业号封装的,微信发消息插件。", "mark": "社区", - "tags": [ "微信", "wechat","message" ], + "tags": ["微信", "wechat", "message", "notify"], "images": "https://hub.docker.com/r/lizheming/drone-wechat", "source": "https://github.com/lizheming/drone-wechat", "bugs": "https://github.com/lizheming/drone-wechat/issues", diff --git a/plugins/yaml2json/yaml2json/README.md b/plugins/yaml2json/yaml2json/README.md index 15d154c..16066e4 100644 --- a/plugins/yaml2json/yaml2json/README.md +++ b/plugins/yaml2json/yaml2json/README.md @@ -2,16 +2,16 @@ 将 yaml 转换为 json 格式。 -## 在 Coding-CI 上使用 +## 在 云原生构建 上使用 ```yml -master: +main: push: - stages: - name: yaml2json image: simplealpine/yaml2json - args: - data.yaml + settints: + args: data.yaml ``` diff --git a/plugins/yaml2json/yaml2json/plugin-meta.json b/plugins/yaml2json/yaml2json/plugin-meta.json index 3c69687..326e804 100644 --- a/plugins/yaml2json/yaml2json/plugin-meta.json +++ b/plugins/yaml2json/yaml2json/plugin-meta.json @@ -2,7 +2,7 @@ "name": "yaml2json", "description": "将yaml转换为json格式", "mark": "社区", - "tags": [], + "tags": ["yaml", "json", "parse", "convert"], "images": "https://hub.docker.com/r/simplealpine/yaml2json", "source": "", "bugs": "",