This PR allows clients to install one-click apps from their own repositories, other than the official/public one-click app repository.
What I changed
Add a new optional kwarg deploy_one_click_app(..., one_click_repository="..."). If not set, it defaults to the public repository that we've always used, therefore no breaking changes.
Minor refactor so _resolve_app_variables now focuses only on resolving variables. Downloading the one-click app definition from the repository is now extracted to its own method: _download_one_click_app_defn
This PR allows clients to install one-click apps from their own repositories, other than the official/public one-click app repository.
What I changed
deploy_one_click_app(..., one_click_repository="...")
. If not set, it defaults to the public repository that we've always used, therefore no breaking changes._resolve_app_variables
now focuses only on resolving variables. Downloading the one-click app definition from the repository is now extracted to its own method:_download_one_click_app_defn