Skip to content
Snippets Groups Projects
  1. Oct 23, 2017
  2. Oct 15, 2017
  3. Oct 04, 2017
  4. 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
  5. Aug 25, 2017
  6. May 30, 2017
    • Sebastien Guilloux's avatar
      Handle private docker registry auth · 9e711b3b
      Sebastien Guilloux authored
      This adds support for private docker registries, by adding
      an optional `registryAuth` field in the CreateFunctionRequest.
      Auth must be passed as base64-encoded basic auth, similar to
      how done in Docker file store credentials (~/.docker/config.json).
      Credentials are then passed to swarm at service creation.
      9e711b3b
  7. May 18, 2017
  8. May 01, 2017
Loading