Commit Graph

32 Commits

Author SHA1 Message Date
Jonathan Leibiusky @xetorthio
fe299fed90 Make SessionSetup faster and support for command execution 2017-09-11 18:09:27 -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
438fe9f6e7 Add SessionProvisioner and InstanceProvisionerFactory
Remove AllowedImages and IsDockerHost as it is not really being used for
anything useful
2017-08-24 15:36:59 -03:00
Jonathan Leibiusky @xetorthio
1263f36bc8 Send proxy_host in the new instance event 2017-08-11 11:39:25 -03:00
Jonathan Leibiusky @xetorthio
7f17a7e21d Don't panic when docker client cannot be obtained.
Make close session faster by deleting instances in parallel.
2017-08-11 09:49:19 -03:00
Jonathan Leibiusky @xetorthio
79181b2a17 Fix close session bug 2017-08-10 16:48:07 -03:00
Jonathan Leibiusky @xetorthio
cfc03b2826 Always get instance from storage 2017-08-09 18:16:55 -03:00
Jonathan Leibiusky @xetorthio
c2b156d02a Add provisioners 2017-08-02 11:58:56 -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
Jonathan Leibiusky @xetorthio
53e6078cc5 WIP 2017-07-25 16:36:10 -03:00
Jonathan Leibiusky @xetorthio
8424479e76 Update event names 2017-07-24 14:55:17 -03:00
Marcos Lilljedahl
4eda861329 Merge branch 'routing_refactor' into next 2017-07-18 15:15:11 -03:00
Marcos Lilljedahl
8eae9c1e06 Merge branch 'next' into mongo_storage 2017-07-18 14:43:27 -03:00
Jonathan Leibiusky @xetorthio
08b64dadde Add storage API abstraction 2017-07-18 14:32:17 -03:00
Jonathan Leibiusky @xetorthio
4731d8ec98 Event refactor 2017-07-18 10:45:05 -03:00
Marcos Lilljedahl
b9f154c07c Unify file upload strategies 2017-07-10 18:53:33 -03:00
Jonathan Leibiusky @xetorthio
e6b089f9be Allow to drag & drop file uploads to instances
Upload file to relative session dir from terminal
2017-07-09 23:36:58 -03:00
Jonathan Leibiusky @xetorthio
1ee90c43d1 Merge branch 'master' into storage_refactor 2017-06-22 09:16:49 -03:00
Jonathan Leibiusky @xetorthio
824d5334df Merge branch 'master' into storage_refactor 2017-06-21 10:51:26 -03:00
Jonathan Leibiusky @xetorthio
eee76951b7 Add multipart upload to instances 2017-06-21 10:02:25 -03:00
Jonathan Leibiusky @xetorthio
755e3c7707 Add ssh proxy 2017-06-19 12:00:29 -03:00
Jonathan Leibiusky @xetorthio
3a13358739 Merge branch 'master' into storage_refactor 2017-06-16 10:02:20 -03:00
Marcos Lilljedahl
bb13a8be5d Add UCP image as allowed 2017-06-15 17:40:11 -03:00
Jonathan Leibiusky @xetorthio
e9911abf94 Storage has now it's own package.
Remove global `sessions` map and use configured storage.
Add a `types` package so both `pwd` and `storage` can access without
circular dependencies.
Now the session is prepared when requested and not on load.
2017-06-15 16:09:41 -03:00
Jonathan Leibiusky @xetorthio
6c8c21618b More prometheus metrics 2017-06-14 20:59:50 -03:00
Jonathan Leibiusky @xetorthio
8f247794bb Add PWD_HOST_FQDN env variable to instances. 2017-06-14 19:02:07 -03:00
Jonathan Leibiusky @xetorthio
84b532b887 Instances in a session should be created sequentially 2017-06-09 10:18:30 -03:00
Jonathan Leibiusky @xetorthio
a09f90f968 Allow custom hostnames when creating instances 2017-06-05 10:08:03 -03:00
Jonathan Leibiusky @xetorthio
2e63e541f3 Make sure not to treat the instance as a docker host always, as it might
not be one.
2017-05-29 10:19:01 -03:00
Jonathan Leibiusky @xetorthio
b0b9269ccc Allow to launch instances with any kind of public image.
Images that are not whitelisted will be launched as normal containers.
Only whitelisted ones will be launched as privileged.
Additionally pull the image if it doesn't exist.
2017-05-27 20:04:37 -03:00
Jonathan Leibiusky @xetorthio
3d96760a98 WIP 2017-05-23 19:29:36 -03:00