You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2018/08/02 02:07:33 UTC
[incubator-openwhisk] branch master updated: Allow non-json
skip_pull_runtimes to be passed as True. (#3910)
This is an automated email from the ASF dual-hosted git repository.
csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new 3c533e9 Allow non-json skip_pull_runtimes to be passed as True. (#3910)
3c533e9 is described below
commit 3c533e9028b85d6fd918c0398ede28ed51d488a0
Author: rodric rabbah <ro...@gmail.com>
AuthorDate: Wed Aug 1 22:07:30 2018 -0400
Allow non-json skip_pull_runtimes to be passed as True. (#3910)
---
ansible/roles/invoker/tasks/deploy.yml | 4 ++--
docs/actions-ruby.md | 2 +-
tests/src/test/resources/application.conf.j2 | 3 +++
tools/travis/README.md | 2 +-
4 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/ansible/roles/invoker/tasks/deploy.yml b/ansible/roles/invoker/tasks/deploy.yml
index 6582feb..98b5c14 100644
--- a/ansible/roles/invoker/tasks/deploy.yml
+++ b/ansible/roles/invoker/tasks/deploy.yml
@@ -28,7 +28,7 @@
- name: "pull runtime action images per manifest"
shell: "docker pull {{runtimes_registry | default()}}{{item.prefix}}/{{item.name}}:{{item.tag | default()}}"
loop: "{{ runtimesManifest.runtimes.values() | sum(start=[]) | selectattr('deprecated', 'equalto',false) | map(attribute='image') | list | unique }}"
- when: skip_pull_runtimes is not defined or skip_pull_runtimes != True
+ when: skip_pull_runtimes is not defined or not (skip_pull_runtimes == True or skip_pull_runtimes.lower() == "true")
register: result
until: (result.rc == 0)
retries: "{{ docker.pull.retries }}"
@@ -40,7 +40,7 @@
- name: "pull blackboxes action images per manifest"
shell: "docker pull {{runtimes_registry | default()}}{{item.prefix}}/{{item.name}}:{{item.tag | default()}}"
loop: "{{ runtimesManifest.blackboxes }}"
- when: skip_pull_runtimes is not defined or skip_pull_runtimes != True
+ when: skip_pull_runtimes is not defined or not (skip_pull_runtimes == True or skip_pull_runtimes.lower() == "true")
register: result
until: (result.rc == 0)
retries: "{{ docker.pull.retries }}"
diff --git a/docs/actions-ruby.md b/docs/actions-ruby.md
index 540592a..0eb45b1 100644
--- a/docs/actions-ruby.md
+++ b/docs/actions-ruby.md
@@ -34,7 +34,7 @@ with the following source code:
def main(args)
name = args["name"] || "stranger"
greeting = "Hello #{name}!"
- print greeting
+ puts greeting
{ "greeting" => greeting }
end
```
diff --git a/tests/src/test/resources/application.conf.j2 b/tests/src/test/resources/application.conf.j2
index 3b75461..c1cec8c 100644
--- a/tests/src/test/resources/application.conf.j2
+++ b/tests/src/test/resources/application.conf.j2
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
whisk.spi {
SimpleSpi = whisk.spi.SimpleSpiImpl
MissingSpi = whisk.spi.MissingImpl
diff --git a/tools/travis/README.md b/tools/travis/README.md
index fd5e554..8d0fbad 100644
--- a/tools/travis/README.md
+++ b/tools/travis/README.md
@@ -33,4 +33,4 @@ These jobs make use of following scripts
4. `setupSystem.sh` - Runs the various containers which are part of an OpenWhisk setup like Controller, Invoker etc.
5. `runTests.sh` - Runs the tests. It make use of `ORG_GRADLE_PROJECT_testSetName` env setting to determine which test
suite to run.
-6. `checkAndUploadLogs.sh` - Collect the logs, check them and then upload them https://app.box.com/v/openwhisk-travis-logs
+6. `checkAndUploadLogs.sh` - Collects the logs, checks them and uploads them to https://openwhisk.box.com/v/travis-logs.