Draft: Update CI with docker image
Description
Closes #74 : Discussion about using same image for testing and deployment. Deployment image does not contain testing tools. And is is really relevant to add these dependencies in docker image ?
Proposition is:
- to test backend in a limited python environment, because it is python application we are testing
- to test frontend in the same way,
- except for e2e test where it may be relevant to have the real backend deployed (in testing config)
Changes
- automatic image build even for MR
- add interruptible feature for cancelling pipeline/jobs when a new pipeline is triggered
- re add frontend e2e test with docker image run for backend