Commit graph

1307 commits

Author SHA1 Message Date
Anders Ingemann
a446e8eecc Fix oracle provider dependency
The requests module is required
2016-03-04 01:21:52 +01:00
Anders Ingemann
df356ffad2 Fix docker provider bug
4fc3b69 converte the locale_group into a function.
This wasn't changed in the docker provider
2016-03-04 01:21:52 +01:00
Anders Ingemann
d7def9b942 Fix indentation in file_copy plugin docs 2016-03-04 01:21:52 +01:00
Anders Ingemann
6bb654b79f Compat with new sphinx
Changed a lot of code:: to code-block::
Also added sphinx_rtd_theme to deps in tox
2016-03-04 01:21:52 +01:00
Anders Ingemann
e80233bc44 Remove coverage per default from testing
We have no pretty way of showing this right now
meaning it's pretty much just noise.
2016-03-04 01:21:52 +01:00
Anders Ingemann
77307e3bbf Add first integration test
This takes all the manifests and does a dry-run on them.
The plan is to later on enable testing of partial plugin examples as well.
2016-03-04 01:00:29 +01:00
Anders Ingemann
6a7a6e21d5 Make the manifest unit tests prettier 2016-03-04 00:48:48 +01:00
Anders Ingemann
4a0c598b81 Fix unit/manifests_tests
The manifest folder reordering into official/ and examples/
hid all of the manifests from that generator.
recursive_glob has been introduced in order to be able to find all
manifests.
2016-03-04 00:48:48 +01:00
Anders Ingemann
4c9aaf2dba By default, tox now builds the docs
This makes sure nobody breaks the docs by accident
2016-03-04 00:48:48 +01:00
Anders Ingemann
f8118b3f3e Rename integration tests to system tests, since they cover the entire system
*cough e82bdf4 *cough
2016-03-04 00:48:48 +01:00
Zach Marano
d485ef681a Fix typo 2016-03-03 14:29:42 -08:00
Zach Marano
b590a02a8c Fix import. 2016-03-03 14:14:54 -08:00
Zach Marano
2b629d784c Again fix the expand-root script for GCE. The volume is not /dev/loop0
but it should be /dev/sda.
2016-03-03 13:59:01 -08:00
Anders Ingemann
41597d2700 Merge pull request #301 from zmarano/master
Fix expand-root so it works correctly on GCE and other providers
2016-03-03 19:33:40 +01:00
Zach Marano
108fa9547e Move the >=jessie workaround out of the common task. 2016-03-03 10:14:02 -08:00
Zach Marano
ee12a3e340 Fix missing script line. 2016-03-02 16:30:53 -08:00
Zach Marano
31a98badcb Fix unused import. 2016-03-02 16:28:11 -08:00
Zach Marano
3f208b985f Move hack for growpart to its own task. 2016-03-02 16:19:57 -08:00
Zach Marano
6c03860eac Fix GCE expand-root since commit/2ece5a66e1e36f30bef3a675e8287ab8c1bcc04f 2016-03-02 12:54:06 -08:00
Anders Ingemann
4e8300a7df Merge pull request #300 from nbraud/patch-1
Travis: use the container-based test environment
2016-03-01 21:56:53 +01:00
Anders Ingemann
f7cdc348dc Merge pull request #299 from nbraud/metaschema
manifest: Validate schemata before use
2016-03-01 21:56:05 +01:00
Anders Ingemann
aa4cab4084 Merge pull request #298 from nbraud/file_copy
file_copy: Fix manifest and document
2016-03-01 21:49:29 +01:00
Nicolas Braud-Santoni
bcd1c7b536 manifest: Load the metaschema only once 2016-03-01 21:26:46 +01:00
Nicolas Braud-Santoni
d2e24277dd Travis: use the container-based test environment 2016-03-01 20:33:15 +01:00
Nicolas Braud-Santoni
e5f32ba441 file_copy: Validate early
This validates the source file presence when the
  manifest is validated, rather than failing later.
2016-03-01 20:21:49 +01:00
Nicolas Braud-Santoni
de888c1b3c file_copy: Add documentation 2016-03-01 14:58:52 +01:00
Anders Ingemann
8a8d07991e Merge pull request #291 from nbraud/admin_user
admin_user plugin: Fix non-EC2 behaviour
2016-03-01 00:01:12 +01:00
Anders Ingemann
6dbca78fc0 Merge pull request #296 from zmarano/master
Cleanup package list and add in other packages
2016-03-01 00:00:04 +01:00
Nicolas Braud-Santoni
324a2fb7d4 manifest: Validate schemata before use
This is probably suboptimal, as the metaschema is reloaded every time.
2016-02-29 21:22:24 +01:00
Nicolas Braud-Santoni
72a9975ed9 admin_user: Add warnings 2016-02-29 20:15:24 +01:00
Zach Marano
c34d7d11c8 Only include bare essential packages in the GCE provider task. Move
extras to the manifest files.
2016-02-29 10:38:34 -08:00
Nicolas Braud-Santoni
ed6ca6dd6e file_copy: Fix manifest 2016-02-29 19:08:42 +01:00
Zach Marano
74a8aae6ac Cleanup package list and add in packages that were being added outside
of bootstrap-vz. Remove i386 kernels that GCE does not support as well
as squeeze, and add in a stretch kernel.
2016-02-26 16:24:20 -08:00
Anders Ingemann
e961438904 chown/chgrp entire .ssh dir to admin_user
Fixes #295
2016-02-25 08:27:27 +01:00
Nicolas Braud-Santoni
79b3803d64 admin_user plugin: Fix non-EC2 behaviour 2016-02-24 03:20:52 +01:00
Anders Ingemann
151dcf5a85 Merge pull request #290 from nbraud/debconf
Add a debconf plugin
2016-02-23 18:06:43 +01:00
Nicolas Braud-Santoni
fbed5f184b Update change log 2016-02-23 17:34:30 +01:00
Nicolas Braud-Santoni
b4b7fa6bc2 plugins/debconf: Documentation 2016-02-23 17:30:17 +01:00
Nicolas Braud-Santoni
ad79b63c19 Add 'debconf' plugin
Closes #282
2016-02-23 17:30:17 +01:00
Tiago Ilieve
9e6028799a oracle: use 'Bytes' instead of custom calculation 2016-02-22 21:39:31 -03:00
Tiago Ilieve
5f9152bec3 oracle: connect to the API when instantiating 2016-02-22 21:17:36 -03:00
Nicolas Braud-Santoni
7c5e5d111d manifest-schema: Relax requirements for plugins
This lets plugins define arbitrary datatypes for their configuration,
  not only objects.

Also, `additionalProperties` was not specified, so entries with
  arbitrary names could be added.  This isn't the case anymore.
2016-02-22 15:16:45 +01:00
Tiago Ilieve
e1d296d5dc oracle: clarify 'credentials' usage a little bit 2016-02-22 10:10:51 -03:00
Tiago Ilieve
a5a6dedfb3 oracle: remove unused assets initialization 2016-02-22 10:07:32 -03:00
Tiago Ilieve
6c8847de36 Merge pull request #288 from nbraud/typo
CONTRIBUTING: Fix typo
2016-02-22 09:07:47 -03:00
Nicolas Braud-Santoni
be5bc17d8f
CONTRIBUTING: Fix typo 2016-02-22 11:35:52 +01:00
Tiago Ilieve
0fa99e71c6 oracle: add documentation about image upload/check 2016-02-19 21:19:45 -02:00
Tiago Ilieve
bd431abd3a oracle: fix API client messages' log level 2016-02-19 21:16:16 -02:00
Tiago Ilieve
54870ab396 oracle: add image tarball upload/check tasks 2016-02-19 21:16:16 -02:00
Tiago Ilieve
c07f56b796 oracle: update schema and validation 2016-02-19 21:16:16 -02:00