Zach Marano
977b1c23a3
Change location of GCE apt repo's (this is an interim change).
...
hange gcutil command to gcloud as gcutil is deprecated.
2015-12-15 11:20:49 -08:00
Anders Ingemann
51144f7456
Rename minimized-jessie.yml to jessie-minimized.yml
2015-12-13 23:32:26 +01:00
Anders Ingemann
072969065c
Implement docker integration test provider and docker tests
...
Also make build_server.remote_command() public. It's quite useful.
2015-12-13 23:12:00 +01:00
Anders Ingemann
7502b2a756
Bump version number
...
This should've been done when the version was tagged. Sorry.
2015-12-13 20:26:43 +01:00
Anders Ingemann
02860de849
Fixed the error that's been swallowing exception messages
...
Finally!
Becuase "TypeError: __init__() takes at least 3 arguments (2 given)"
is not very useful...
2015-12-13 20:26:43 +01:00
Anders Ingemann
bd7675bedf
Introduce run_settings in build_servers.yml
...
Will be used when starting instances during integration testing.
2015-12-13 19:42:15 +01:00
Anders Ingemann
7117a6ac61
Docker: It's called an image ID not container ID
2015-12-13 19:42:15 +01:00
Anders Ingemann
6cca4ae2e1
Allow manifest vars in docker image name
2015-12-13 19:42:15 +01:00
Anders Ingemann
d0bb9f75d3
The image name is now the repo + tag. Also:Improve labeling
2015-12-13 19:42:15 +01:00
Anders Ingemann
5dada603eb
Add dockerfile to image, support labels, add documentation
2015-12-13 19:41:18 +01:00
Anders Ingemann
7393d7cfb5
Only allow the minbase variant
2015-12-13 19:41:18 +01:00
Anders Ingemann
cba496d761
Improve providers docs and add loads of manifest examples
2015-12-13 19:41:18 +01:00
Anders Ingemann
c880a6849a
Remove image section in manifest
...
All provider specific settings have been moved to the
provider section. The image name itself is now located
at the top level and called "name". It is required for all providers.
2015-12-13 19:41:18 +01:00
Anders Ingemann
2923f25767
Place debootstrap excludes file in workspace instead of tmp
2015-12-13 19:41:18 +01:00
Anders Ingemann
52c05e5df6
Move docs about image description to gce & ec2 providers
2015-12-13 19:41:18 +01:00
Anders Ingemann
058d954120
Remove predecessor task (copypasta mistake)
2015-12-13 19:41:17 +01:00
Anders Ingemann
9d0356f4fa
Disable locale generation when no locales selected
2015-12-13 19:41:17 +01:00
Anders Ingemann
31f7c70237
Update GenerateLocale task description
2015-12-13 19:41:17 +01:00
Anders Ingemann
766e60b0de
Document all the new minimize_size options
2015-12-13 19:41:17 +01:00
Anders Ingemann
83f6fae139
Fix task description for apt autoremove
2015-12-13 19:41:17 +01:00
Anders Ingemann
3e6d131730
Allow keeping no locales at all when using dpkg.locales
2015-12-13 19:41:17 +01:00
Anders Ingemann
b95e71c4c8
Move dpkg specific settings to dpkg subsection
2015-12-13 19:41:17 +01:00
Anders Ingemann
50b02777e5
Add some comments about the filtering procedure
2015-12-13 19:41:17 +01:00
Anders Ingemann
5883673380
umount /sys & /proc when debootstrap is aborted
2015-12-13 19:41:17 +01:00
Anders Ingemann
1df2588b23
Add option to exclude /usr/share/doc
...
The bootstrap exclude script has also been generalize in the process
2015-12-13 19:41:17 +01:00
Anders Ingemann
620a592f11
Split minimize_size tasks into smaller parts
2015-12-13 19:41:16 +01:00
Anders Ingemann
6ae859f886
Implement locale filter in minimize_size plugin
...
This filter is rather aggressive, since it also hooks into the
bootstrapping process itself to prevent debootstrap from unpacking
specific locale files
2015-12-13 19:41:16 +01:00
Anders Ingemann
42d12d440d
Add bootstrap_script property to BootstrapInfo
...
This allows plugins to manipulate the debootstrap process
2015-12-13 19:41:16 +01:00
Anders Ingemann
55b2d2228f
info.tarball is never used across tasks, make it local
2015-12-13 19:41:16 +01:00
Anders Ingemann
764f8f759d
Implement some apt minimization stuff from docker
...
See here for more: 1d775a54cc/contrib/mkimage/debootstrap
2015-12-13 19:41:16 +01:00
Anders Ingemann
4a509aba76
First stab at docker provider
...
Huh... That was easy.
2015-12-13 19:41:16 +01:00
Anders Ingemann
3de0aceb65
Fix guest additions path check in vbox schema
2015-12-09 17:23:35 +01:00
Anders Ingemann
57c2522c7b
Remove unused README in kvm provider
2015-12-09 16:21:57 +01:00
Marcin Kulisz
11a839045d
Vbox guest additions info added to the vbox provider readme
2015-11-09 21:53:48 +00:00
Tiago Ilieve
3d3c303ee1
Changes 'MoveImage' from loopback
to image
2015-10-18 16:35:11 -02:00
Tiago Ilieve
10742f8ca3
gce: the right name isn't GCE or GSE, it's GCS[1]
...
[1]: https://cloud.google.com/storage/
2015-10-18 16:31:12 -02:00
Tiago Ilieve
0068cdc1a8
gce: fix small typo on UploadImage
2015-10-16 00:06:58 -03:00
Tiago Ilieve
4d553a0b49
Update Azure README
...
There isn't a requirement for RAW -> VHD conversion anymore. QEMU
supports VHD images from versions 1.1 and up[1], which are available on
`wheezy` (no need for `wheezy-backports`).
Also updates the information regarding `wget`.
[1]: http://wiki.qemu.org/ChangeLog/1.1#Block_devices
2015-10-15 09:50:46 -03:00
Anders Ingemann
f572703ecc
Bootstrap azure images directly to VHD
2015-10-14 22:40:15 +02:00
Anders Ingemann
d5ef584b42
Add note about why the VDI format does not have an OVF URI
2015-10-14 22:40:14 +02:00
Anders Ingemann
70be6b8198
Add docs for EC2 specific manifest settings
2015-10-14 22:40:14 +02:00
Rick Wright
77cbb64b9f
GRUB_HIDDEN_TIMEOUT should be a numeric value.
...
This changes GRUB_HIDDEN_TIMEOUT to 0 from true and sets
GRUB_HIDDEN_TIMEOUT_QUIET to true.
2015-09-28 14:51:31 -07:00
Rick Wright
1e2fe02847
Fix a problem with Debian 8 on GCE with >2TB disks
...
This change makes two fixes. First, it fixes a race condition on Debian
8 GCE instances which caused instances with >2TB disks to fail. Second,
it adds the required "PREREQ" header to the script, which was previously
missing and caused errors at build time. These two issues are somewhat
unrelated to each other, but debugging the first led to finding the
second.
2015-09-23 16:55:16 -07:00
EmmanuelKasper
1475a50dbc
Set Virtualbox memory to 512 MB
...
Vagrant documentation recommends to use 512MB for base boxes:
http://docs.vagrantup.com/v2/boxes/base.html
2015-09-04 16:51:55 +02:00
Anders Ingemann
0091afcfb4
Merge pull request #243 from szarkos/azure-debian
...
Updates for building Debian images for Azure
2015-08-25 08:42:23 +02:00
Stephen A. Zarkos
52ed8c247f
Simplify Azure udev patch.
2015-08-25 00:15:01 +00:00
Tiago Ilieve
f5de2fbc0d
Changes default Debian mirror
...
Although it isn't yet deprecated by the wiki[1], the Debian mirrors HTTP
redirector names itself as `httpredir.debian.org`, even when accessed at
`http.debian.net`.
[1]: https://wiki.debian.org/DebianGeoMirror
2015-08-07 18:16:14 -03:00
Stephen A. Zarkos
3f743d01b1
Small fixes for Azure images
...
- Add apt import for backports
- Comment GRUB_HIDDEN_TIMEOUT so we can set GRUB_TIMEOUT.
2015-08-06 00:21:23 +00:00
Stephen A. Zarkos
0212db733d
Updates to Azure image creation.
...
- Wheezy images use wheezy-backports kernel by default
- Change Wheezy image to use single partition
- Update WALinuxAgent to use 2.0.14
2015-08-05 22:20:14 +00:00
Stephen A. Zarkos
7cb4453fe4
Make sure we can override grub.ConfigureGrub for Azure images.
2015-08-05 22:16:24 +00:00