zebrunner / mcloud

Mobile farm ecosystem for Android and iOS devices
127 stars 21 forks source link

integrate auth-zebrunner for CE setup in mcloud #181

Closed vdelendik closed 1 year ago

vdelendik commented 1 year ago

when all bundle is configured let's automatically setup auth-zebrunner-ce instead of auth-mock. that's allow to unify authentication in reporting and mcloud using the same auth system.

also make sure that independent mcloud setup continue to use mock or might configure ldpa/oauth automatically via setup?

related ticket is https://github.com/zebrunner/stf/issues/524

vdelendik commented 1 year ago

done. if we configure CE globally we should setup auth-zebrunner by default, i.e. credentials from reporting users might be logged to stf. if we setup mcloud independently them we continue to setup auth-mock, i.e. any user/email might log into the stf. @dhreben - make sure to test independent mcloud setup as I didn't cover these steps.

dhreben commented 1 year ago

Steps:

  1. git clone --recurse-submodule --branch develop https://github.com/zebrunner/mcloud.git
  2. cd mcloud
  3. add ssl
  4. ./zebrunner.sh setup
  5. Open STF

Actual result:auth-zebrunner is absent after mcloud setup

Screenshot 2023-04-27 at 19 23 57
vdelendik commented 1 year ago

that's expected. when you setup just mcloud we don't have any reporting for integration. I.e. independent mcloud setup should continue to use mock