mikesir87 / bacabs

UI dashboard to provide all running applications within a Docker-based environment
Other
1 stars 1 forks source link

Add repoUrl to deployment model #13

Open mikesir87 opened 7 years ago

mikesir87 commented 7 years ago

Relying solely on the ref isn't going to work if applications are coming from multiple repositories (a client and an API). Adding a repoUrlshould do the trick and is available in push webhook notifications for both GitLab and GitHub.

To keep things consistent (and the option to open the repo from the dashboard), the URL should be a "web url", not a ssh clone URL.

mikesir87 commented 7 years ago

May want to wait until #14 is completed and then this simply becomes a url property on the Repository object.