From c1eb3844b3f8fcb9f6509e52fc2af25417904889 Mon Sep 17 00:00:00 2001 From: alexstroke1 Date: Thu, 7 Nov 2024 17:55:05 +0100 Subject: [PATCH] Update iroha2-allure.yml add env var into allure job Signed-off-by: alexstroke1 --- .github/workflows/iroha2-allure.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/iroha2-allure.yml b/.github/workflows/iroha2-allure.yml index ea873dda..e8178683 100644 --- a/.github/workflows/iroha2-allure.yml +++ b/.github/workflows/iroha2-allure.yml @@ -1,8 +1,6 @@ name: Iroha2-java upload tests results to Soramitsu TestOps on: - pull_request: - branches: [ iroha2-dev, iroha2-main ] workflow_dispatch: inputs: GITHUB_TESTS_ENDPOINT: @@ -21,12 +19,9 @@ on: required: false env: - ALLURE_TOKEN: ${{ secrets.ALLURE_TOKEN }} + IROHA_IMAGE_TAG: "dev" ALLURE_RESULTS: "${{ github.workspace }}/modules/client/build/allure-results" - GITHUB_TESTS_ENDPOINT: ${{ github.event.inputs.GITHUB_TESTS_ENDPOINT || 'https://soramitsu.testops.cloud' }} - GITHUB_TESTS_BROWSER: ${{ github.event.inputs.GITHUB_TESTS_BROWSER || 'chrome' }} - ALLURE_JOB_RUN_ID: ${{ github.event.inputs.ALLURE_JOB_RUN_ID || '' }} - ALLURE_USERNAME: ${{ github.event.inputs.ALLURE_USERNAME || '' }} + ALLURE_JOB_RUN_ID: ${{ github.event.inputs.ALLURE_JOB_RUN_ID }} jobs: @@ -47,7 +42,7 @@ jobs: allure-project-id: 1 - name: Build with Gradle run: | - ./gradlew clean test --continue + allurectl watch -- ./gradlew clean test --continue printenv | grep GITHUB_TESTS_ env: GITHUB_TESTS_ENDPOINT: ${{ github.event.inputs.GITHUB_TESTS_ENDPOINT }}