mesg-foundation / engine

Build apps or autonomous workflows with reusable, shareable integrations connecting any service, app, blockchain or decentralized network.
https://mesg.com/
Apache License 2.0
130 stars 13 forks source link

Create a complete service for test #879

Closed antho1404 closed 4 years ago

antho1404 commented 5 years ago

We need a service that everyone can use and that test every features of the service. eg: env, volumes, volumefrom, logs...

Like that when working on an update we can easily manual test with this all in one service and see detect potential regressions.

ilgooz commented 5 years ago

I like to have a few services in-fact. Still, running these testing services manually is time consuming. We need to automate it. Please see https://forum.mesg.com/t/automatize-manual-testing-for-core-true-integration-testing

antho1404 commented 5 years ago

For information, I'm using this one for my manual testing

{"sid":"testservice","name":"test service","tasks":[{"key":"taskx","inputs":[{"key":"foo","type":"String","object":[]},{"key":"bar","type":"String","object":[]}],"outputs":[{"key":"result","type":"String","object":[]}]}],"events":[{"key":"event","data":[{"key":"x","type":"Any","object":[]}]}],"dependencies":[{"key":"nginx","image":"nginx","volumes":["/etc/nginx"]}],"configuration":{"volumes":["/volume/test/"],"volumesFrom":["nginx"],"env":["ENVA=do_not_override","ENVB=override"]},"source":"QmYeaACibx89QkywySovtj4qg259Z8qfE1SLvWu2vPZ4uq"}
NicolasMahe commented 5 years ago

Is it on a repo?

antho1404 commented 5 years ago

yes on ipfs QmYeaACibx89QkywySovtj4qg259Z8qfE1SLvWu2vPZ4uq

NicolasMahe commented 4 years ago

Closing because this has been done in https://github.com/mesg-foundation/engine/pull/1500