-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(sawtooth-ledger): add single sawtooth test ledger image #2110
feat(sawtooth-ledger): add single sawtooth test ledger image #2110
Conversation
- Add functional test of all functions from sawtooth-socketio validator. - Refactor sawtooth validator to allow importing as a module, to simplify the functional test. - Add stopMonitor to terminate tests easily. - Allow multiple clients to monitor for blocks. - Fix parsing of URL from config so that it doesn't depend on trailing slash anymore. Closes: hyperledger-cacti#2107 Depends on: hyperledger-cacti#2109 Depends on: hyperledger-cacti#2110 Depends on: hyperledger-cacti#2047 Signed-off-by: Michal Bajer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- FYI: The official image is now published here: https://github.com/orgs/hyperledger/packages/container/package/cactus-sawtooth-all-in-one
- Could you please also add the publis CI yaml file in the .github/workflows dir next to the rest of the container publishing files? Easiest is to just copy paste one of the existing ones and then you mostly just tell it where the dockerfile is and how to build it (please be sure to use a docker build command in that yaml file that works from the project root directory without having to change directories inwards first.
packages/cactus-test-tooling/src/main/typescript/sawtooth/sawtooth-test-ledger.ts
Outdated
Show resolved
Hide resolved
packages/cactus-test-tooling/src/main/typescript/sawtooth/sawtooth-test-ledger.ts
Outdated
Show resolved
Hide resolved
3c36618
to
835b3c2
Compare
Thanks!
Oh, forgot about that, thanks for reminder - done :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, forgot about that, thanks for reminder - done :)
@outSH My pleasure, thank you for making the updates! LGTM!
- Enclose starting sawtooth ledger into single container that will fetch and run the entire setup. - Remove reduntant files, update the readme. - Add SawtoothTestLedger class to simplify setting the test ledger in jest tests. - Refactor electricity-trade to generate usage without sawtooth shell patching. - Refactor electricity-trade to use new sawtooth ledger container and wait until it's healthy. Closes: hyperledger-cacti#2108 Depends on: hyperledger-cacti#2030 Signed-off-by: Michal Bajer <[email protected]>
835b3c2
to
d072a23
Compare
- Add functional test of all functions from sawtooth-socketio validator. - Refactor sawtooth validator to allow importing as a module, to simplify the functional test. - Add stopMonitor to terminate tests easily. - Allow multiple clients to monitor for blocks. - Fix parsing of URL from config so that it doesn't depend on trailing slash anymore. Closes: hyperledger-cacti#2107 Depends on: hyperledger-cacti#2109 Depends on: hyperledger-cacti#2110 Depends on: hyperledger-cacti#2047 Signed-off-by: Michal Bajer <[email protected]>
- Add functional test of all functions from sawtooth-socketio validator. - Refactor sawtooth validator to allow importing as a module, to simplify the functional test. - Add stopMonitor to terminate tests easily. - Allow multiple clients to monitor for blocks. - Fix parsing of URL from config so that it doesn't depend on trailing slash anymore. Closes: hyperledger-cacti#2107 Depends on: hyperledger-cacti#2109 Depends on: hyperledger-cacti#2110 Depends on: hyperledger-cacti#2047 Signed-off-by: Michal Bajer <[email protected]>
- Add functional test of all functions from sawtooth-socketio validator. - Refactor sawtooth validator to allow importing as a module, to simplify the functional test. - Add stopMonitor to terminate tests easily. - Allow multiple clients to monitor for blocks. - Fix parsing of URL from config so that it doesn't depend on trailing slash anymore. Closes: hyperledger-cacti#2107 Depends on: hyperledger-cacti#2109 Depends on: hyperledger-cacti#2110 Depends on: hyperledger-cacti#2047 Signed-off-by: Michal Bajer <[email protected]>
- Add functional test of all functions from sawtooth-socketio validator. - Refactor sawtooth validator to allow importing as a module, to simplify the functional test. - Add stopMonitor to terminate tests easily. - Allow multiple clients to monitor for blocks. - Fix parsing of URL from config so that it doesn't depend on trailing slash anymore. Closes: hyperledger-cacti#2107 Depends on: hyperledger-cacti#2109 Depends on: hyperledger-cacti#2110 Depends on: hyperledger-cacti#2047 Signed-off-by: Michal Bajer <[email protected]>
- Add functional test of all functions from sawtooth-socketio validator. - Refactor sawtooth validator to allow importing as a module, to simplify the functional test. - Add stopMonitor to terminate tests easily. - Allow multiple clients to monitor for blocks. - Fix parsing of URL from config so that it doesn't depend on trailing slash anymore. Closes: #2107 Depends on: #2109 Depends on: #2110 Depends on: #2047 Signed-off-by: Michal Bajer <[email protected]>
feat(sawtooth-ledger): add single sawtooth test ledger image
Closes: #2108
Depends on: #2030
Signed-off-by: Michal Bajer [email protected]