From 5d6b9ab0d1bd9da8a31c533d034bdc205c214277 Mon Sep 17 00:00:00 2001 From: BAStos525 <66615487+BAStos525@users.noreply.github.com> Date: Wed, 30 Oct 2024 11:24:44 +0300 Subject: [PATCH] ci: fix/remove iroha2 ci wrong params (#5206) Signed-off-by: BAStos525 --- .github/workflows/iroha2-custom-image.yml | 4 ++-- .github/workflows/iroha2-dev-sonar-dojo.yml | 9 --------- .github/workflows/iroha2-dev.yml | 2 +- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/iroha2-custom-image.yml b/.github/workflows/iroha2-custom-image.yml index deacd0d5e9..1256d52ff2 100644 --- a/.github/workflows/iroha2-custom-image.yml +++ b/.github/workflows/iroha2-custom-image.yml @@ -27,7 +27,7 @@ on: required: true default: main PROFILER_NAME: - description: "Profiler value as the image tag part" + description: "Profiler value (glibc/alpine) as the image tag part" required: true default: glibc @@ -188,7 +188,7 @@ jobs: if: always() with: push: true - tags: docker.soramitsu.co.jp/iroha2/iroha:${{ github.sha }} + tags: docker.soramitsu.co.jp/iroha2/iroha:${{ inputs.PROFILER_NAME }}-${{ github.sha }} labels: commit=${{ github.sha }} file: Dockerfile context: . diff --git a/.github/workflows/iroha2-dev-sonar-dojo.yml b/.github/workflows/iroha2-dev-sonar-dojo.yml index 500261e260..d369581946 100644 --- a/.github/workflows/iroha2-dev-sonar-dojo.yml +++ b/.github/workflows/iroha2-dev-sonar-dojo.yml @@ -16,10 +16,6 @@ jobs: image: hyperledger/iroha2-ci:nightly-2024-09-09 steps: - uses: actions/checkout@v4 - with: - repository: ${{ github.event.workflow_run.head_repository.full_name }} - ref: ${{ github.event.workflow_run.pull_requests[0].head.ref }} - fetch-depth: 0 - name: Download clippy and lcov artifact reports uses: actions/download-artifact@v4 with: @@ -37,11 +33,6 @@ jobs: args: > -Dcommunity.rust.clippy.reportPaths=lints/clippy.json -Dcommunity.rust.lcov.reportPaths=lints/lcov.info - -Dsonar.cfamily.llvm-cov.reportPath=lints/lcov.info - -Dsonar.cfamily.gcov.reportsPath=lints/lcov.info - -Dsonar.pullrequest.key=${{ github.event.workflow_run.pull_requests[0].number }} - -Dsonar.pullrequest.base=${{ github.event.workflow_run.pull_requests[0].base.ref }} - -Dsonar.pullrequest.branch=${{ github.event.workflow_run.pull_requests[0].head.ref }} - name: DefectDojo id: defectdojo uses: C4tWithShell/defectdojo-action@1.0.5 diff --git a/.github/workflows/iroha2-dev.yml b/.github/workflows/iroha2-dev.yml index c4f982c78e..db3ba51663 100644 --- a/.github/workflows/iroha2-dev.yml +++ b/.github/workflows/iroha2-dev.yml @@ -90,7 +90,7 @@ jobs: -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer ${{ secrets.REPO_ACCESS_TOKEN }}" \ -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/hyperledger/iroha-python/dispatches \ + https://api.github.com/repos/hyperledger-iroha/iroha-python/dispatches \ -d '{"event_type":"dispatch-event"}' telemetry: