Commit graph

965 commits

Author SHA1 Message Date
Anders Ingemann
6b693429f3 Remove old test code 2015-04-16 22:15:18 +02:00
Anders Ingemann
31c453070f Add log source to log messages 2015-04-16 22:15:18 +02:00
Anders Ingemann
0f4c08e51d Refactor, logging, comments 2015-04-16 22:15:18 +02:00
Anders Ingemann
08976ffe07 Remove unused import 2015-04-16 22:15:18 +02:00
Anders Ingemann
1ddc0fbc32 Add comment about random ports 2015-04-16 22:15:18 +02:00
Anders Ingemann
9fd30e2cc9 Remove remote/ 2015-04-16 22:15:18 +02:00
Anders Ingemann
f8d79f06e3 More graceful CallbackServer shutdown 2015-04-16 22:15:18 +02:00
Anders Ingemann
d88d73c7f1 Allow listening on different ports on remote and local 2015-04-16 22:15:18 +02:00
Anders Ingemann
90f207897e Ignore build_servers.yml 2015-04-16 22:15:18 +02:00
Anders Ingemann
fd07954764 Remove manual deserialization 2015-04-16 22:15:18 +02:00
Anders Ingemann
ed222d579f Little refactor 2015-04-16 22:15:17 +02:00
Anders Ingemann
3542406b91 Fix (de-)serialization 2015-04-16 22:15:17 +02:00
Anders Ingemann
2b33561b82 Don't kill SSH, ask callback server to stop instead of commtimeout 2015-04-16 22:15:17 +02:00
Anders Ingemann
a35ae91b67 Simplify? Hopefully... 2015-04-16 22:15:17 +02:00
Anders Ingemann
282e22c001 debugging 2015-04-16 22:15:17 +02:00
Anders Ingemann
569e1246a5 Deserialize manifest 2015-04-16 22:15:17 +02:00
Anders Ingemann
922cabe80a Serialize exception info by printing it 2015-04-16 22:15:17 +02:00
Anders Ingemann
150b15bb4f (g|s)etstate for manifest 2015-04-16 22:15:17 +02:00
Anders Ingemann
aa9616f4a6 Stop callback server last 2015-04-16 22:15:17 +02:00
Anders Ingemann
16837b38c2 Close thread on both ends! 2015-04-16 22:15:17 +02:00
Anders Ingemann
e271f3e49a Initial work on integration testing started.
The work consists of three parts:
* Allow for bootstrapping remotely,
  this makes it possible to run the tests
  on e.g. OSX with VirtualBox installed
* Make bootstrapping a fully automated process
  where the manifests can be generated by the tests
  and the tests can call the bootstrapper directly in python
* Create a framework wherein instances can be booted up
  using the bootstrapped images and subsequently tested
2015-04-16 22:15:17 +02:00
Anders Ingemann
e82bdf4a84 Rename integration tests to unit tests, since they really only cover small parts of the system. 2015-04-16 22:14:38 +02:00
Anders Ingemann
2f3ee404d1 Remove bogus intro text from providers/index.rst 2015-04-12 15:42:43 +02:00
Anders Ingemann
f1e98fdd8e Merge branch 'full-sphinx-documentation' into development 2015-04-12 15:14:23 +02:00
Anders Ingemann
188672404b Move developer doc stuff into developers/ subfolder 2015-04-12 15:12:37 +02:00
Anders Ingemann
65ddee99d7 Fix some links 2015-04-12 15:01:06 +02:00
Anders Ingemann
6980dd6517 Add sphinx extension that replaces absolut RTD urls
This makes it possible to add proper links when showing an rst on github,
while also resolving it to relative links on readthedocs
2015-04-12 14:33:04 +02:00
Anders Ingemann
62b87f22d5 Link to code in github rather than embedding it 2015-04-12 14:33:03 +02:00
Anders Ingemann
3e129b594b Fix unit testing, don't try parsing README.rst as manifest 2015-04-12 11:15:27 +02:00
Anders Ingemann
f27d622e2c Include changelog in docs (converted it to rst) 2015-04-11 17:12:31 +02:00
Anders Ingemann
c31715305a Add yml files to MANIFEST.in 2015-04-11 17:05:51 +02:00
Anders Ingemann
619fed5275 Merge dev guidelines and contribution info into single doc 2015-04-11 17:04:09 +02:00
Anders Ingemann
79ba557777 Convert README.md into rst and include from the docs 2015-04-11 16:58:49 +02:00
Anders Ingemann
34a87acf16 Add documentation about the manifest 2015-04-11 16:43:01 +02:00
Anders Ingemann
f9b234e3e6 Remove docs-serve testenv again
It can cause some weird errors when running two tox invocations at the same time
2015-04-11 16:40:44 +02:00
Anders Ingemann
c089301f79 Generate task graph data through sphinx conf.py 2015-04-11 16:40:44 +02:00
Anders Ingemann
fc29266c97 Move API docs into api/ 2015-04-11 16:40:44 +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
Anders Ingemann
73972e1b60 Move taskoverview exec into docs/ 2015-04-11 16:40:44 +02:00
Anders Ingemann
d06fbb4a2d Turn on nazi option for sphinx and fix warnings 2015-04-11 16:40:44 +02:00
Anders Ingemann
be5590f411 Add highlighting of tasks in same module in taskoverview
and a docs-serve tox target
2015-04-11 16:40:43 +02:00
Anders Ingemann
0276b70910 Fix taskoverview graph 2015-04-11 16:40:43 +02:00
Anders Ingemann
6f87287c31 Also build task graph when building docs 2015-04-11 16:40:43 +02:00
Anders Ingemann
d3f306a6d9 Build docs through tox 2015-04-11 16:40:43 +02:00
Anders Ingemann
7a9aaa0bfc Merge pull request #207 from jwendell/deregister_ami
ec2_launch: Allow to deregister the AMI after launching image
2015-04-10 00:38:24 +02:00
Jonh Wendell
a5cd6e077d ec2_launch: Allow to deregister the AMI after launching image
If all you want is to test an image or product and to achieve this
you need to generate several images a day, you will end up with
lots of AMI's and snapshots that have no use in the end of the day.

This commit adds the new boolean manifest option "deregister_ami"
that, if True, deletes the recently created AMI and snapshot. So, the
final result will be only the running instance, nothing else.
2015-04-06 14:23:36 -03:00
Jonh Wendell
50d61c735d ec2_launch: Store the instance object directly in the info dictionary
Instead of storing just its ID.

This gives quick access to the recently created instance, which
allows us to simplify the code that needs to fetch the instance object
every time it was necessary.
2015-04-06 14:21:13 -03:00
Jonh Wendell
b934808cce ec2_launch: Simplify the logic for getting the IP address
Use the function waituntil() available in the integration-test branch
to simplify the code that retrieves the IP of the instance.

A 'TODO' note was also added to remember us to merge this function
once it gets merged.
2015-04-06 11:47:15 -03:00
Anders Ingemann
c632785e6c Merge pull request #206 from jwendell/ec2_launch
New plugin: ec2_launch
2015-03-31 22:14:54 +02:00
Jonh Wendell
af68be15c6 New plugin: ec2_launch
It adds the ability to automatically launch an EC2 instance
after AMI registration.

It has no mandatory configuration, only optional ones, like
instance type, security groups, etc. They should be documented in
later documentation patches.
2015-03-30 15:36:33 -03:00