Anders Ingemann
6a0bef147a
Refactor. Locking a vbox is now quite a bit easier
2015-04-16 22:15:21 +02:00
Anders Ingemann
6f23bcaafc
Add apt_proxy partial
2015-04-16 22:15:21 +02:00
Anders Ingemann
8090d3c5bc
Log to file on the remote
2015-04-16 22:15:20 +02:00
Anders Ingemann
e8d6e7f602
factor AbstractPartition.Mount out into separate module and make it serializable
2015-04-16 22:15:20 +02:00
Anders Ingemann
ad52df37bd
Add partial for config of root password
2015-04-16 22:15:20 +02:00
Anders Ingemann
71e0d943fc
Make json and yaml files conflict instead of override
2015-04-16 22:15:20 +02:00
Anders Ingemann
e9137ac172
Make serialization a lot more easy to handle
2015-04-16 22:15:20 +02:00
Anders Ingemann
e2cddbca4c
Can now create and boot vbox image
2015-04-16 22:15:20 +02:00
Anders Ingemann
ea3eeae064
vbox instance creation working
2015-04-16 22:15:20 +02:00
Anders Ingemann
a8e5c2d6e4
Fix problem with read rights on remote build machine
2015-04-16 22:15:20 +02:00
Anders Ingemann
288c5f4c57
Always use tarball, minor fixes to test
2015-04-16 22:15:20 +02:00
Anders Ingemann
09fee291a8
Fix bugs in remote build server
2015-04-16 22:15:20 +02:00
Anders Ingemann
ab18516f79
Support SIGINT over the network
2015-04-16 22:15:20 +02:00
Anders Ingemann
2b6fefd789
Fix serialization of exceptions
2015-04-16 22:15:20 +02:00
Anders Ingemann
056d279b65
Read import in base.__init__
2015-04-16 22:15:19 +02:00
Anders Ingemann
bc8967529d
Move remote log stuff back into remote module
2015-04-16 22:15:19 +02:00
Anders Ingemann
ece717a79f
Fix bugs when picking the build server
2015-04-16 22:15:19 +02:00
Anders Ingemann
cee05e3fd0
Refactor...
2015-04-16 22:15:19 +02:00
Anders Ingemann
3d38ce04ef
Move build_servers module into bootstrapvz
2015-04-16 22:15:19 +02:00
Anders Ingemann
909e5cee46
Put remote module into pkg root
2015-04-16 22:15:19 +02:00
Anders Ingemann
209651ef38
Dry run working in tests
2015-04-16 22:15:19 +02:00
Anders Ingemann
a7a3161d66
Require Pyro4 >= 4.30
2015-04-16 22:15:19 +02:00
Anders Ingemann
c5bc45218e
Fix documentation
2015-04-16 22:15:19 +02:00
Anders Ingemann
65b9e10ce3
VirtualBox integration
2015-04-16 22:15:19 +02:00
Anders Ingemann
0f8dbb7ac3
Install Pyro4 dep when testing
2015-04-16 22:15:19 +02:00
Anders Ingemann
86afbaf929
Clean up integration testing
2015-04-16 22:15:18 +02:00
Anders Ingemann
03a48b9407
Simplify loading of partial manifests
2015-04-16 22:15:18 +02:00
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