Skip to content
Snippets Groups Projects
  1. Sep 02, 2018
  2. Aug 30, 2018
  3. Aug 07, 2018
  4. Jul 23, 2018
  5. Jul 20, 2018
    • Edward Wilde's avatar
      Adds annotation attribute to CreateFunctionRequest · be907d22
      Edward Wilde authored
      
      1. Add new annotation attributes which may be used
      by the back-end for making scheduling or routing decisions.
      
      2. Updated tests/README.md to give clearer instructions on creating and
      tearing down the stack required to run the integration tests
      
      3. Update ci.sh
       * Fail as soon as an error is encountered
       * Allow script to run locally in development environment, test if repos
      are already cloned etc..
       * Deploy ./stack.yml used by existing integration tests
      
      Signed-off-by: default avatarEdward Wilde <ewilde@gmail.com>
      be907d22
  6. May 20, 2018
  7. May 17, 2018
  8. Mar 01, 2018
  9. Dec 22, 2017
  10. Dec 16, 2017
    • Lucas Roesler's avatar
      Clean up docs and refactor createhandler · 35f0e9e6
      Lucas Roesler authored
      
      **What**
      - Add a description for the secret key to the api swagger spec.
      - Remove optional examples from the secret management guide.
      - Update the ApiKeyProtected README to point at the new guide.
      - Refactor the `makeSpec` function to accept the already assembled secrets
      array because this should be easier to unit test.
      
      Signed-off-by: default avatarLucas Roesler <lucas.roesler@gmail.com>
      35f0e9e6
    • Lucas Roesler's avatar
      Add support to specify secrets in services · 0fef825f
      Lucas Roesler authored
      
      **What**
      - During function creation, accept an array of strings defining swarm secrets
      that are required for the service
      - Update docs
      - Add new guide on using the secrets capability
      - Add new sample function to highlight using environment variables
      - Update `ApiKeyProtected` sample function to utilize the new secrets
      capabilities
      
      **Why**
      - This allows secrets to remain encrypted at rest instead of being unencrypted
      in environment variables and yaml files.
      
      Fixes #285
      
      Signed-off-by: default avatarLucas Roesler <lucas.roesler@gmail.com>
      0fef825f
  11. Nov 09, 2017
  12. Oct 23, 2017
  13. Oct 15, 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. Aug 25, 2017
  17. 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
  18. May 18, 2017
  19. May 01, 2017
Loading