-
Notifications
You must be signed in to change notification settings - Fork 61
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
Add integration tests #29
base: master
Are you sure you want to change the base?
Conversation
04511dc
to
d5d1953
Compare
d5d1953
to
74f46d2
Compare
Do we really need a docker container to run the deploy scripts? All dependencies should already be handled by Nix. Also cloning the latest deploy scripts from within the docker container sort of defeats the purpose of having a docker image in the first place. Shouldn't it run tests on the current source? |
I found it easier to sharing keystore and start parity node locally / make it available to be accessed by dss scripts. I also consider that this image could be built and published and be available for QA tests / automatic deployments (kind of official one with all deps prebuilt)
Yep, that's right, however I couldn't find a cleaner way to map source directory inside docker container due to the out directory that is generated in the same structure (where docker container doesn't have permissions to delete / create it). Hence did the clone workaround |
@dizzy I think doing this without Docker would be nicer, unless Docker really adds something unique. It would mean starting parity in Travis, and then running
This is kind of achieved already with the |
Yep, OK, will amend PR and do that |
Yes, we could definitely pin parity/geth as well. @grandizzy I'll gladly help with this if you want. I think it would keep things simpler, to be able to run the scripts directly without having to consider breaking docker configs when making script changes. If we need to create docker images for deploys on QA environments we could actually use Nix to generate those as well. Then we don't have to think about syncing dependencies across several environments and there would be less code to maintain. Also if we have to consider a QA environment it would be nice to have a defined interface for how to integrate with it. |
@grandizzy For a quick and dirty solution, you can run parity with Let me/@icetan know if instead you need assistance to add a pinned version to the |
What is the status of this PR? Will be continued or can be closed? |
I'm working on a Docker-less approach here. |
great, so can we close this PR? |
It's a completely different approach so I would keep it open. If my approach works i'll close this one, as I don't think we strictly need Docker if we can avoid it. |
No description provided.