Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openwhisk-runtime-python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Groundhog
openwhisk-runtime-python
Commits
4c1f40ce
Commit
4c1f40ce
authored
6 years ago
by
Matt Rutkowski
Committed by
Vincent
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add scancode using ASF config. to Travis build. (#17)
parent
44fe53f9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/travis/build.sh
+5
-0
5 additions, 0 deletions
tools/travis/build.sh
tools/travis/setup.sh
+4
-2
4 additions, 2 deletions
tools/travis/setup.sh
with
9 additions
and
2 deletions
tools/travis/build.sh
+
5
−
0
View file @
4c1f40ce
...
...
@@ -23,11 +23,16 @@ set -ex
SCRIPTDIR
=
$(
cd
$(
dirname
"
$0
"
)
&&
pwd
)
ROOTDIR
=
"
$SCRIPTDIR
/../.."
WHISKDIR
=
"
$ROOTDIR
/../openwhisk"
UTILDIR
=
"
$ROOTDIR
/../incubator-openwhisk-utilities"
export
OPENWHISK_HOME
=
$WHISKDIR
IMAGE_PREFIX
=
"testing"
# run scancode using the ASF Release configuration
cd
$UTILDIR
scancode/scanCode.py
--config
scancode/ASF-Release.cfg
$ROOTDIR
# Build OpenWhisk
cd
$WHISKDIR
...
...
This diff is collapsed.
Click to expand it.
tools/travis/setup.sh
+
4
−
2
View file @
4c1f40ce
...
...
@@ -24,9 +24,11 @@ SCRIPTDIR=$(cd $(dirname "$0") && pwd)
ROOTDIR
=
"
$SCRIPTDIR
/../.."
HOMEDIR
=
"
$SCRIPTDIR
/../../../"
# OpenWhisk
stuff
#
clone
OpenWhisk
utilities repo. in order to run scanCode
cd
$HOMEDIR
git clone https://github.com/apache/incubator-openwhisk-utilities.git
# clone main openwhisk repo. for testing purposes
git clone
--depth
=
1 https://github.com/apache/incubator-openwhisk.git openwhisk
cd
openwhisk
./tools/travis/setup.sh
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment