From 37051500b5722e9f0eb2ab7e350d2daf16bc6d11 Mon Sep 17 00:00:00 2001 From: Sammers21 Date: Tue, 28 Jul 2020 13:25:32 +0300 Subject: [PATCH] #21 - improve action input/outputs and arguments --- action.yaml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/action.yaml b/action.yaml index e92a612b..f1598bdc 100644 --- a/action.yaml +++ b/action.yaml @@ -10,23 +10,16 @@ inputs: aws-secret-key: description: 'AWS secret key to create perfomance tests environment' required: true - adapter: - description: 'Artipie adapter to test' - required: true - scenario: - description: 'JMeter scenario file to execute' - required: true version: description: 'Docker tag of Artipie image to test' required: true +outputs: + report: + description: 'Report containing JSON file with benchmarking results' runs: using: 'docker' image: Dockerfile env: + ARTIPIE_VERSION: ${{ inputs.version }} TF_VAR_access_key: ${{ inputs.aws-access-key }} TF_VAR_secret_key: ${{ inputs.aws-secret-key }} - args: - - ${{ inputs.adapter }} - - ${{ inputs.scenario }} - - artipie - - ${{ inputs.version }}