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/coding-plugins/tem-deploy-application/README.md b/plugins/coding-plugins/tem-deploy-application/README.md deleted file mode 100644 index f381760..0000000 --- a/plugins/coding-plugins/tem-deploy-application/README.md +++ /dev/null @@ -1,95 +0,0 @@ -# tem-deploy-application - -TEM 部署应用 - -## 在 Coding-CI 上使用 - -```yml - -master: - push: - - stages: - - name: tem-deploy-application - imports: https://xxx/envs.yaml - image: cralazy/tem_deploy_application:latest - settings: - secret_id: $SECRET_ID - secret_key: $SECRET_KEY - big_region: "China" - application_name: "appname" - environment_name: "env" - coding_language: "JAVA" - deploy_mode: "IMAGE" - cpu_spec: 1 - memory_spec: 1024 - init_pod_num: 1 - repo_type: 0 - tcr_instance_id: "id" - image_repo: "ccr.ccs.tencentyun.com/namespace/repo:tag" - pkg_path: "/path" - jdk_version: "master" - deploy_version: "version" - deploy_strategy_type: 0 - total_batch_count: 2 - batch_interval: 1 - min_available: 1 - beta_batch_num: 0 -``` - -[envs.yml文件示例](https://x123456789x.coding.net/public/oci-demo-public/oci-qci-trigger-subpipeline-demo-envs/git/files/master/envs.yaml) - -```yml -SECRET_ID: xxxxxx -SECRET_KEY: xxxxxx -``` - -## 参数 - -* `secret_id`:API 个人密钥 id, 请前往腾讯云 访问管理-访问密钥 获取 - -* `secret_key`:API 个人密钥 key, 请前往腾讯云 访问管理-访问密钥 获取 - -* `big_region`:所在地域。China - -* `application_name`:应用名称, 支持根据名称新建应用, 或选择存量应用部署至新环境 - -* `environment_name`:环境名称, 若无合适环境, 请前往控制台创建 - -* `coding_language`:编程语言,可选:JAVA PHP GO PYTHON NODE OTHER - -* `deploy_mode`:部署方式,可选:IMAGE JAR WAR - -* `cpu_spec`:CPU 规格 (单位: 核) - -* `memory_spec`:内存规格 (单位: Gi) - -* `init_pod_num`:初始化实例数 - -* `repo_type`:镜像仓库类型, 镜像部署时必填。0:个人版TCR,1:企业版TCR,2:公共镜像 - -* `image_repo`:镜像部署: 仓库地址,例: ccr.ccs.tencentyun.com/namespace/repo:tag, 镜像部署时必填 - -* `tcr_instance_id`:镜像部署: 企业版TCR实例ID,例: tcr-xxxxxxxx, 企业版TCR镜像部署时必填 - -* `jdk_version`:Jdk版本, Jar 包/War 包部署时必填,可选:"KONA:8","KONA:11","OPEN:8","OPEN:11" - -* `pkg_path`:Jar 包/War 包在构建环境内的文件路径, 一般为 /root/workspace/xxx, Jar 包/War 包部署时必填 - -* `deploy_version`:程序包版本号, Jar 包/War 包部署时必填 - -* `deploy_strategy_type`:发布触发策略,可选:0:自动触发,1:全手动触发,2:小批量验证后自动触发 - -* `total_batch_count`:发布批次数 - -* `batch_interval`:批次间等待时间 (单位: 秒) - -* `beta_batch_num`:小批量验证批次的实例数 - -* `min_available`:发布过程中保障的最小可用实例数。 --1 表示发布过程中保障与当前等量的可用实例; -0 表示发布过程中不保障有服务在线; -n(n>0) 表示发布过程中保障至少有 n 个实例在线 - -## 更多用法 - -更多用法参考:[tem帮助文档](https://cloud.tencent.com/document/product/1371/52882) diff --git a/plugins/coding-plugins/tem-deploy-application/logo.svg b/plugins/coding-plugins/tem-deploy-application/logo.svg deleted file mode 100644 index 4ac22db..0000000 --- a/plugins/coding-plugins/tem-deploy-application/logo.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/plugins/coding-plugins/tem-deploy-application/plugin-meta.json b/plugins/coding-plugins/tem-deploy-application/plugin-meta.json deleted file mode 100644 index bb399ed..0000000 --- a/plugins/coding-plugins/tem-deploy-application/plugin-meta.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "tem-deploy-application", - "description": "TEM 部署应用", - "mark": "社区", - "tags": [ "coding"], - "images": "https://hub.docker.com/r/cralazy/tem_deploy_application", - "source": "", - "bugs": "", - "logo": "logo.svg" -} diff --git a/plugins/coding-plugins/trigger-sub-pipeline/README.md b/plugins/coding-plugins/trigger-sub-pipeline/README.md deleted file mode 100644 index 0a5b6e2..0000000 --- a/plugins/coding-plugins/trigger-sub-pipeline/README.md +++ /dev/null @@ -1,42 +0,0 @@ -# trigger-cci-subpipeline - -触发Coding-CI流水线运行 - -## 在 Coding-CI 上使用 - -```yml - -master: - push: - - stages: - - name: trigger sub pipeline - imports: https://xxx/envs.yml - image: cralazy/trigger_codingci_subpipeline:latest - settings: - job_id: 2726281 - reftype: "branch" - revision: "master" - envs: "env=env" -``` - -[envs.yml文件示例](https://x123456789x.coding.net/public/oci-demo-public/oci-qci-trigger-subpipeline-demo-envs/git/files/master/envs.yaml) - -```yml -PROJECT_TOKEN: xxxxxx -CCI_CURRENT_WEB_PROTOCOL: https -CCI_CURRENT_DOMAIN: coding.net -CCI_CURRENT_TEAM: your_domain -PROJECT_ID: "1111111" -PROJECT_NAME: plugins -CCI_JOB_NAME: trigger sub pipeline -``` - -## 参数 - -* `job_id`:coding构建计划job id - -* `reftype`:checkout类型,可选分支名branch或者revision - -* `revision`:分支名/版本号 - -* `envs`:流水线环境变量 diff --git a/plugins/coding-plugins/trigger-sub-pipeline/logo.svg b/plugins/coding-plugins/trigger-sub-pipeline/logo.svg deleted file mode 100644 index 4ac22db..0000000 --- a/plugins/coding-plugins/trigger-sub-pipeline/logo.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/plugins/coding-plugins/trigger-sub-pipeline/plugin-meta.json b/plugins/coding-plugins/trigger-sub-pipeline/plugin-meta.json deleted file mode 100644 index 77eea57..0000000 --- a/plugins/coding-plugins/trigger-sub-pipeline/plugin-meta.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "trigger-cci-sub-pipeline", - "description": "触发Coding-CI流水线运行", - "mark": "社区", - "tags": [ "coding"], - "images": "https://hub.docker.com/r/cralazy/trigger_codingci_subpipeline", - "source": "", - "bugs": "", - "logo": "logo.svg" -} 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/gitleaks/gitleaks/README.md b/plugins/gitleaks/gitleaks/README.md deleted file mode 100644 index 0aab931..0000000 --- a/plugins/gitleaks/gitleaks/README.md +++ /dev/null @@ -1,22 +0,0 @@ -# gitleaks - -检测git库中敏感信息的插件。 - -## 在 Coding-CI 上使用 - -```yml -master: - push: - - stages: - - name: run gitleaks - image: plugins/gitleaks - settings: - path: . - -``` - -## 参数 - -## 更多用法 - -更多用法参考:[drone/drone-gitleaks](https://github.com/drone/drone-gitleaks)。 diff --git a/plugins/gitleaks/gitleaks/logo.png b/plugins/gitleaks/gitleaks/logo.png deleted file mode 100644 index ae64e07..0000000 Binary files a/plugins/gitleaks/gitleaks/logo.png and /dev/null differ diff --git a/plugins/gitleaks/gitleaks/plugin-meta.json b/plugins/gitleaks/gitleaks/plugin-meta.json deleted file mode 100644 index 60f4ad7..0000000 --- a/plugins/gitleaks/gitleaks/plugin-meta.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "gitleaks", - "description": "检测git库中敏感信息的插件", - "mark": "社区", - "tags": [], - "images": "https://hub.docker.com/r/drone/drone-gitleaks", - "source": "https://github.com/drone/drone-gitleaks", - "bugs": "https://github.com/drone/drone-gitleaks/issues", - "logo": "logo.png" -} 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..ea2aa08 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 @@ -17,15 +17,13 @@ master: template: foo/bar:v1.0.0-OS-ARCH platforms: - linux/amd64 - - linux/arm - linux/arm64 ``` -通过上面的配置,可以在 DockerHub 给 `foo/bar` 打上 `v1.0.0` 标签,并且 `v1.0.0` 跟 DockerHub 上这三个标签的镜像关联: +通过上面的配置,可以在 DockerHub 给 `foo/bar` 打上 `v1.0.0` 标签,并且 `v1.0.0` 跟 DockerHub 上这两个标签的镜像关联: - foo/bar:v1.0.0-linux-amd64 -- foo/bar:v1.0.0-linux-arm - foo/bar:v1.0.0-linux-arm64 执行 `docker pull foo/bar:v1.0.0` 时会基于运行环境的系统架构,拉取对应的镜像。 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 60f4812..d274776 100644 --- a/plugins/markdown/markdownlint-cli2/README.md +++ b/plugins/markdown/markdownlint-cli2/README.md @@ -5,7 +5,9 @@ linting Markdown files with the markdownlint。 ## 在 Docker 上使用 ```shell -docker run --rm -it -v $(pwd):$(pwd) -w $(pwd) davidanson/markdownlint-cli2 **/*.md +docker run -w /myfolder -v $(pwd):/myfolder davidanson/markdownlint-cli2 docs/**/*.md + +docker run -w /myfolder -v $(pwd):/myfolder davidanson/markdownlint-cli2 --fix docs/**/*.md ``` 尝试自动修复检查过程中发现的问题 @@ -16,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 @@ -28,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..f517be5 100644 --- a/plugins/tencentyun/coscmd/README.md +++ b/plugins/tencentyun/coscmd/README.md @@ -1,4 +1,4 @@ -# 腾讯云COS 命令行工具 +# 腾讯云 COS 命令行工具 使用 COSCMD 工具,用户可通过简单的命令行指令实现对对象(Object)的批量上传、下载、删除等操作。 @@ -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..3dae9cd 100644 --- a/plugins/tencentyun/coscmd/plugin-meta.json +++ b/plugins/tencentyun/coscmd/plugin-meta.json @@ -1,7 +1,7 @@ { - "name": "tencentyun-coscmd", + "name": "对象存储命令行", "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..358c022 100644 --- a/plugins/tencentyun/tccli/plugin-meta.json +++ b/plugins/tencentyun/tccli/plugin-meta.json @@ -1,7 +1,7 @@ { - "name": "tencentcloud-cli", + "name": "腾讯云命令行", "description": "通过腾讯云命令行工具,您可以快速轻松的调用腾讯云 API来管理您的腾讯云资源", - "tags": ["腾讯云"], + "tags": ["腾讯云", "cli", "api"], "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": "",