Commit Graph

29 Commits

Author SHA1 Message Date
Marcos Lilljedahl
6e925c9a85 Fix print formatting errors 2018-02-24 12:45:41 -03:00
marcos
386bd87385 Add support for file editor 2018-01-05 13:13:07 -03:00
marcos
29ed79d418 Fix issue with scheduler mutex. Update k8s motd with new kubedashboard
url
2017-11-24 00:45:00 -03:00
Jonathan Leibiusky
d758c1a303 When playground is created or modified it emits an event. (#225)
The scheduler listens to playground events and updates it's
configuration immediately.
2017-11-23 13:40:06 -03:00
Jonathan Leibiusky
95e4aaa5f7 Allow to decide which tasks are going to be executed per playground (#218) 2017-11-21 11:58:31 -03:00
Jonathan Leibiusky @xetorthio
f22bf1b3da Fix failing tests 2017-11-17 09:23:29 -03:00
Marcos Nils
3481442768 Initial k8s support in libplayground (#216)
* Initial k8s support in libplayground

* Make tasks never give up + custom event for k8s cluster status
2017-11-16 18:23:13 -03:00
Marcos Lilljedahl
7ce693fab5 Vendor dependencies and use docker/go-docker for API types 2017-10-20 18:42:16 -03:00
Jonathan Leibiusky (@xetorthio)
b99c047a0c Revert "Add session keep alive. If client doesn't send a keep alive, after a"
This reverts commit 1b0d363ffe.
2017-10-17 01:42:59 +02:00
Jonathan Leibiusky (@xetorthio)
1b0d363ffe Add session keep alive. If client doesn't send a keep alive, after a
specified amount of time the scheduler closes the session
2017-10-16 18:11:15 +02:00
Marcos Lilljedahl
ff905a0993 Merge branch 'next' of github.com:xetorthio/play-with-docker into next 2017-09-21 15:06:37 -03:00
Jonathan Leibiusky @xetorthio
2a261094ff GetForSession now expects a *types.Session instead of a string 2017-09-20 17:29:58 -03:00
Marcos Lilljedahl
857f6f0f62 Fix tests 2017-09-19 15:33:13 -03:00
Jonathan Leibiusky @xetorthio
86f27ee10d Connections to unsecure hosts has to go to 2375 not 2376.
Make swarm ports search by hostname and not instance name as it is what
we get from swarm.
2017-09-18 17:13:03 -03:00
Jonathan Leibiusky @xetorthio
3ca50eae2e Make sure to use the max number of failures 2017-09-14 09:57:50 -03:00
Jonathan Leibiusky @xetorthio
7763175e18 Give up after a few tries 2017-09-13 19:50:58 -03:00
Jonathan Leibiusky @xetorthio
d566e5ee05 Reimplement the scheduler to be a lot more reliable 2017-09-13 19:21:06 -03:00
Jonathan Leibiusky @xetorthio
eeff2ed652 Use L2 router to reach windows instances 2017-09-08 10:03:38 -03:00
Jonathan Leibiusky @xetorthio
150b089602 Reimplement terminal connections 2017-09-07 15:27:25 -03:00
Jonathan Leibiusky @xetorthio
954c52471b Refactor storage to support shallow types.
Add Client to storage.
Fix client resizing issues.
2017-09-01 20:12:19 -03:00
Jonathan Leibiusky @xetorthio
beec1628be Don't have parallel execution of task if it takes longer than interval
time
2017-08-28 11:53:12 -03:00
Marcos Lilljedahl
fb1e50deaf Refactor GetForInstance so it doesn't depends on storage 2017-08-11 18:16:14 -03:00
Jonathan Leibiusky @xetorthio
0bc0342399 Scheduler fixes 2017-08-10 17:18:34 -03:00
Jonathan Leibiusky @xetorthio
ce8ec8a151 EventType is now based on string 2017-08-10 17:04:40 -03:00
Jonathan Leibiusky @xetorthio
3906bd3b57 Changes to L1 router to also pass the protocol it is routing. 2017-08-03 11:55:53 -03:00
Marcos Lilljedahl
0655a4bb99 Set session ticker inside cron 2017-08-02 13:31:41 -03:00
Marcos Lilljedahl
cfb2ad01ca Set session ticker when calling Schedule 2017-08-02 13:00:29 -03:00
Jonathan Leibiusky @xetorthio
5ee4bb2011 More fixes 2017-07-28 23:24:02 -03:00
Jonathan Leibiusky @xetorthio
0e08107738 Tests are working again 2017-07-28 20:42:05 -03:00