Commit graph

36 commits

Author SHA1 Message Date
Carlos Meza
1ec736038c pylint E1608(old-octal-literal) 2018-04-09 22:27:43 -07:00
Carlos Meza
6e183914ac fix pylint W0403(relative-import) 2018-02-25 04:12:24 +00:00
Carlos Meza
c068ba07ab pylint len-as-condition 2018-02-19 00:31:12 -08:00
Carlos Meza
a3584e6de9 remove squeeze support 2018-02-08 06:02:20 +00:00
Marcin Engelmann
8e92cf7db9 Add comment-header to files deployed by bootstrap-vz (resolves #429) 2018-01-20 18:18:56 +01:00
Anders Ingemann
a40c639c3c
Move some package adding tasks into the preparation phase 2017-04-15 10:01:27 +02:00
Nicolas Braud-Santoni
90da634226
Systematically use rel_path for relative paths 2016-09-12 19:11:20 +02:00
Anders Ingemann
cf6234bafd Split grub config into small tasks
The way boot options for linux and config params for grub
were configured gave rise to quite a few bugs.
The configuration has now been abstracted so that
options can be added without interfering with the work
of other tasks (no more sed_i!)
2016-06-04 18:48:54 +02:00
Anders Ingemann
f62c8ade99 Convert indentation from tabs to spaces (4)
Up until now I didn't see the point of using spaces for indentation.
However, the previous commit (a18bec3) was quite eye opening.
Given that python is an indentation aware language, the amount of
mistakes that went unnoticed because tabs and spaces were used
at the same time (tabs for indentation and spaces for alignment)
were unacceptable.

E101,W191 have been re-enable in the tox flake8 checker and
the documentation has been modified accordingly.

The following files have been left as-is:
* bootstrapvz/common/assets/extlinux/extlinux.conf
* bootstrapvz/common/assets/init.d/expand-root
* bootstrapvz/common/assets/init.d/generate-ssh-hostkeys
* bootstrapvz/common/assets/init.d/squeeze/generate-ssh-hostkeys
* bootstrapvz/plugins/docker_daemon/assets/init.d/docker
* bootstrapvz/providers/ec2/assets/bin/growpart
* bootstrapvz/providers/ec2/assets/grub.d/40_custom
* bootstrapvz/providers/ec2/assets/init.d/ec2-get-credentials
* bootstrapvz/providers/ec2/assets/init.d/ec2-run-user-data
* docs/_static/taskoverview.coffee
* docs/_static/taskoverview.less
* tests/unit/subprocess.sh
2016-06-04 11:38:16 +02:00
Anders Ingemann
2d6a026160 Fix a slew of indentation & spacing issues 2016-06-04 11:38:16 +02:00
Anders Ingemann
a7f2327e42 Litter the manifest schemas with additionalProperties:false
This pretty much eliminates the possiblity of undiscovered typos in the manifest
2015-05-02 13:04:30 +02:00
Anders Ingemann
71c7d445ad Fix #217, by introducing class for comparison of releases 2015-04-29 21:38:06 +02:00
Tiago Ilieve
e409115b25 Docs: fix wrongfully escaped terms 2015-04-28 01:21:07 -03:00
Anders Ingemann
5823c9119b Split grub and extlinux installs into separate modules 2015-04-16 22:21:12 +02:00
Anders Ingemann
953987fddf Combine documentation from github wiki with sphinx
This is the first step in the effort of combining all documentation about
bootstrap-vz into sphinx while still being able to access it from github
(github can parse rst as well)
2015-04-11 16:40:44 +02:00
Dan Merino
be5da54b46 Use DOCKER_LOCKEDMEMORY to set ulimit -l before starting Docker. Very important when applications inside the containers need to lock to large amounts of memory. 2014-11-27 16:28:56 -06:00
Dan Lorenc
718ef7ed26 Fix log_check_call in docker_daemon. 2014-11-24 11:24:13 -08:00
Dan Lorenc
170ece3691 Add opts parameter to docker_daemon. 2014-11-21 17:35:57 -08:00
Johan Euphrosine
e4663f4fbe docker_daemon: add comments 2014-11-21 11:22:11 -08:00
Johan Euphrosine
141e6399f3 fix ident, raise TaskError 2014-11-21 10:51:03 -08:00
Johan Euphrosine
99786539c7 plugins/docker_daemon: flake8 2014-11-19 16:25:27 -08:00
Johan Euphrosine
e53e727c9c plugins/docker_daemon: only add PullDockerImages tasks when pull_images is set 2014-11-19 16:21:38 -08:00
Johan Euphrosine
6fdf0cc403 plugins/docker_daemon: align with space 2014-11-19 16:16:26 -08:00
Johan Euphrosine
31ba98821c plugins/docker_daemon: logcheckcall, inline pull and indent 2014-11-19 16:14:51 -08:00
Johan Euphrosine
feb4d093c9 bootstrapvz/plugins/docker_daemon: spaces to tabs 2014-11-19 11:53:23 -08:00
Johan Euphrosine
962532065c bootstrapvz/plugins/docker_daemon: flake8 2014-11-19 11:49:26 -08:00
Johan Euphrosine
f3a9a1b1ec docker_daemon: add pull_images option 2014-10-31 05:32:15 -07:00
Dave Bailey
bad378e28b fix test for DOCKER_NOFILE 2014-09-22 17:11:26 +00:00
Dave Bailey
107577cb16 allow custom ulimit -n for Docker 2014-09-17 18:12:49 +00:00
Tiago Ilieve
0f5de13bae Add version option to docker_daemon plugin
As requested on #147, there is now an option to specify the Docker
version to be installed when using the `docker_daemon` plugin. The
version string is validated against a pattern extracted from the
Docker's CHANGELOG. If the version is not present, it will just download
the latest available.

The download method was also changed from `urllib` to `wget`, so we can
see its progress if needed.

This closes #147.
2014-09-13 15:08:52 -03:00
Tiago Ilieve
8f43ee1dc7 Move AddBackports to common.tasks.apt
The `AddBackports` task is needed by many different plugins, so is
better if it is available as a common task.

This closes #96.
2014-07-12 14:42:52 -03:00
Anders Ingemann
e4a9cc837a Differentiate installation of grub 1.99 and grub 2 2014-07-09 23:17:05 +02:00
Anders Ingemann
34bb45bb00 Factor release codename fetching out into common.tools
This allows code that runs before the bootstrapinformation object has been created
to also figure out the release codename
2014-07-09 23:17:05 +02:00
Anders Ingemann
03a0746299 Convert every JSON file to YAML
Lines removed: over 500. Readiblity gained: A shitload
Now you can actually get an overview of a manifest on a single screen height.
I am sure that it will also save a lot of hassle when modifying schema in the future.
No more "expected property name" etc. because of an extraneous comma
Comments are of course natively support, so there's no need for this minify_json hokey pokey
2014-07-09 23:17:04 +02:00
Victor Marmol
fb8507c0f4 Enable the memory cgroup for the Docker plugin.
This will allow for the enforcement and tracking of memory limits and usage.
2014-06-23 19:38:38 +00: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