GaloyMoney / blink-mobile

The Everyday Bitcoin Wallet
https://www.blink.sv
MIT License
140 stars 128 forks source link

Discussion: Run Docker on MacOS #3016

Closed sandipndev closed 7 months ago

sandipndev commented 7 months ago

This issue is to attract comments on what to do with https://github.com/GaloyMoney/galoy-mobile/pull/2971 With this PR, we could do very deterministic e2e testing because we will be able to run Local Backend in CI along with Mac Builds + Detox is more native than Appium.


Running Docker on MacOS in any CI Containers is quite challenging. There are some workarounds available in some random GitHub comments that seem to work with specific versions of Docker and Mac. Here is a list of the ones I could find and my testing result.

Related Issues:

  1. https://github.com/docker/roadmap/issues/419
  2. https://github.com/docker/roadmap/issues/172

People have moved to Self Hosted apparently:

  1. https://github.com/tarantool/tt/issues/517

cc @bodymindarts @openoms

sandipndev commented 7 months ago

Possible way forwards:

1. Get a Self Hosted Mac Runner

2. Compromise: E2E against Staging for Mac, E2E against Local Backend for Android

3. Custom Backend Deployment on a GCP hosted machine (using some SSH)

I personally like 3 but willing to look for other's opinions.

sandipndev commented 7 months ago

From discussing after ACE,

Going forward with Scaleway is Option no 1 If nothing works, SSH tunnel is last resort