You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by dg...@apache.org on 2018/05/11 15:56:32 UTC

[incubator-openwhisk-deploy-kube] branch master updated: Adopt latest scancode ASF release config. (enforce *.md, .conf, .sh). (#194)

This is an automated email from the ASF dual-hosted git repository.

dgrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-deploy-kube.git


The following commit(s) were added to refs/heads/master by this push:
     new cf3aa82  Adopt latest scancode ASF release config. (enforce *.md, .conf, .sh). (#194)
cf3aa82 is described below

commit cf3aa8286e02aea5d906368726890a3aea65d878
Author: Matt Rutkowski <mr...@us.ibm.com>
AuthorDate: Fri May 11 10:56:30 2018 -0500

    Adopt latest scancode ASF release config. (enforce *.md, .conf, .sh). (#194)
    
    * Adopt latest scancode ASF release config. (.md, .conf, .sh).
---
 CONTRIBUTING.md                        | 34 ++++++++++++++++++----------------
 README.md                              | 19 +++++++++++++++++++
 docker/README.md                       | 19 +++++++++++++++++++
 docker/couchdb/init.sh                 |  3 +++
 docker/kafkapkg-installer/init.sh      |  4 +++-
 docker/openwhisk-catalog/init.sh       |  5 +++--
 docker/routemgmt/init.sh               |  5 +++--
 docs/setting_up_minikube/README.md     | 19 +++++++++++++++++++
 helm/README.md                         | 19 +++++++++++++++++++
 kubernetes/apigateway/README.md        | 20 +++++++++++++++++++-
 kubernetes/cluster-setup/README.md     | 19 +++++++++++++++++++
 kubernetes/controller/README.md        | 19 +++++++++++++++++++
 kubernetes/couchdb/README.md           | 19 +++++++++++++++++++
 kubernetes/ingress/README.md           | 19 +++++++++++++++++++
 kubernetes/invoker/README.md           | 19 +++++++++++++++++++
 kubernetes/kafka/README.md             | 19 +++++++++++++++++++
 kubernetes/loadtest/README.md          | 19 +++++++++++++++++++
 kubernetes/nginx/README.md             | 19 +++++++++++++++++++
 kubernetes/nginx/certs.sh              |  3 +++
 kubernetes/nginx/nginx.conf            |  3 +++
 kubernetes/openwhisk-catalog/README.md | 19 +++++++++++++++++++
 kubernetes/package-kafka/README.md     | 19 +++++++++++++++++++
 kubernetes/routemgmt/README.md         | 19 +++++++++++++++++++
 kubernetes/zookeeper/README.md         | 19 +++++++++++++++++++
 tools/travis/build-helm.sh             |  2 ++
 tools/travis/build.sh                  |  2 ++
 tools/travis/collect-logs.sh           |  2 ++
 tools/travis/deploy.sh                 |  2 ++
 tools/travis/publish.sh                |  3 +++
 tools/travis/scancode.sh               |  5 ++++-
 tools/travis/setup.sh                  |  4 +++-
 tools/travis/setupscan.sh              |  2 ++
 32 files changed, 379 insertions(+), 24 deletions(-)

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 8c71783..cf5d5b2 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,22 +1,24 @@
-[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
 <!--
 #
-# Licensed to the Apache Software Foundation (ASF) under one or more contributor 
-# license agreements.  See the NOTICE file distributed with this work for additional 
-# information regarding copyright ownership.  The ASF licenses this file to you
-# under the Apache License, Version 2.0 (the # "License"); you may not use this 
-# file except in compliance with the License.  You may obtain a copy of the License 
-# at:
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
 #
-# http://www.apache.org/licenses/LICENSE-2.0
+#     http://www.apache.org/licenses/LICENSE-2.0
 #
-# Unless required by applicable law or agreed to in writing, software distributed 
-# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 
-# CONDITIONS OF ANY KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations under the License.
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 #
 -->
 
+[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
+
 # Contributing to Apache OpenWhisk
 
 Anyone can contribute to the OpenWhisk project and we welcome your contributions.
@@ -36,18 +38,18 @@ Instructions on how to do this can be found here:
 [http://www.apache.org/licenses/#clas](http://www.apache.org/licenses/#clas)
 
 Once submitted, you will receive a confirmation email from the Apache Software Foundation (ASF) and be added to
-the following list: http://people.apache.org/unlistedclas.html. 
+the following list: http://people.apache.org/unlistedclas.html.
 
 Project committers will use this list to verify pull requests (PRs) come from contributors that have signed a CLA.
 
-We look forward to your contributions! 
+We look forward to your contributions!
 
 ## Raising issues
 
-Please raise any bug reports or enhancement requests on the respective project repository's GitHub issue tracker. Be sure to search the 
+Please raise any bug reports or enhancement requests on the respective project repository's GitHub issue tracker. Be sure to search the
 list to see if your issue has already been raised.
 
-A good bug report is one that make it easy for us to understand what you were trying to do and what went wrong. 
+A good bug report is one that make it easy for us to understand what you were trying to do and what went wrong.
 Provide as much context as possible so we can try to recreate the issue.
 
 A good enhancement request comes with an explanation of what you are trying to do and how that enhancement would help you.
diff --git a/README.md b/README.md
index 08e1ad7..36c6be8 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,22 @@
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
 # OpenWhisk Deployment for Kubernetes
 
 [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
diff --git a/docker/README.md b/docker/README.md
index ce139cd..4af5406 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -1,3 +1,22 @@
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
 This directory contains the Dockerfiles and other artifacts to
 build specialized docker images for deploying OpenWhisk to Kubernetes.
 
diff --git a/docker/couchdb/init.sh b/docker/couchdb/init.sh
index a78b309..fe0a64f 100755
--- a/docker/couchdb/init.sh
+++ b/docker/couchdb/init.sh
@@ -1,4 +1,7 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 set -ex
 
 # start couchdb as a background process
diff --git a/docker/kafkapkg-installer/init.sh b/docker/kafkapkg-installer/init.sh
index 2c30a7c..1da13ef 100644
--- a/docker/kafkapkg-installer/init.sh
+++ b/docker/kafkapkg-installer/init.sh
@@ -1,4 +1,7 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 set -ex
 
 git clone https://github.com/apache/incubator-openwhisk-package-kafka.git
@@ -21,4 +24,3 @@ pushd /incubator-openwhisk-package-kafka
 popd
 
 echo "successfully setup kafka package"
-
diff --git a/docker/openwhisk-catalog/init.sh b/docker/openwhisk-catalog/init.sh
index 32eea88..e9ee73c 100755
--- a/docker/openwhisk-catalog/init.sh
+++ b/docker/openwhisk-catalog/init.sh
@@ -1,7 +1,8 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
 
-set -x
-set -e
+set -ex
 
 # Clone openwhisk-catalog
 # TODO: when openwhisk-catalog has releases, download release instead!
diff --git a/docker/routemgmt/init.sh b/docker/routemgmt/init.sh
index 5444fca..6c860c5 100755
--- a/docker/routemgmt/init.sh
+++ b/docker/routemgmt/init.sh
@@ -1,7 +1,8 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
 
-set -x
-set -e
+set -ex
 
 export OPENWHISK_HOME=/openwhisk
 
diff --git a/docs/setting_up_minikube/README.md b/docs/setting_up_minikube/README.md
index 805ea8c..71a45b5 100644
--- a/docs/setting_up_minikube/README.md
+++ b/docs/setting_up_minikube/README.md
@@ -1,3 +1,22 @@
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
 # Setting Up Minikube for OpenWhisk
 
 First, download and install Minikube following these [instructions](https://github.com/kubernetes/minikube).
diff --git a/helm/README.md b/helm/README.md
index bbe4a83..eff997d 100644
--- a/helm/README.md
+++ b/helm/README.md
@@ -1,3 +1,22 @@
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
 ## Overview
 
 This directory contains a Helm chart can be used to deploy Apache OpenWhisk to a Kubernetes cluster.
diff --git a/kubernetes/apigateway/README.md b/kubernetes/apigateway/README.md
index 719f485..0cedf24 100644
--- a/kubernetes/apigateway/README.md
+++ b/kubernetes/apigateway/README.md
@@ -1,3 +1,22 @@
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
 ApiGateway
 -----
 
@@ -8,4 +27,3 @@ To deploy the ApiGateway, you only need to run the following command:
 ```
 kubectl apply -f apigateway.yml
 ```
-
diff --git a/kubernetes/cluster-setup/README.md b/kubernetes/cluster-setup/README.md
index d22309f..fb3a730 100644
--- a/kubernetes/cluster-setup/README.md
+++ b/kubernetes/cluster-setup/README.md
@@ -1,3 +1,22 @@
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
 Cluster Setup
 -------------
 
diff --git a/kubernetes/controller/README.md b/kubernetes/controller/README.md
index c88d127..56d58d7 100644
--- a/kubernetes/controller/README.md
+++ b/kubernetes/controller/README.md
@@ -1,3 +1,22 @@
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
 Controller
 ----------
 
diff --git a/kubernetes/couchdb/README.md b/kubernetes/couchdb/README.md
index c3c764f..4885bb2 100644
--- a/kubernetes/couchdb/README.md
+++ b/kubernetes/couchdb/README.md
@@ -1,3 +1,22 @@
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
 CouchDB
 -----
 
diff --git a/kubernetes/ingress/README.md b/kubernetes/ingress/README.md
index 82cd40c..db72342 100644
--- a/kubernetes/ingress/README.md
+++ b/kubernetes/ingress/README.md
@@ -1,3 +1,22 @@
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
 Ingress
 -------
 
diff --git a/kubernetes/invoker/README.md b/kubernetes/invoker/README.md
index cda564d..c47361b 100644
--- a/kubernetes/invoker/README.md
+++ b/kubernetes/invoker/README.md
@@ -1,3 +1,22 @@
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
 Invoker
 -------
 
diff --git a/kubernetes/kafka/README.md b/kubernetes/kafka/README.md
index f6ffc6d..3b22f0a 100644
--- a/kubernetes/kafka/README.md
+++ b/kubernetes/kafka/README.md
@@ -1,3 +1,22 @@
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
 Kafka
 -----
 
diff --git a/kubernetes/loadtest/README.md b/kubernetes/loadtest/README.md
index 5202621..81d71b0 100644
--- a/kubernetes/loadtest/README.md
+++ b/kubernetes/loadtest/README.md
@@ -1,3 +1,22 @@
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
 LoadTest
 -----
 
diff --git a/kubernetes/nginx/README.md b/kubernetes/nginx/README.md
index 91b36eb..0306585 100644
--- a/kubernetes/nginx/README.md
+++ b/kubernetes/nginx/README.md
@@ -1,3 +1,22 @@
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
 Nginx
 -----
 
diff --git a/kubernetes/nginx/certs.sh b/kubernetes/nginx/certs.sh
index f6436af..6d22070 100755
--- a/kubernetes/nginx/certs.sh
+++ b/kubernetes/nginx/certs.sh
@@ -1,4 +1,7 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 set -ex
 
 if [ -z "$1" ]; then
diff --git a/kubernetes/nginx/nginx.conf b/kubernetes/nginx/nginx.conf
index c9ba6ab..22ddcba 100644
--- a/kubernetes/nginx/nginx.conf
+++ b/kubernetes/nginx/nginx.conf
@@ -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.
+
 worker_rlimit_nofile 4096;
 
 events {
diff --git a/kubernetes/openwhisk-catalog/README.md b/kubernetes/openwhisk-catalog/README.md
index a951cf2..b1cf30a 100644
--- a/kubernetes/openwhisk-catalog/README.md
+++ b/kubernetes/openwhisk-catalog/README.md
@@ -1,3 +1,22 @@
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
 OpenWhisk Catalog
 -----
 
diff --git a/kubernetes/package-kafka/README.md b/kubernetes/package-kafka/README.md
index 2075210..ce3eebe 100644
--- a/kubernetes/package-kafka/README.md
+++ b/kubernetes/package-kafka/README.md
@@ -1,3 +1,22 @@
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
 # Deploy kafka package to Apache OpenWhisk
 
 This project is to deploy kafka package to local Apache OpenWhisk on a K8s using YAML file.
diff --git a/kubernetes/routemgmt/README.md b/kubernetes/routemgmt/README.md
index 2c73a55..9d06c2f 100644
--- a/kubernetes/routemgmt/README.md
+++ b/kubernetes/routemgmt/README.md
@@ -1,3 +1,22 @@
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
 Route Management
 -----
 
diff --git a/kubernetes/zookeeper/README.md b/kubernetes/zookeeper/README.md
index 8d57c4b..1050765 100644
--- a/kubernetes/zookeeper/README.md
+++ b/kubernetes/zookeeper/README.md
@@ -1,3 +1,22 @@
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
 Zookeeper
 -----
 
diff --git a/tools/travis/build-helm.sh b/tools/travis/build-helm.sh
index 4d22f95..08d81eb 100755
--- a/tools/travis/build-helm.sh
+++ b/tools/travis/build-helm.sh
@@ -1,4 +1,6 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
 
 #################
 # Helper functions for verifying pod creation
diff --git a/tools/travis/build.sh b/tools/travis/build.sh
index edec5bf..9ed944b 100755
--- a/tools/travis/build.sh
+++ b/tools/travis/build.sh
@@ -1,4 +1,6 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
 
 #################
 # Helper functions for verifying pod creation
diff --git a/tools/travis/collect-logs.sh b/tools/travis/collect-logs.sh
index 020626f..cff1495 100755
--- a/tools/travis/collect-logs.sh
+++ b/tools/travis/collect-logs.sh
@@ -1,4 +1,6 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
 
 set -x
 
diff --git a/tools/travis/deploy.sh b/tools/travis/deploy.sh
index efc8dc0..4eac1b2 100755
--- a/tools/travis/deploy.sh
+++ b/tools/travis/deploy.sh
@@ -1,4 +1,6 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
 
 set -x
 
diff --git a/tools/travis/publish.sh b/tools/travis/publish.sh
index d6e4ec0..baa6362 100755
--- a/tools/travis/publish.sh
+++ b/tools/travis/publish.sh
@@ -1,4 +1,7 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 set -exu
 
 dockerhub_image_prefix="$1"
diff --git a/tools/travis/scancode.sh b/tools/travis/scancode.sh
index ebfa361..35a47d9 100755
--- a/tools/travis/scancode.sh
+++ b/tools/travis/scancode.sh
@@ -1,4 +1,7 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 set -e
 
 # Build script for Travis-CI.
@@ -8,4 +11,4 @@ UTIL_DIR="$ROOTDIR/../incubator-openwhisk-utilities"
 
 # run scancode
 cd $UTIL_DIR
-scancode/scanCode.py $ROOTDIR
+scancode/scanCode.py --config scancode/ASF-Release.cfg $ROOTDIR
diff --git a/tools/travis/setup.sh b/tools/travis/setup.sh
index 66f1c8e..251fde8 100755
--- a/tools/travis/setup.sh
+++ b/tools/travis/setup.sh
@@ -1,6 +1,8 @@
-# This script assumes Docker is already installed
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
 
+# This script assumes Docker is already installed
 set -x
 
 #check_or_build_nsenter derived from https://github.com/bitnami/kubernetes-travis/blob/master/scripts/cluster-up-minikube.sh (Apache 2.0 License)
diff --git a/tools/travis/setupscan.sh b/tools/travis/setupscan.sh
index 35f070f..b80f6ef 100755
--- a/tools/travis/setupscan.sh
+++ b/tools/travis/setupscan.sh
@@ -1,4 +1,6 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
 
 SCRIPTDIR=$(cd $(dirname "$0") && pwd)
 HOMEDIR="$SCRIPTDIR/../../../"

-- 
To stop receiving notification emails like this one, please contact
dgrove@apache.org.