New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automate installation of Galah. #389
Comments
The configuration scripts should be capable of installing the correct repositories for dependencies (like Nginx for example). I imagine an invocation along the lines of...
Which would add the correct repositories in the |
The command above seems unecessary since the sysadmin shops will probably be using some kind of configuration management and they'll want to add the repos using those tools rather than the scripts. At the very least there's not a need for them right now. Example configurations and proper documentation will be more useful than any configuration scripts. Until I am convinced otherwise by myself or others dropping the configuration script task. Provisioning for vagrant will be done using Ansible rather than shell for simplicity (all it really needs to do is do some work with yum). |
Below are the only dependencies of Galah v0.3 (as currently known):
Python dependencies are not included. |
With the completion of #396 a huge portion of the third task is completed ("Bringing up a development environment [...]"). Reworking the components to fit the new architecture is next (leveraging Redis and the base module). |
These are the steps I took to install galah on a fresh vagrant box. Should be easy enough to automate whenever I get around to it:
Config file used was: config = {
"core/REDIS_HOST": "localhost",
"core/REDIS_PORT": 6379,
"core/MACHINE_ID": u"dev",
"vmfactory/vz/VZCTL_PATH": "/usr/sbin/vzctl",
"vmfactory/vz/VZLIST_PATH": "/usr/sbin/vzlist",
"vmfactory/vz/ID_RANGE": [100, 200],
"vmfactory/vz/ALLOCATE_IP": (lambda id: "192.168.1.{0}".format(id)),
"vmfactory/vz/OS_TEMPLATE": "centos-6-x86_64",
"vmfactory/vz/CONTAINER_DIRECTORY": "/vz/root/",
"vmfactory/vz/BOOTSTRAPPER_DIRECTORY": "/root",
"vmfactory/GUEST_USER": "root",
"vmfactory/GUEST_GROUP": "root",
"vmfactory/SUBMISSION_DIRECTORY": "/root/submission",
"vmfactory/HARNESS_DIRECTORY": "/root/harness"
} Hopefully I'll add some additional logging information at some point. |
Galah will be installed by the machine's native package manager (ex: Yum on CentOS). Galah Group will host and maintain repositories that these package managers can access. The scope of this issue is more focused however.
Upon successful completion of this issue, the following tasks will be automated.
[ ] Configuring Galah and its dependencies (Python scripts).The end-user (system administrator) will be able to install Galah from the RPM. Install the dependencies (with some assistance from the Galah configuration scripts) using Yum. Configure them, and fire it off without much trouble.
The developers will be able to easily bring up a development environment without trouble.
The automated testing will be able to bring up VMs running Galah, ready for testing, by just invoking Vagrant.
The text was updated successfully, but these errors were encountered: