How Yipit deploys from Github with multiple private repos
1–10 of 16 posts
Re: How Yipit deploys from Github with multiple private repos
#2Re: How Yipit deploys from Github with multiple private repos
#3Re: How Yipit deploys from Github with multiple private repos
#4I think it also bothers the side of me coming from compiled languages where there is more to a code release then copy files from a to b.
Re: How Yipit deploys from Github with multiple private repos
#5I was looking at this sideways until I read the last statement about the future. There is something bothersome to me about deploying code directly from a code repository. Things I can think of that bother me about it, not clear what code has and has not been deployed, code is not explicitly validated (automatically, manually, on a build/test lab), and it isn't clear who triggered the release. I think it also bothers…
Re: How Yipit deploys from Github with multiple private repos
#6Re: How Yipit deploys from Github with multiple private repos
#7(Though to be honest, this flow seems overly complex, and I'm not 100% sure what problem it's solving).
Re: How Yipit deploys from Github with multiple private repos
#8I was looking at this sideways until I read the last statement about the future. There is something bothersome to me about deploying code directly from a code repository. Things I can think of that bother me about it, not clear what code has and has not been deployed, code is not explicitly validated (automatically, manually, on a build/test lab), and it isn't clear who triggered the release. I think it also bothers…
> not clear what code has and has not been deployed
You can have your production machines deploy from specific branches. In other words, master is the development branch, some-version-branch is the production branch. You can also do it vice versa. You can use tags. Lots of solutions.
> code is not explicitly validated (automatically, manually, on a build/test lab)
If you use the structure above, you wouldn't commit to a production branch unless you did that. Another solution is to force validation/testing using hooks before allowing a commit to a production branch on your development machine.
> and it isn't clear who triggered the release.
Not sure what you mean here ... every commit is recorded, so you always know who did what.
Re: How Yipit deploys from Github with multiple private repos
#9best way: don't deploy from github. you should have an internal github server (github enterprise). don't rely on the site to secure your production code. they have had security problems in the past.
Re: How Yipit deploys from Github with multiple private repos
#10 Host github-yipit-main
Hostname github.com
IdentityFile ~/.ssh/yipit_main_rsa
then just go about your merry way of: git clone git@github-yipit-main:/yipit/yipit-main.git