Commit graph

710 commits

Author SHA1 Message Date
Anders Ingemann
19c3986d12 Merge pull request #109 from jkaplowitz/popen-cwd
Support executing commands in a specific cwd
2014-06-20 08:29:41 +02:00
Jimmy Kaplowitz
19240dc201 Support executing commands in a specific cwd
Simply plumbed through to Popen(), which already supports this.

Change-Id: If1fdf0a33c96f3aad42407fdc7c9c9f7d4b95c00
2014-06-19 17:16:39 -07:00
Tiago Ilieve
a9a5be7717 Allow stable/oldstable on manifest
This closes #94.
2014-06-19 14:53:23 -03:00
Anders Ingemann
99dc07b44e Merge pull request #107 from zeridon/ami-list-performance
Improve ami listing performance
2014-06-19 19:33:59 +02:00
Vladimir Vitkov
68d9ee1096 Improve ami listing performance
* no need to list all available ami's, just self owned should be enough
2014-06-19 17:55:05 +03:00
Tiago Ilieve
65bdb34d77 Save downloaded gsutil tarball to workspace
`gsutil` tarball was being downloaded to the current working directory
and wasn't removed after its extraction.

This will be useful until #87 is merged.
2014-06-07 13:31:10 -03:00
Tiago Ilieve
80d0dfb939 Add volume.Delete to GCE taskset
This closes #97.
2014-06-07 12:48:46 -03:00
Tiago Ilieve
aa1f8cf189 Update volume image path after move it
The `loopback.MoveImage` task wasn't updating `info.volume.image_path`
after moving the volume image file. That made `volume.Delete` to fail
when called, because it would try to remove a file that didn't exist
anymore.
2014-06-07 12:48:45 -03:00
Anders Ingemann
9c0a0ade08 Merge pull request #106 from Jimdo/pip_install_squashed
pip_install plugin
2014-06-07 17:38:51 +02:00
Ilya Margolin
669ccc3a8b Added pip_install plugin
configuration is like

"pip_install": {"packages": ["a_package", "another_package==1.0.1"]}

Installs build-essential and python-dev
2014-06-06 17:24:20 +02:00
Anders Ingemann
08c0a88459 Might as well check apt proxy early
Moved CheckAptProxy to preparation phase
Changed the logging to output a warning instead of an error
Changed the error message a little
2014-05-23 20:19:09 +02:00
Tiago Ilieve
4ba701cfad Add CheckAptProxy task
Check if the specified APT proxy server can be reached, informing the
user if this can't be done. That will help them to debug the errors that
will be raised by `apt-get` because of the misleading proxy
configuration.

This closes #95.
2014-05-23 09:51:17 -03:00
Anders Ingemann
4f45749e13 Check if qemu-img is available 2014-05-22 17:28:17 +02:00
Anders Ingemann
7fe72feb2c Add --assume-yes to apt-get autoremove 2014-05-18 22:27:10 +02:00
Johan Euphrosine
6fda70a237 plugins/docker_daemon: initial import
A plugin that install the docker daemon w/ an init script.
2014-05-17 12:37:06 -03:00
Anders Ingemann
4caf5d1813 Make "assets" a required property in chef schema 2014-05-16 18:33:21 +02:00
Anders Ingemann
b03ec12c41 Make "stable" the salt install_source default.
Fix a few indentation things
2014-05-16 18:30:01 +02:00
Anders Ingemann
81659321af Fix name of chef plugin manifest schema name 2014-05-16 18:29:42 +02:00
Anders Ingemann
53406e2b35 Merge pull request #88 from proppy/add-gce-init
add InstallInitScript task to gce provider
2014-05-13 01:02:17 +02:00
Anders Ingemann
306c51a752 Merge pull request #92 from jkaplowitz/gce-manifest-split
Split GCE manifest into regular & backports
2014-05-12 08:21:51 +02:00
Jimmy Kaplowitz
49475292d7 Split GCE manifest into regular & backports
Some people want the security team-supported 3.2 kernel, while others
want the better performance of the backports kernel. Both flavors are
currently provided in the Google Compute Engine debian-cloud project.

