Closed askolesov closed 2 years ago
indy-test-automation
references sovrin
package dependencies which in turn reference a specific indy-node
package. Therefore, currently, to test a specific indy-node
release a sovrin
package referencing that specific release needs to be made.indy-node
releases and indy-node
based releases (such as sovrin
) can be tested separately.indy-test-automation
should be updated to generically support any indy-node
based release.
Unfortunately this code does not work to conditionally install sovrin
:
https://github.com/hyperledger/indy-test-automation/blob/3b44feb9bc6ead49c7e8ed16d2199c23dc78d187/system/docker/node/Dockerfile#L65-L67
and which had yet to also address conditional installation of the token-plugin
which also references a specific version of indy-node
:
https://github.com/hyperledger/indy-test-automation/blob/3b44feb9bc6ead49c7e8ed16d2199c23dc78d187/system/docker/node/Dockerfile#L69-L78
indy-test-automation
relies on docker-in-docker to spin up the nodes it uses for testing. If that's not configured properly things don't work. Currently there are some issues that need to be resolved to support Windows, such as adding leading /
to correctly reference the docker socket. Some reference material can be found here; Running Docker in Docker on Windows (Linux containers).indy-node
and sovrin
CD pipelines use tagged versions of indy-test-automation
for performing automated systems tests. For example:
indy-test-automation
to build/run locally using the system/docker/prepare.sh and system/docker/run.sh scripts, and the documentation in the system/docker/README.md. This will enable local development to be performed on indy-test-automation
and help speed up the development process.sovrin
packages; sovrin
, sovtoken
, and sovtokenfees
for the node, and libsovtoken
for the client. This may require separate docker files in order to perform properly.indy-node
rely on either the sovrin
or the token-plugin
packages and move those to the appropriate repo leaving only indy-node
specific tests.indy-test-automation
to generically support testing of indy-node
based packages.cc @udosson, @pSchlarb
The main concern expressed by this issue has been resolved by https://github.com/hyperledger/indy-test-automation/pull/109
That's bad because if someone makes breaking changes in Node, he has to release an updated version of Sovrin in order to fix and run tests.
Example of depending code: https://github.com/hyperledger/indy-test-automation/blob/master/system/docker/node/Dockerfile#L65
Proposal:
This PR was intended to fix it but I didn't have time to accomplish it so it's closed: https://github.com/hyperledger/indy-test-automation/pull/101
This proposal is the result of the previous research.