From d4008a0f476ee21523812926932d918ed70efebf Mon Sep 17 00:00:00 2001 From: Ivan Huryn Date: Thu, 7 Nov 2024 17:42:50 +0200 Subject: [PATCH 1/2] drone allure server plugin --- plugins/allure-server/content.yaml | 85 ++++++++++++++++++++++++++++++ public/logos/allure_server.svg | 64 ++++++++++++++++++++++ 2 files changed, 149 insertions(+) create mode 100644 plugins/allure-server/content.yaml create mode 100644 public/logos/allure_server.svg diff --git a/plugins/allure-server/content.yaml b/plugins/allure-server/content.yaml new file mode 100644 index 00000000..96a5b54b --- /dev/null +++ b/plugins/allure-server/content.yaml @@ -0,0 +1,85 @@ +title: Allure Server +author: igur007 +tags: + - publish + - test + - reporting +logo: allure_server.svg +repo: https://github.com/Igur007/drone-allure-server-plugin +image: https://hub.docker.com/r/igur007/drone-allure-server-plugin +license: Apache License 2.0 +readme: https://github.com/Igur007/drone-allure-server-plugin/blob/main/README.md +description: The Allure Server plugin uploads allure result files to your allure server and generates report. +example: | + kind: pipeline + name: allure report + + steps: + - name: allure-report + image: igur007/drone-allure-server-plugin:latest + environment: + ALLURE_SERVER_URL: http://10.110.213.220:8080 + secrets: [DRONE_BUILD_NUMBER, DRONE_BUILD_LINK] +properties: + ALLURE_SERVER_URL: + type: string + defaultValue: "" + description: Full url of your deployed allure-server + secret: false + required: true + ALLURE_SERVER_USERNAME: + type: string + defaultValue: "" + description: Username for basic auth if it's enabled + secret: true + required: false + ALLURE_SERVER_PASSWORD: + type: string + defaultValue: "" + description: Password for basic auth if it's enabled + secret: false + required: false + REPORT_PATH: + type: string + defaultValue: "main" + description: + It is used to group test reports. All reports with same path will have common allure history. + Also it used as url path to access latest report. You can specify branch name here, or project name. + secret: false + required: false + REPORT_NAME: + type: string + defaultValue: "Allure" + description: Report name + secret: false + required: false + REPORT_URL: + type: string + defaultValue: "" + description: Report URL + secret: false + required: false + EXECUTOR_INFO_NAME: + type: string + defaultValue: "Drone" + description: Executor name + secret: false + required: false + EXECUTOR_INFO_TYPE: + type: string + defaultValue: "exectype" + description: Executor type + secret: false + required: false + EXECUTOR_INFO_URL: + type: string + defaultValue: "" + description: Executor url + secret: false + required: false + DELETE_RESULTS: + type: boolean + defaultValue: true + description: Is used to define if to delete results after report generation. + secret: false + required: false diff --git a/public/logos/allure_server.svg b/public/logos/allure_server.svg new file mode 100644 index 00000000..ac1574e4 --- /dev/null +++ b/public/logos/allure_server.svg @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From 57aed070cc0e7aae9a1ad50ca94f77e21f9fa4bf Mon Sep 17 00:00:00 2001 From: Ivan Huryn Date: Thu, 7 Nov 2024 17:45:15 +0200 Subject: [PATCH 2/2] fix license validation error --- plugins/aws-sam-build/content.yaml | 2 +- plugins/aws-sam-deploy/content.yaml | 2 +- plugins/nexus-publish/content.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/aws-sam-build/content.yaml b/plugins/aws-sam-build/content.yaml index b6f90ae8..bde68053 100644 --- a/plugins/aws-sam-build/content.yaml +++ b/plugins/aws-sam-build/content.yaml @@ -7,7 +7,7 @@ tags: - sam build repo: https://github.com/harness-community/drone-aws-sam/tree/main/aws-sam-build image: https://hub.docker.com/r/plugins/aws-sam-build/ -license: Apache 2.0 License +license: Apache License 2.0 readme: https://github.com/harness-community/drone-aws-sam/blob/main/aws-sam-build/README.md description: This plugin enables building AWS Serverless Application Model (SAM) applications using the sam build command. It supports various options for building, including using a specific Docker image, providing build command options, and authenticating with a private Docker registry. example: | diff --git a/plugins/aws-sam-deploy/content.yaml b/plugins/aws-sam-deploy/content.yaml index 0673ba17..73603a8d 100644 --- a/plugins/aws-sam-deploy/content.yaml +++ b/plugins/aws-sam-deploy/content.yaml @@ -7,7 +7,7 @@ tags: - sam deploy repo: https://github.com/harness-community/drone-aws-sam/tree/main/aws-sam-deploy image: https://hub.docker.com/r/plugins/aws-sam-deploy/ -license: Apache 2.0 License +license: Apache License 2.0 readme: https://github.com/harness-community/drone-aws-sam/blob/main/aws-sam-deploy/README.md description: This plugin enables the deployment of AWS Serverless Application Model (SAM) applications. It provides various options for authenticating with AWS, including using access keys, session tokens, and assuming roles with or without web identity tokens. example: | diff --git a/plugins/nexus-publish/content.yaml b/plugins/nexus-publish/content.yaml index fb556975..bfb52dfb 100644 --- a/plugins/nexus-publish/content.yaml +++ b/plugins/nexus-publish/content.yaml @@ -8,7 +8,7 @@ tags: logo: sonatype_nexus.png repo: https://github.com/harness-community/drone-nexus-publish image: https://hub.docker.com/r/harnesscommunity/drone-nexus-publish/ -license: Apache 2.0 License +license: Apache License 2.0 readme: https://github.com/harness-community/drone-nexus-publish/blob/main/README.md description: Drone plugin to publish artifacts to Nexus Repository Manager. example: |