Skip to content

Commit 88b0c23

Browse files
authored
feat(cli, 2.0.0-rc.1): add iroha transaction get and other important commands (#5290)
* fix: un-flatten enum `Level` to serialize * feat(cli): add `iroha transaction get` and other important commands * ci: exclude from coverage `iroha_cli` `iroha_torii` covered by pytests * ci: complement #4605: tag not `iroha2:*` but `iroha:*` * docs: fix invalid links * docs: fix lints * chore: remove `scripts/tests/tick.json` * chore: update CHANGELOG.md * chore: minor version bump to `2.0.0-rc.1.1` Signed-off-by: Shunkichi Sato <49983831+s8sato@users.noreply.github.com>
1 parent 13d953d commit 88b0c23

29 files changed

Lines changed: 3262 additions & 1152 deletions

File tree

.github/workflows/iroha2-dev-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
with:
4242
username: ${{ secrets.DOCKERHUB_USERNAME }}
4343
password: ${{ secrets.DOCKERHUB_TOKEN }}
44-
- name: Build and push iroha2:dev-nightly image
44+
- name: Build and push iroha:dev-nightly image
4545
uses: docker/build-push-action@v6
4646
with:
4747
push: true

.github/workflows/iroha2-dev-pr.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ jobs:
3636
- name: Check schema.json
3737
if: always()
3838
run: ./scripts/tests/consistency.sh schema
39+
- name: Check CommandLineHelp.md
40+
if: always()
41+
run: ./scripts/tests/consistency.sh cli-help
3942
- name: Check Docker Compose configurations
4043
if: always()
4144
run: ./scripts/tests/consistency.sh docker-compose
@@ -119,7 +122,7 @@ jobs:
119122
--all-features
120123
--branch --no-report
121124
- name: Generate lcov report
122-
run: cargo llvm-cov report --doctests --lcov --output-path lcov.info
125+
run: cargo llvm-cov report --doctests --ignore-filename-regex 'iroha_cli|iroha_torii' --lcov --output-path lcov.info
123126
- name: Upload lcov report
124127
uses: actions/upload-artifact@v4
125128
with:
@@ -160,12 +163,12 @@ jobs:
160163
uses: docker/setup-buildx-action@v2
161164
with:
162165
install: true
163-
- name: Build and push iroha2:dev image
166+
- name: Build and push iroha:dev image
164167
uses: docker/build-push-action@v6
165168
if: always()
166169
with:
167170
push: true
168-
tags: docker.soramitsu.co.jp/iroha2/iroha2:dev-${{ github.event.pull_request.head.sha }}
171+
tags: docker.soramitsu.co.jp/iroha2/iroha:dev-${{ github.event.pull_request.head.sha }}
169172
labels: commit=${{ github.sha }}
170173
build-args: TAG=dev
171174
# This context specification is required

.github/workflows/iroha2-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
registry: docker.soramitsu.co.jp
5959
username: ${{ secrets.HARBOR_USERNAME }}
6060
password: ${{ secrets.HARBOR_TOKEN }}
61-
- name: Build and push iroha2:dev image
61+
- name: Build and push iroha:dev image
6262
uses: docker/build-push-action@v6
6363
with:
6464
context: .

.github/workflows/iroha2-no-incorrect-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
run: pip install -r .github/scripts/ci_test/requirements.txt --no-input
2020
- name: Check containers on iroha2 stable branch
2121
if: github.base_ref == 'stable'
22-
run: python .github/scripts/ci_test/ci_image_scan.py --allow iroha2:stable -- docker-compose*.yml
22+
run: python .github/scripts/ci_test/ci_image_scan.py --allow iroha:stable -- docker-compose*.yml
2323
- name: Check containers on iroha2 main branch
2424
if: github.base_ref == 'main'
25-
run: python .github/scripts/ci_test/ci_image_scan.py --allow iroha2:dev -- docker-compose*.yml
25+
run: python .github/scripts/ci_test/ci_image_scan.py --allow iroha:dev -- docker-compose*.yml

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## [Unreleased]
44

5+
## [2.0.0-rc.1.1] - 2025-02-12
6+
7+
### Added
8+
9+
- add `iroha transaction get` and other important commands (#5289)
10+
511
## [2.0.0-rc.1.0] - 2024-12-06
612

713
### Added

0 commit comments

Comments
 (0)