Commit Graph

  • 86044788b9 Don't change session host! Jonathan Leibiusky @xetorthio 2017-09-08 18:22:31 -03:00
  • 19283a3c86 Add rediretion when using https Marcos Lilljedahl 2017-09-08 16:14:01 -03:00
  • 3db24bf6a6 Show a message when connection to terminal has been lost Jonathan Leibiusky @xetorthio 2017-09-08 15:32:20 -03:00
  • f5c337e03d Few fixes to terms Jonathan Leibiusky @xetorthio 2017-09-08 12:20:29 -03:00
  • 45137438db Make sure instance does not exist before reconnecting Jonathan Leibiusky @xetorthio 2017-09-08 11:22:23 -03:00
  • eeff2ed652 Use L2 router to reach windows instances Jonathan Leibiusky @xetorthio 2017-09-08 10:03:38 -03:00
  • 560a3ae05a Add OOC check and error on new session creation Jonathan Leibiusky @xetorthio 2017-09-07 17:30:04 -03:00
  • ef9be2a5ac Add support for out of capacity error message Jonathan Leibiusky @xetorthio 2017-09-07 17:05:05 -03:00
  • d29a02bb22 Make sure channel and connection exists before closing Jonathan Leibiusky @xetorthio 2017-09-07 16:40:52 -03:00
  • 4b7589bc67 Add Env variable to control container storage size Marcos Lilljedahl 2017-09-07 15:52:03 -03:00
  • 150b089602 Reimplement terminal connections Jonathan Leibiusky @xetorthio 2017-09-07 15:27:25 -03:00
  • f3307d964c Change SSH container to use SSH remoting Marcos Lilljedahl 2017-09-04 17:33:21 -03:00
  • 6a8c3df9f6 Add mongo labels to types Jonathan Leibiusky @xetorthio 2017-09-04 17:17:28 -03:00
  • d8ec0eb754 Make storage NotFoundError available Jonathan Leibiusky @xetorthio 2017-09-01 20:29:54 -03:00
  • 954c52471b Refactor storage to support shallow types. Add Client to storage. Fix client resizing issues. Jonathan Leibiusky @xetorthio 2017-09-01 20:12:19 -03:00
  • 4b00a9c0eb If session doesn't exist, don't panic! Jonathan Leibiusky @xetorthio 2017-08-30 18:55:13 -03:00
  • e079517803 Don't call resize several times on instance creation. Fix a few race conditions for terminal resize and terminal buffer writing. Jonathan Leibiusky @xetorthio 2017-08-30 16:36:38 -03:00
  • ed3492eb38 Don't send empty terminal buffer Jonathan Leibiusky @xetorthio 2017-08-30 11:16:37 -03:00
  • fc3dfa6844 Add let's encrypt support Jonathan Leibiusky @xetorthio 2017-08-30 10:31:26 -03:00
  • beec1628be Don't have parallel execution of task if it takes longer than interval time Jonathan Leibiusky @xetorthio 2017-08-28 11:53:12 -03:00
  • 26724c51be Add a small buffer on terminal input so we don't send every single keystroke as a single message on the socket, and optimize data transfer. Jonathan Leibiusky @xetorthio 2017-08-28 10:36:38 -03:00
  • 305b15ff6c Fix network options in tests Marcos Lilljedahl 2017-08-25 15:03:03 -03:00
  • 5511d20d1b Fix error Marcos Lilljedahl 2017-08-25 14:58:28 -03:00
  • e9f5de5677 Change networks opts into a slice when creating a container Marcos Lilljedahl 2017-08-25 14:56:57 -03:00
  • a8567d8670 Add routable IP Jonathan Leibiusky @xetorthio 2017-08-25 14:33:43 -03:00
  • 19176966e2 Assign network endpoints to config object Marcos Lilljedahl 2017-08-25 14:08:26 -03:00
  • 6941b8b69a Make networks a list so it can be decided by the provisioner to which to connect to Jonathan Leibiusky @xetorthio 2017-08-25 13:39:17 -03:00
  • 3c6d87cb14 Add SessionClose to SessionProvisioner Jonathan Leibiusky @xetorthio 2017-08-25 11:14:49 -03:00
  • c44512f159 Add labels and additional network to connect container to Jonathan Leibiusky @xetorthio 2017-08-25 10:21:59 -03:00
  • 52d523ac92 Add NetworkInspect to DockerAPI Marcos Lilljedahl 2017-08-24 16:45:12 -03:00
  • 1bdda6948e Add network opts to CreateNetwork API Marcos Lilljedahl 2017-08-24 16:20:32 -03:00
  • 438fe9f6e7 Add SessionProvisioner and InstanceProvisionerFactory Remove AllowedImages and IsDockerHost as it is not really being used for anything useful Jonathan Leibiusky @xetorthio 2017-08-24 15:36:59 -03:00
  • 11d9d59975 Add terminal to ssh Marcos Lilljedahl 2017-08-21 15:40:25 -03:00
  • 2549d64b8b Avoid TIME_WAIT leaking connections Jonathan Leibiusky @xetorthio 2017-08-21 15:12:53 -03:00
  • e00dfb638b Run powershell Marcos Lilljedahl 2017-08-21 14:52:42 -03:00
  • c6101580a0 Small refactor to avoid code duplication Jonathan Leibiusky @xetorthio 2017-08-21 09:49:43 -03:00
  • e46d77b96d Remove instances from ASG and terminate them when deleting Marcos Lilljedahl 2017-08-18 18:53:54 -03:00
  • d77c840a86 Close connection to backend when done Jonathan Leibiusky @xetorthio 2017-08-16 09:25:32 -03:00
  • 6d9ed2be41 Fix issue when trying to delete dangling ssh containers Marcos Lilljedahl 2017-08-15 20:03:24 -03:00
  • 0ab60f6456 Move instance population before WS handlers Marcos Lilljedahl 2017-08-15 16:34:49 -03:00
  • 87544490b4 Use default duration configured by env variable Marcos Lilljedahl 2017-08-15 16:04:20 -03:00
  • a32c362c39 Rename dind container in windows provisioner to match names Marcos Lilljedahl 2017-08-14 18:21:32 -03:00
  • 986605015e Fix check docker connection Jonathan Leibiusky @xetorthio 2017-08-11 19:01:52 -03:00
  • fb1e50deaf Refactor GetForInstance so it doesn't depends on storage Marcos Lilljedahl 2017-08-11 18:16:14 -03:00
  • 1263f36bc8 Send proxy_host in the new instance event Jonathan Leibiusky @xetorthio 2017-08-11 11:39:25 -03:00
  • 984fdcce11 Fix compilation issues Marcos Lilljedahl 2017-08-11 11:30:25 -03:00
  • 643e1392c6 Use instance ip in proxy_host in windows containers Marcos Lilljedahl 2017-08-11 11:26:17 -03:00
  • 0c9276a4bd Tunnel 2375 to reach windows daemon Marcos Lilljedahl 2017-08-11 11:19:05 -03:00
  • 2b61ea701a Add ssh container for windows Marcos Lilljedahl 2017-08-11 10:14:56 -03:00
  • 30d709760c Add support for windows containers Marcos Lilljedahl 2017-08-10 18:55:32 -03:00
  • 7f17a7e21d Don't panic when docker client cannot be obtained. Make close session faster by deleting instances in parallel. Jonathan Leibiusky @xetorthio 2017-08-11 09:49:19 -03:00
  • 0bc0342399 Scheduler fixes Jonathan Leibiusky @xetorthio 2017-08-10 17:18:34 -03:00
  • ce8ec8a151 EventType is now based on string Jonathan Leibiusky @xetorthio 2017-08-10 17:04:40 -03:00
  • 79181b2a17 Fix close session bug Jonathan Leibiusky @xetorthio 2017-08-10 16:47:48 -03:00
  • 7c89054f16 Direct URL will be always http until we get wildcard tls certs Marcos Lilljedahl 2017-08-10 14:52:52 -03:00
  • 41171b06b4 Use https endpoint Marcos Lilljedahl 2017-08-10 14:08:21 -03:00
  • fcc2e7d249 Remove unnecessary redirect and use relative paths Marcos Lilljedahl 2017-08-10 12:49:37 -03:00
  • b8876006df Use relative path to keep browser scheme Marcos Lilljedahl 2017-08-10 12:35:25 -03:00
  • 7495f27f64 Change wiring Jonathan Leibiusky @xetorthio 2017-08-10 12:13:18 -03:00
  • 801bbefc19 Keep scheme when redirecting Marcos Lilljedahl 2017-08-10 11:47:36 -03:00
  • cfc03b2826 Always get instance from storage Jonathan Leibiusky @xetorthio 2017-08-09 18:16:55 -03:00
  • 5f96321c24 Allow to create new storage NotFound errors Jonathan Leibiusky @xetorthio 2017-08-09 11:38:17 -03:00
  • bcfed75412 Use only one EXPOSE statement Marcos Lilljedahl 2017-08-08 16:36:02 -03:00
  • cbe5ede847 Refactor bootstrap so it's decoupled from main function Marcos Lilljedahl 2017-08-08 10:35:53 -03:00
  • 24a87d4416 Merge branch 'next' of github.com:xetorthio/play-with-docker into next Jonathan Leibiusky @xetorthio 2017-08-08 10:11:24 -03:00
  • 0e9716d5b0 Set session host Add ping to L2 router Jonathan Leibiusky @xetorthio 2017-08-08 10:10:52 -03:00
  • 12872e3dd6 Revert "updating README to suggest using docker stack deploy instead of docke…" (#178) Marcos Nils 2017-08-08 09:00:41 -03:00
  • d7956dafbe Merge pull request #177 from ManoMarks/master Mano Marks 2017-08-07 18:11:40 -07:00
  • a6e7ee41a9 updating README to suggest using docker stack deploy instead of docker-compose up Mano Marks 2017-08-07 18:10:11 -07:00
  • 8afb922f6d Move handler initialization into the handlers package so it can be reused Marcos Lilljedahl 2017-08-07 17:44:25 -03:00
  • ed7cefcf9c Add first version of the windows ASG provider Marcos Lilljedahl 2017-08-04 21:54:03 -03:00
  • f810c0c92f Use transport proxy instead of a special custom header Jonathan Leibiusky @xetorthio 2017-08-04 15:45:05 -03:00
  • defe8552fb Make it multiple goroutines friendly Jonathan Leibiusky @xetorthio 2017-08-03 15:58:02 -03:00
  • 3906bd3b57 Changes to L1 router to also pass the protocol it is routing. Jonathan Leibiusky @xetorthio 2017-08-03 11:55:53 -03:00
  • e0626f4176 Add certificate management funcs Jonathan Leibiusky @xetorthio 2017-08-03 11:11:08 -03:00
  • e2e458b681 Untrack stopped terminals Jonathan Leibiusky @xetorthio 2017-08-02 14:47:14 -03:00
  • 0655a4bb99 Set session ticker inside cron Marcos Lilljedahl 2017-08-02 13:31:41 -03:00
  • cfb2ad01ca Set session ticker when calling Schedule Marcos Lilljedahl 2017-08-02 13:00:29 -03:00
  • c2b156d02a Add provisioners Jonathan Leibiusky @xetorthio 2017-08-02 11:58:56 -03:00
  • 7a49c557e0 Return 404 for WS handler when session doesnt exist Marcos Lilljedahl 2017-07-31 18:20:27 -03:00
  • fa3b56ecfe Check docker daemon is alive in ping endpoint Marcos Lilljedahl 2017-07-31 12:00:49 -03:00
  • 3f4c96286e Avoid to have unnecessary opened connections Marcos Lilljedahl 2017-07-31 10:10:48 -03:00
  • 201aed1818 More fixes Jonathan Leibiusky @xetorthio 2017-07-28 23:37:09 -03:00
  • 5ee4bb2011 More fixes Jonathan Leibiusky @xetorthio 2017-07-28 23:24:02 -03:00
  • 0e08107738 Tests are working again Jonathan Leibiusky @xetorthio 2017-07-28 20:42:05 -03:00
  • f82286d1d1 Add new UCP image Marcos Lilljedahl 2017-07-28 18:01:23 -03:00
  • 91c7ec3bd5 WIP Jonathan Leibiusky @xetorthio 2017-07-26 19:15:31 -03:00
  • 53e6078cc5 WIP Jonathan Leibiusky @xetorthio 2017-07-25 16:36:10 -03:00
  • 8424479e76 Update event names Jonathan Leibiusky @xetorthio 2017-07-24 14:55:17 -03:00
  • fd7441943d EventType should be an enumerable type Jonathan Leibiusky @xetorthio 2017-07-24 13:46:48 -03:00
  • 9293a4f8d0 Add sessionGetAll to StorageAPI Marcos Lilljedahl 2017-07-18 18:17:42 -03:00
  • 56e2899dcf Make tests more stable Jonathan Leibiusky @xetorthio 2017-07-18 15:29:00 -03:00
  • 4eda861329 Merge branch 'routing_refactor' into next Marcos Lilljedahl 2017-07-18 14:51:02 -03:00
  • 8aa95b79c6 Merge pull request #31 from xetorthio/mongo_storage Marcos Nils 2017-07-18 14:45:18 -03:00
  • 8eae9c1e06 Merge branch 'next' into mongo_storage Marcos Lilljedahl 2017-07-18 14:40:22 -03:00
  • 08b64dadde Add storage API abstraction Jonathan Leibiusky @xetorthio 2017-06-22 09:16:49 -03:00
  • 4731d8ec98 Event refactor Jonathan Leibiusky @xetorthio 2017-07-18 10:45:05 -03:00
  • a6fdfcaa7d Upload files synchronously and add more description Marcos Lilljedahl 2017-07-13 13:54:00 -03:00
  • 6eaece99c5 Add events Jonathan Leibiusky @xetorthio 2017-07-12 21:46:57 -03:00
  • aaa55785ba Add QEMU for moby Marcos Lilljedahl 2017-07-12 19:16:37 -03:00