Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/natefoo/vadebuildsible
Rebuild Ubuntu/Debian source packages with Vagrant and Ansible
https://github.com/natefoo/vadebuildsible
Last synced: 29 days ago
JSON representation
Rebuild Ubuntu/Debian source packages with Vagrant and Ansible
- Host: GitHub
- URL: https://github.com/natefoo/vadebuildsible
- Owner: natefoo
- Created: 2015-01-06T23:40:57.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-07T00:45:58.000Z (about 10 years ago)
- Last Synced: 2024-04-14T00:50:56.260Z (9 months ago)
- Language: Python
- Size: 117 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
vadebuildsible
==============vadebuildsible: Rebuild Debian/Ubuntu source packages using vagrant.
How to use:
1. Install Vagrant, Ansible, socat, and gpg-agent.
2. Start gpg-agent on the host system, test that it is working correctly.
3. `gpg --local-user '{{ name }} <{{ email }}> --clearsign foo'` (where
`{{ name }}` and `{{ email }}` match the variables set in the package's
`build.yml`) to cache your passphrase for signing the source package.4. `cp Vagrantfile provision.yml /* /path/to/vagrant/root`
5. `vagrant up`
6. `ansible-playbook -i .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory --private-key=~/.vagrant.d/insecure_private_key -u vagrant build.yml`
7. `vagrant destroy`
8. Kill off the shell running socat on the host, and socat itself.
The gpg-agent socket forwarding with socat cleverness is from:
http://superuser.com/questions/161973/how-can-i-forward-a-gpg-key-via-ssh-agent
TODO
----* Make launching the host socat idempotent and/or
* Kill the host socat on `vagrant destroy`