hyperledger / iroha-2-examples

Iroha 2 examples
https://wiki.hyperledger.org/display/iroha
Apache License 2.0
0 stars 4 forks source link

CI specification #13

Open 6r1d opened 1 year ago

6r1d commented 1 year ago

We need a CI mechanism to check the examples stay up-to-date and to notify us if something goes wrong. It means launching each example per language in a sequence with pauses, allowing them to finish a certain logical sequence given the dependencies.

Topics to discuss

0x009922 commented 12 months ago

I would like to follow these principles:

If we follow them, we can achieve some benefits:

The CI of this repo will do the following: on push to the main and/or on PRs, it runs all of the examples using a specified version of Iroha. (Later, we might optimise it and run only those parts that are really updated.) This way, each time we update the examples or the version of Iroha they target, we will see if they all actually work.

The CI of Iroha repo will do the following: On push to the dev branch and/or on PRs, it will build a new version of Iroha, fetch the examples repo, and run all of the examples with freshly built version. This way, each time Iroha developers do some changes, they will see how it is reflected on the examples.

Answering the topics:

6r1d commented 12 months ago

Let's approach the examples this way; we mostly agree here