duynguyen closed pull request #1: Set up project skeleton
URL: https://github.com/apache/incubator-openwhisk-deploy-mesos/pull/1

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..bff2d76
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..ec06487
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,16 @@
+sudo: required
+  global:
+  - docker
+  - ./tools/travis/setupscan.sh
+  - ${TOOL}/.travis/setup.sh
+  - ./tools/travis/scancode.sh
+  - ${TOOL}/.travis/build.sh
new file mode 100644
index 0000000..4dca934
--- /dev/null
@@ -0,0 +1,66 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more 
+# license agreements.  See the NOTICE file distributed with this work for 
+# 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 
+# at:
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software 
+# 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.
+# Contributing to Apache OpenWhisk
+Anyone can contribute to the OpenWhisk project and we welcome your 
+There are multiple ways to contribute: report bugs, improve the docs, and
+contribute code, but you must follow these prerequisites and guidelines:
+ - [Contributor License Agreement](#contributor-license-agreement)
+ - [Raising issues](#raising-issues)
+ - [Coding Standards](#coding-standards)
+### Contributor License Agreement
+All contributors must sign and submit an Apache CLA (Contributor License 
+Instructions on how to do this can be found here:
+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.
+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!
+## Raising issues
+Please raise any bug reports 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.
+Provide as much context as possible so we can try to recreate the issue.
+### Discussion
+Please use the project's developer email list to engage our community:
+In addition, we provide a "dev" Slack team channel for conversations at:
+### Coding standards
+Please ensure you follow the coding standards used throughout the existing
+code base. Some basic rules include:
+ - all files must have the Apache license in the header.
+ - all PRs must have passing builds for all operating systems.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..03d1031
--- /dev/null
+++ b/README.md
@@ -0,0 +1,17 @@
+# OpenWhisk Deployment for Mesos
+This repository is part of [Apache 
OpenWhisk](http://openwhisk.incubator.apache.org/) and can be used to deploy 
OpenWhisk to a Mesos cluster.
+## Subprojects
+## Travis builds
+Each tool in this repository has to provide travis build scripts inside a 
`.travis` folder.
+The folder should define 2 scripts:
+* `setup.sh` - invoked during `before_install` phase
+* `build.sh` - invokes during `script` phase
diff --git a/tools/travis/scancode.sh b/tools/travis/scancode.sh
new file mode 100644
index 0000000..ebfa361
--- /dev/null
+++ b/tools/travis/scancode.sh
@@ -0,0 +1,11 @@
+set -e
+# Build script for Travis-CI.
+SCRIPTDIR=$(cd $(dirname "$0") && pwd)
+# run scancode
+scancode/scanCode.py $ROOTDIR
diff --git a/tools/travis/setupscan.sh b/tools/travis/setupscan.sh
new file mode 100644
index 0000000..35f070f
--- /dev/null
+++ b/tools/travis/setupscan.sh
@@ -0,0 +1,8 @@
+SCRIPTDIR=$(cd $(dirname "$0") && pwd)
+# clone OpenWhisk utilities repo. in order to run scanCode.py
+git clone https://github.com/apache/incubator-openwhisk-utilities.git


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

Reply via email to