Skip to content
Snippets Groups Projects
  1. Dec 13, 2017
  2. Dec 05, 2017
  3. Nov 29, 2017
  4. Nov 15, 2017
  5. Nov 11, 2017
  6. Nov 06, 2017
  7. Nov 05, 2017
  8. Oct 27, 2017
  9. Oct 26, 2017
  10. Oct 25, 2017
  11. Oct 23, 2017
  12. Oct 20, 2017
  13. Oct 11, 2017
  14. Oct 04, 2017
  15. 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
  16. Sep 23, 2017
  17. Sep 22, 2017
  18. Sep 19, 2017
  19. Sep 13, 2017
  20. Sep 07, 2017
  21. Sep 04, 2017
  22. Sep 02, 2017
  23. Aug 29, 2017
  24. Aug 27, 2017
  25. Aug 23, 2017
  26. Aug 16, 2017
  27. Aug 08, 2017
Loading