I would like to ask if there is a possibility to have a workflow that has 2 jobs with different executor types, so that they communicate with each other like in a network.
Currently I have a workflow to execute some instrumentation tests for an android app. The tests themselves on an Linux xlarge VM take about 22 minutes. Those same tests take about 60 minutes on a large Linux VM.(25 minutes if I run in parallel = 10) To run those tests I need to have an emulator present during the time that the tests are executed.
An xlarge Linux VM is 100 credits per minute and a large is 20 credits per minute. (CircleCI Resource Classes - CircleCI)
So currently I can pay ~ 2200 c per run on an xlarge machine or 1200 c per run on a large while being 3 times slower. (5000c if I split it to 10 workers to have the same time as xlarge)
So in order to save some money since this is a repo that is frequently updated I wanted to have an emulator present in a large. or medium linux VM and then connect to it from a xlarge docker executor (40 credits per minute) to run the tests themselves.
The emulator cannot be run on a docker since the machine under it does not support kvm.
Is this possible?