Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Use deployment tools to install a test server on localhost? #403
Comments
jimallman
added the
enhancement
label
Aug 6, 2014
jimallman
added a commit
to OpenTreeOfLife/deployed-systems
that referenced
this issue
Aug 6, 2014
|
|
jimallman |
7ab9c60
|
|
To explore this further, I've added a branch to |
|
Or maybe docker. -- apologies for brevity / using handheld gizmo -- On Aug 5, 2014, at 22:18, Jim Allman notifications@github.com wrote: This would be a nice way to handle the quirks and complexities of our In our scripts, we've made lots of assumptions about things like home Perhaps the real answer is to use a local VM (VirtualBox, Parallels, — |
|
I don't think that incrementally enhancing the deployment system is Why do you want to use a local VM? It is very easy to set up new EC2 On Tue, Aug 5, 2014 at 10:18 PM, Jim Allman notifications@github.com
|
To quote @kcranston from a recent discussion on IRC:
So it would be great to have a more "lightweight" option for getting up and running. Agreed that docker or a pre-built appliance could work well for these use cases, if it's easy to push and test changes. I'll hold off on any work here for now, since (as you point out) the deployment system is still kind of in flux. |
|
@jar398, @kcranston, @temi : I spent most of this weekend tinkering with a fork of @temi 's Ansible deployment repo. I cleaned up some problems with the Ansible playbook (i.e., task and role definitions) and learned enough about Ansible to confirm that it can handle all the complications (virtualenv, etc) we would throw at it. I'm setting this aside for now, but we might want to revisit this and come up with a series of playbooks to handle use cases like routine deployment, code review, and isolated systems for scientific exploration. |
|
I spent some time on this over the weekend. The user name for the user There's currently an assumption that the files are located relative to that We're very close to being able to use the deployment system to run locally On Mon, Sep 29, 2014 at 12:48 PM, Jim Allman notifications@github.com
|
temi
commented
Oct 31, 2014
|
great! will check it out. |
jimallman commentedAug 6, 2014
This would be a nice way to handle the quirks and complexities of our system, but so far it's pretty tricky on systems other than the expected Debian GNU/Linux.
In our scripts, we've made lots of assumptions about things like home directories. So installing on another system like OS X will necessarily involve some kind of privileged "preflight" script to enable services, create users and directories, etc. There are probably other obstacles ahead.
Perhaps the real answer is to use a local VM (VirtualBox, Parallels, VMWare, etc) with a minimal Debian. Or a prepared VM (
opentreeandadminusers already created, keys in place) that's ready to accept push commands.