Skip to content
Snippets Groups Projects
  1. Sep 03, 2016
  2. Aug 31, 2016
    • Rodric Rabbah's avatar
      Fix activation responses. · f33f004d
      Rodric Rabbah authored
      Interpret init and run activation response separately and add unit and CLI tests for the expected responses.
      
      Refactor message for truncation for better testing.
      f33f004d
    • Rodric Rabbah's avatar
      Remove unnecessary sleeps in invoker. · 3648466f
      Rodric Rabbah authored
      - a 3s sleep before calling /init for black box containers is not necessary since the HTTP call will retry.
      - slack sleeps after init also not necessary since if container respond to inits, it's ready to run.
      - sleep during nio channel draining should not be necessary.
      
      Add tests using blackbox actions.
      
      Tests that blackbox containers that misbehave will timeout with expected exception.
      Three cases are tested:
      1. blackbox that doesn't implement a proper proxy (doesn't run a proxy at all)
      2. blackbox that doesn't respond to init (implements /init but does not respond)
      3. blackbox that doesn't respond to run (implements /run but does not respond)
      3648466f
  3. Aug 21, 2016
    • Rodric Rabbah's avatar
      Adds "action proxy" a new base image for actions including swift and "black... · 0ec2fca3
      Rodric Rabbah authored
      Adds "action proxy" a new base image for actions including swift and "black box" using a common proxy server coded in python and using flask. The proxy implements the required init and run routes. The container include a sample shell script making it useful as a stand alone example action. It also allows arbitrary shell scripts (python, perl, bash, etc.) to run by initializing the internal action code on init. The run methods always prints the required sentinels, making actions that inherit from this proxy compliant with the invoker's expectations for extracting user log streams.
      
      Includes a stub action.
      Renames docker image to docker skeleton.
      Adds README describing organization and implementation of the proxy and how to add a new runner.
      Consolidates debug helpers.
      Adds action proxy to build/redo.
      0ec2fca3
  4. Aug 17, 2016
  5. Aug 05, 2016
  6. Jun 21, 2016
  7. Jun 16, 2016
    • Rodric Rabbah's avatar
      Fix all parts of the docker skeleton action which were completely broken. · c40520d0
      Rodric Rabbah authored
      Check clientApp returns a JSON parsable object and if not, report error and log a message.
      Update example to show how params are received and return a proper JSON.
      Fix space in path in various build scripts.
      Add gradle build for docker skeleton - to enable testing locally.
      Replace broken docker action tests with test that verifies the docker skeleton can tolerate an init message and can receive/respond with JSON objects. This test suite is not complete in that the docker skeleton hardcodes an example and the tests are specific to that example so cannot test that failure modes are correct yet.
      Add CLI tests to download sdks and verify them.
      Move sdk/docker/dockerSkeleton to sdk/docker.
      Renamed clientApp to action.
      Moved SDK tests.
      c40520d0
  8. Jun 03, 2016
  9. May 06, 2016
  10. May 05, 2016
  11. Apr 20, 2016
  12. Apr 18, 2016
    • Dominik Jall's avatar
      issue #197 restructure ansible deployment. using modes for deploy, clean, initdb. · e8f86e07
      Dominik Jall authored
      adding roles for prereq and postdeploy as well as db role for local CouchDB.
      
      issue #197 introduce deploy and clean mode for each role
      
      issue #197 ignore errors on cleanup. invoker mounts provoke some device busy errors.
      
      issue #197 remove logs on cleanup.
      
      issue #197 don't create retry files
      
      issue #197 merge loadbalancer into controller. remove loadbalancer role.
      
      issue #197 createImmortalDBs, generate whisk.properties, env for travis
      
      issue #197 install ansible via pip on travis.
      
      issue #197 travis does not like us using port 53. changing back to 8600. we are not using consul dns anyway atm.
      
      issue #197 fix cli test
      
      issue #197 fix whisk.version.name and whisk.version.date
      
      issue #197 fix db prefix if hostname has uppercase letters
      
      issue #197 add db role to launch CouchDB if needed.
      
      issue #197 generate db env file to make ant build happy.
      
      issue #197 re-add CLI Dockerfile for now
      
      Signed-off-by: default avatarHoang Anh Le <hoang@de.ibm.com>
      
      issue #197 replace createImmortalDBs.sh with playbook to reduce dependency on code.
      
      Signed-off-by: default avatarHoang Anh Le <hoang@de.ibm.com>
      
      issue #197 add openwhisk.home to whisk.properties
      
      Signed-off-by: default avatarHoang Anh Le <hoang@de.ibm.com>
      
      issue #197 disable ansible on travis for now. enable when team decides to go with ansible.
      
      Signed-off-by: default avatarHoang Anh Le <hoang@de.ibm.com>
      
      issue #197 applied code review feedback: modularize deployment into individual playbooks, factored out initdb mode into db role, created separate roles for db providers which allows us to add more providers in the future, added user prommpt before dropping immortal db (can be overriden via cmd line param for travis)
      e8f86e07
  13. Apr 13, 2016
  14. Mar 23, 2016
  15. Mar 15, 2016
Loading