Also add OpenSSH to the backports flavor, for parity with the current
GCE backports image based on build-debian-cloud. This backport is
included for performance reasons, in line with the purpose of that image
flavor, and as discussed on the debian-cloud list.
2014-05-11 05:33:41 -07:00
Anders Ingemann
6c071bed72 Update syntax check command 2014-05-10 20:34:25 +02:00
Anders Ingemann
8617618084 Don't use markdown in changelog 2014-05-10 18:08:29 +02:00
Anders Ingemann
b5fcf13cf5 Fix links 2014-05-10 18:03:33 +02:00
Anders Ingemann
0cbe057f5f Increase test output delay to avoid bogus test fails 2014-05-10 17:50:05 +02:00
Anders Ingemann
02c683120a Refactor tasklist for easier integration by taskoverview 2014-05-10 17:28:31 +02:00
Anders Ingemann
f0e5be0ded Split up development page 2014-05-10 16:56:26 +02:00
Anders Ingemann
f86e15aa49 Move taskoverview into docs/ 2014-05-10 16:42:35 +02:00
Anders Ingemann
de76c3aadd Move development guidelines into docs 2014-05-10 16:22:32 +02:00
Johan Euphrosine
fdf11fcc1a providers/gce: add InstallInitScript task 2014-05-09 00:31:36 -07:00
Anders Ingemann
551b01ea27 Note about changelog in contribution guidelines 2014-05-08 23:16:00 +02:00
Anders Ingemann
f50a8e66ce Merge branch 'master' into development
Conflicts:
	.gitignore
	bootstrapvz/common/tasks/apt.py
	bootstrapvz/plugins/cloud_init/__init__.py
	bootstrapvz/plugins/cloud_init/tasks.py
	tox.ini
2014-05-08 23:00:54 +02:00
Anders Ingemann
16b394d135 Fix fetching of packages.components
Add update from master
2014-05-08 22:58:29 +02:00
Anders Ingemann
60d51834c1 Add changes by Dhananjay to changelog 2014-05-08 22:28:11 +02:00
Anders Ingemann
07dc9ec2a9 Don't allow target in include/exclude_packages
Fix indentation in schema
2014-05-08 22:20:48 +02:00
Anders Ingemann
1ee1e7b645 Merge pull request #84 from dbalan/saltstack_minion
Add salt plugin.
2014-05-08 22:18:41 +02:00
Anders Ingemann
2cf6e8cbbd Merge pull request #82 from dbalan/expose_debootstrap_include
Expose debootstrap include/exclude in manifest.
2014-05-08 22:14:21 +02:00
Dhananjay Balan
064c4f24bd Add salt plugin
- uses salt bootstrap to install minion code
 - custom grains can be set.
 - option to specify master in the manifest.

e.g manifest (TODO: Add this to doc.)

"salt": {
            "install_source": "git",
            "version": "develop", \\ Only if the source is git
            "master": "", \\ salt master ip or fqdn
            "grains": {
                "custom_grain1": "custom_grain_value1",
                "custom_grain2": "custom_grain_value2",
            }
        }
2014-05-05 00:07:56 +05:30
Dhananjay Balan
058d4d8627 Be pythonic.
Use sets.update method to add pacakge names.
2014-05-05 00:00:48 +05:30
Anders Ingemann
ee3fe0bf42 Convert param docs into parseable format. 2014-05-04 19:31:53 +02:00
Anders Ingemann
ee6df57f3f Use RTD theme 2014-05-04 19:11:33 +02:00
Anders Ingemann
3cc84c95e8 Silly me, putting things where they don't belong 2014-05-04 19:09:34 +02:00
Dhananjay Balan
2982bfc629 Expose debootstrap include/exclude in manifest.
This is useful in many cases in which the next steps of bootstrapping the image depends on the packages, for e.g to use a non-conventional repository transports like https.
2014-05-04 22:12:03 +05:30
Anders Ingemann
6302d5d962 Fix log_call test to not give random outcomes.
We shouldn't play around with the carriage return char,
seems like using that together with readline gives undefined results (wrt ordering).
2014-05-04 15:01:45 +02:00
Anders Ingemann
f1994fab1e Don't use Queue to gather log messages in log_call
... instead we just log the messages directly
2014-05-04 14:36:43 +02:00
Anders Ingemann
20eabc8aca Fix #21, check the AWS user-id on S3 manifests 2014-05-04 14:02:38 +02:00
Anders Ingemann
a3b84737f1 HVM AMIs only work when EBS backed right now.
S3 backed AMIs only work when they are unpartitioned.
Remove json schema restriction and add some nicer messages in the validation function
2014-05-04 13:46:40 +02:00
Anders Ingemann
612fe46186 Add restriction on partition type for HVM AMIs 2014-05-04 13:41:16 +02:00
Anders Ingemann
2ebacf6a3a Fix MBR offset and add some comments to explain 2014-05-04 13:41:16 +02:00
Anders Ingemann
3e4882128e Fix wrong bootloader vs. virtualization check 2014-05-04 13:41:16 +02:00