Skip to content

Commit

Permalink
feat(cli, 2.0.0-rc.1): add iroha transaction get and other importan…
Browse files Browse the repository at this point in the history
…t 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 <[email protected]>
  • Loading branch information
s8sato authored Feb 13, 2025
1 parent 13d953d commit 88b0c23
Show file tree
Hide file tree
Showing 29 changed files with 3,262 additions and 1,152 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/iroha2-dev-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push iroha2:dev-nightly image
- name: Build and push iroha:dev-nightly image
uses: docker/build-push-action@v6
with:
push: true
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/iroha2-dev-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
- name: Check schema.json
if: always()
run: ./scripts/tests/consistency.sh schema
- name: Check CommandLineHelp.md
if: always()
run: ./scripts/tests/consistency.sh cli-help
- name: Check Docker Compose configurations
if: always()
run: ./scripts/tests/consistency.sh docker-compose
Expand Down Expand Up @@ -119,7 +122,7 @@ jobs:
--all-features
--branch --no-report
- name: Generate lcov report
run: cargo llvm-cov report --doctests --lcov --output-path lcov.info
run: cargo llvm-cov report --doctests --ignore-filename-regex 'iroha_cli|iroha_torii' --lcov --output-path lcov.info
- name: Upload lcov report
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -160,12 +163,12 @@ jobs:
uses: docker/setup-buildx-action@v2
with:
install: true
- name: Build and push iroha2:dev image
- name: Build and push iroha:dev image
uses: docker/build-push-action@v6
if: always()
with:
push: true
tags: docker.soramitsu.co.jp/iroha2/iroha2:dev-${{ github.event.pull_request.head.sha }}
tags: docker.soramitsu.co.jp/iroha2/iroha:dev-${{ github.event.pull_request.head.sha }}
labels: commit=${{ github.sha }}
build-args: TAG=dev
# This context specification is required
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 @@ -58,7 +58,7 @@ jobs:
registry: docker.soramitsu.co.jp
username: ${{ secrets.HARBOR_USERNAME }}
password: ${{ secrets.HARBOR_TOKEN }}
- name: Build and push iroha2:dev image
- name: Build and push iroha:dev image
uses: docker/build-push-action@v6
with:
context: .
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/iroha2-no-incorrect-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
run: pip install -r .github/scripts/ci_test/requirements.txt --no-input
- name: Check containers on iroha2 stable branch
if: github.base_ref == 'stable'
run: python .github/scripts/ci_test/ci_image_scan.py --allow iroha2:stable -- docker-compose*.yml
run: python .github/scripts/ci_test/ci_image_scan.py --allow iroha:stable -- docker-compose*.yml
- name: Check containers on iroha2 main branch
if: github.base_ref == 'main'
run: python .github/scripts/ci_test/ci_image_scan.py --allow iroha2:dev -- docker-compose*.yml
run: python .github/scripts/ci_test/ci_image_scan.py --allow iroha:dev -- docker-compose*.yml
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## [Unreleased]

## [2.0.0-rc.1.1] - 2025-02-12

### Added

- add `iroha transaction get` and other important commands (#5289)

## [2.0.0-rc.1.0] - 2024-12-06

### Added
Expand Down
Loading

0 comments on commit 88b0c23

Please sign in to comment.