Skip to content
Snippets Groups Projects
  1. Dec 13, 2017
  2. Dec 05, 2017
  3. Nov 29, 2017
  4. Oct 29, 2017
  5. Oct 04, 2017
  6. Sep 27, 2017
    • John McCabe's avatar
      Implement Swarm update handler using PUT · 40e1fac1
      John McCabe authored
      
      This commit implements an update handler for Docker Swarm, it queries the
      current spec, updates values in-situ before calling ServiceUpdate.
      
      The UpdateConfig FailureAction is set to rollback, so in the event of
      supplying values to the update that would result in the service failing
      then the update will be rolled back.
      
      The UpdateConfig Parallelism param is set to an explicit value of 1 which
      will result in functions being updated 1 by 1 rather than all at once.
      
      It also moves the restartDelay declaration out of the create and update
      handlers and into the main server function alongside maxRestarts.
      
      And finally this commit uses the PUT HTTP verb for updates rather than
      the non-HTTP UPDATE verb which was being used initially (also adding it
      to the Swagger definition).
      
      Signed-off-by: default avatarJohn McCabe <john@johnmccabe.net>
      40e1fac1
  7. Sep 23, 2017
  8. Sep 19, 2017
  9. Sep 13, 2017
  10. Sep 07, 2017
  11. Aug 29, 2017
  12. Aug 27, 2017
  13. Aug 25, 2017
  14. Aug 16, 2017
  15. Aug 08, 2017
  16. Jul 18, 2017
  17. May 08, 2017
  18. Apr 27, 2017
  19. Apr 12, 2017
  20. Apr 05, 2017
  21. Mar 14, 2017
  22. Mar 12, 2017
  23. Feb 19, 2017
  24. Jan 28, 2017
  25. Jan 25, 2017
  26. Jan 23, 2017
  27. Jan 22, 2017
  28. Jan 21, 2017
Loading