From 440f7fa0e0859a34fcb716f2751070a56e343edd Mon Sep 17 00:00:00 2001 From: cheerego <41974873@qq.com> Date: Thu, 7 Mar 2024 15:39:25 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E5=88=A0=E9=99=A4=20trigger-sub-pipeline?= =?UTF-8?q?=20=E6=8F=92=E4=BB=B6=E5=92=8C=20tem-deploy-application=20(#45)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: hekangning --- .../tem-deploy-application/README.md | 95 ------------------- .../tem-deploy-application/logo.svg | 5 - .../tem-deploy-application/plugin-meta.json | 10 -- .../trigger-sub-pipeline/README.md | 42 -------- .../trigger-sub-pipeline/logo.svg | 5 - .../trigger-sub-pipeline/plugin-meta.json | 10 -- 6 files changed, 167 deletions(-) delete mode 100644 plugins/coding-plugins/tem-deploy-application/README.md delete mode 100644 plugins/coding-plugins/tem-deploy-application/logo.svg delete mode 100644 plugins/coding-plugins/tem-deploy-application/plugin-meta.json delete mode 100644 plugins/coding-plugins/trigger-sub-pipeline/README.md delete mode 100644 plugins/coding-plugins/trigger-sub-pipeline/logo.svg delete mode 100644 plugins/coding-plugins/trigger-sub-pipeline/plugin-meta.json 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" -} From 2fe3dc7da9aa7cde6e0f70dcf34ddd4e010f25c1 Mon Sep 17 00:00:00 2001 From: Folger fan Date: Fri, 22 Mar 2024 10:23:57 +0800 Subject: [PATCH 2/6] =?UTF-8?q?fix:=20=E6=9B=B4=E6=AD=A3markdownlint-cli2?= =?UTF-8?q?=E7=94=A8=E6=B3=95=20(#42)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: folgerfan --- plugins/markdown/markdownlint-cli2/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/markdown/markdownlint-cli2/README.md b/plugins/markdown/markdownlint-cli2/README.md index 60f4812..b713ba6 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 ``` 尝试自动修复检查过程中发现的问题 From 97a4362ed3f26b96b672163e8db18c9ee50f30af Mon Sep 17 00:00:00 2001 From: Folger fan Date: Fri, 22 Mar 2024 10:39:20 +0800 Subject: [PATCH 3/6] =?UTF-8?q?feat:=20=E5=88=A0=E9=99=A4gitleeks=20(#46)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: folgerfan --- plugins/gitleaks/gitleaks/README.md | 22 --------------------- plugins/gitleaks/gitleaks/logo.png | Bin 8267 -> 0 bytes plugins/gitleaks/gitleaks/plugin-meta.json | 10 ---------- 3 files changed, 32 deletions(-) delete mode 100644 plugins/gitleaks/gitleaks/README.md delete mode 100644 plugins/gitleaks/gitleaks/logo.png delete mode 100644 plugins/gitleaks/gitleaks/plugin-meta.json 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 ae64e076c59dc644334710413285525d0fb80d1a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8267 zcmZ{KbySpZ&^9Q-ip0|0OLq&>l1qoUG%P8sgn)>Yguqh55>gTZOUEK24FXF_3oKFw zp(w2aQtz|+d(V5$ch2_*aL#kz&vVbrJ#)>>H6TrlbjV4WNeKuD$n|tJ&49m)zz-Hg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5=8A=A0?= =?UTF-8?q?tag=20(#47)?= 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": "", From 2b8a2f93e1039d9ef8817bdd0df3282fe2cfbc0d Mon Sep 17 00:00:00 2001 From: Folger fan Date: Tue, 16 Apr 2024 16:51:51 +0800 Subject: [PATCH 5/6] =?UTF-8?q?feat:=20=E8=85=BE=E8=AE=AF=E4=BA=91?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E6=8F=92=E4=BB=B6name=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E4=B8=AD=E6=96=87=20(#48)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: folgerfan --- plugins/tencentyun/coscmd/README.md | 2 +- plugins/tencentyun/coscmd/plugin-meta.json | 2 +- plugins/tencentyun/tccli/plugin-meta.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/tencentyun/coscmd/README.md b/plugins/tencentyun/coscmd/README.md index 259e98a..f517be5 100644 --- a/plugins/tencentyun/coscmd/README.md +++ b/plugins/tencentyun/coscmd/README.md @@ -1,4 +1,4 @@ -# 腾讯云COS 命令行工具 +# 腾讯云 COS 命令行工具 使用 COSCMD 工具,用户可通过简单的命令行指令实现对对象(Object)的批量上传、下载、删除等操作。 diff --git a/plugins/tencentyun/coscmd/plugin-meta.json b/plugins/tencentyun/coscmd/plugin-meta.json index f4d441e..3dae9cd 100644 --- a/plugins/tencentyun/coscmd/plugin-meta.json +++ b/plugins/tencentyun/coscmd/plugin-meta.json @@ -1,5 +1,5 @@ { - "name": "tencentyun-coscmd", + "name": "对象存储命令行", "description": "使用 COSCMD 工具,用户可通过简单的命令行指令实现对对象(Object)的批量上传、下载、删除等操作。", "tags": ["腾讯云", "cos", "transfer", "cloud"], "logo": "logo.png", diff --git a/plugins/tencentyun/tccli/plugin-meta.json b/plugins/tencentyun/tccli/plugin-meta.json index e6e1fb9..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": ["腾讯云", "cli", "cloud"], + "tags": ["腾讯云", "cli", "api"], "mark": "官方", "images": "https://hub.docker.com/r/tencentcom/tencentcloud-cli/tags", "source": "https://github.com/TencentCloud/tencentcloud-cli", From 44fe0bd84fa80805512dfbde3c3b7317d318d4e8 Mon Sep 17 00:00:00 2001 From: Folger fan Date: Wed, 19 Jun 2024 16:04:37 +0800 Subject: [PATCH 6/6] =?UTF-8?q?docs:=20=E5=8E=BB=E6=8E=89manifest=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=E6=96=87=E6=A1=A3=E6=97=A0=E7=94=A8=E5=86=85=E5=AE=B9?= =?UTF-8?q?=20(#49)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: folgerfan --- plugins/manifest/manifest/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/manifest/manifest/README.md b/plugins/manifest/manifest/README.md index 3d5dd23..ea2aa08 100644 --- a/plugins/manifest/manifest/README.md +++ b/plugins/manifest/manifest/README.md @@ -17,15 +17,13 @@ main: 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` 时会基于运行环境的系统架构,拉取对应的镜像。