Skip to content

Commit

Permalink
ci: fix/remove iroha2 ci wrong params (#5206)
Browse files Browse the repository at this point in the history
Signed-off-by: BAStos525 <jungle.vas@yandex.ru>
  • Loading branch information
BAStos525 authored Oct 30, 2024
1 parent 4b23527 commit 5d6b9ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/iroha2-custom-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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: .
9 changes: 0 additions & 9 deletions .github/workflows/iroha2-dev-sonar-dojo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/iroha2-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5d6b9ab

Please sign in to comment.