Commit Graph

557 Commits

Author SHA1 Message Date
Marcos Lilljedahl
19176966e2 Assign network endpoints to config object 2017-08-25 14:08:26 -03:00
Jonathan Leibiusky @xetorthio
6941b8b69a Make networks a list so it can be decided by the provisioner to which to
connect to
2017-08-25 13:39:17 -03:00
Jonathan Leibiusky @xetorthio
3c6d87cb14 Add SessionClose to SessionProvisioner 2017-08-25 11:14:49 -03:00
Jonathan Leibiusky @xetorthio
c44512f159 Add labels and additional network to connect container to 2017-08-25 10:21:59 -03:00
Marcos Lilljedahl
52d523ac92 Add NetworkInspect to DockerAPI 2017-08-24 16:45:12 -03:00
Marcos Lilljedahl
1bdda6948e Add network opts to CreateNetwork API 2017-08-24 16:20:32 -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
Marcos Lilljedahl
11d9d59975 Add terminal to ssh 2017-08-21 15:41:54 -03:00
Jonathan Leibiusky @xetorthio
2549d64b8b Avoid TIME_WAIT leaking connections 2017-08-21 15:13:38 -03:00
Marcos Lilljedahl
e00dfb638b Run powershell 2017-08-21 14:53:27 -03:00
Jonathan Leibiusky @xetorthio
c6101580a0 Small refactor to avoid code duplication 2017-08-21 09:50:15 -03:00
Marcos Lilljedahl
e46d77b96d Remove instances from ASG and terminate them when deleting 2017-08-18 18:53:54 -03:00
Jonathan Leibiusky @xetorthio
d77c840a86 Close connection to backend when done 2017-08-16 09:25:32 -03:00
Marcos Lilljedahl
6d9ed2be41 Fix issue when trying to delete dangling ssh containers 2017-08-15 20:03:24 -03:00
Marcos Lilljedahl
0ab60f6456 Move instance population before WS handlers
Don't disable windows containers switch
2017-08-15 16:34:49 -03:00
Marcos Lilljedahl
87544490b4 Use default duration configured by env variable 2017-08-15 16:14:23 -03:00
Marcos Lilljedahl
a32c362c39 Rename dind container in windows provisioner to match names 2017-08-15 16:14:23 -03:00
Jonathan Leibiusky @xetorthio
986605015e Fix check docker connection 2017-08-11 19:01:52 -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
1263f36bc8 Send proxy_host in the new instance event 2017-08-11 11:39:25 -03:00
Marcos Lilljedahl
984fdcce11 Fix compilation issues 2017-08-11 11:30:25 -03:00
Marcos Lilljedahl
643e1392c6 Use instance ip in proxy_host in windows containers 2017-08-11 11:26:17 -03:00
Marcos Lilljedahl
0c9276a4bd Tunnel 2375 to reach windows daemon 2017-08-11 11:19:05 -03:00
Marcos Lilljedahl
2b61ea701a Add ssh container for windows 2017-08-11 10:14:56 -03:00
Marcos Lilljedahl
30d709760c Add support for windows containers 2017-08-11 09:59:33 -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
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
79181b2a17 Fix close session bug 2017-08-10 16:48:07 -03:00
Marcos Lilljedahl
7c89054f16 Direct URL will be always http until we get wildcard tls certs 2017-08-10 14:52:52 -03:00
Marcos Lilljedahl
41171b06b4 Use https endpoint 2017-08-10 14:08:21 -03:00
Marcos Lilljedahl
fcc2e7d249 Remove unnecessary redirect and use relative paths 2017-08-10 12:49:37 -03:00
Marcos Lilljedahl
b8876006df Use relative path to keep browser scheme 2017-08-10 12:36:24 -03:00
Jonathan Leibiusky @xetorthio
7495f27f64 Change wiring 2017-08-10 12:13:18 -03:00
Marcos Lilljedahl
801bbefc19 Keep scheme when redirecting 2017-08-10 11:47:36 -03:00
Jonathan Leibiusky @xetorthio
cfc03b2826 Always get instance from storage 2017-08-09 18:16:55 -03:00
Jonathan Leibiusky @xetorthio
5f96321c24 Allow to create new storage NotFound errors 2017-08-09 11:38:17 -03:00
Marcos Lilljedahl
bcfed75412 Use only one EXPOSE statement 2017-08-08 16:36:02 -03:00
Marcos Lilljedahl
cbe5ede847 Refactor bootstrap so it's decoupled from main function 2017-08-08 10:38:01 -03:00
Jonathan Leibiusky @xetorthio
24a87d4416 Merge branch 'next' of github.com:xetorthio/play-with-docker into next 2017-08-08 10:11:24 -03:00
Jonathan Leibiusky @xetorthio
0e9716d5b0 Set session host
Add ping to L2 router
2017-08-08 10:10:52 -03:00
Marcos Nils
12872e3dd6 Revert "updating README to suggest using docker stack deploy instead of docke…" (#178) 2017-08-08 09:00:41 -03:00
Mano Marks
d7956dafbe Merge pull request #177 from ManoMarks/master
updating README to suggest using docker stack deploy instead of docke…
2017-08-07 18:11:40 -07:00
Mano Marks
a6e7ee41a9 updating README to suggest using docker stack deploy instead of docker-compose up 2017-08-07 18:10:11 -07:00
Marcos Lilljedahl
8afb922f6d Move handler initialization into the handlers package so it can be
reused
2017-08-07 17:44:25 -03:00
Marcos Lilljedahl
ed7cefcf9c Add first version of the windows ASG provider 2017-08-04 21:54:44 -03:00
Jonathan Leibiusky @xetorthio
f810c0c92f Use transport proxy instead of a special custom header 2017-08-04 15:45:05 -03:00
Jonathan Leibiusky @xetorthio
defe8552fb Make it multiple goroutines friendly 2017-08-03 15:58:02 -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
Jonathan Leibiusky @xetorthio
e0626f4176 Add certificate management funcs 2017-08-03 11:11:08 -03:00