This is an automated email from the ASF dual-hosted git repository. mhamann pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/openwhisk-apigateway.git
commit c0615cf04a6e7f2ede06a3aeec0132c7944ed616 Author: Matt Hamann <[email protected]> AuthorDate: Mon Aug 3 16:50:57 2020 -0400 fix(ci): exclude 3rd party scripts from scan --- tools/travis/platform.sh | 22 ++++++++++++++++++++++ tools/travis/scancodeExclusions | 3 +++ tools/travis/setenv_lua.sh | 22 ++++++++++++++++++++++ tools/travis/setup_lua.sh | 21 +++++++++++++++++++++ 4 files changed, 68 insertions(+) diff --git a/tools/travis/platform.sh b/tools/travis/platform.sh index 0ade201..c470614 100644 --- a/tools/travis/platform.sh +++ b/tools/travis/platform.sh @@ -1,3 +1,25 @@ +# The MIT License (MIT) + +# Copyright (c) 2014 Alexey Melnichuk + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + if [ -z "${PLATFORM:-}" ]; then PLATFORM=$TRAVIS_OS_NAME; fi diff --git a/tools/travis/scancodeExclusions b/tools/travis/scancodeExclusions index d74dc12..403ea58 100644 --- a/tools/travis/scancodeExclusions +++ b/tools/travis/scancodeExclusions @@ -1,3 +1,6 @@ # bundled files under MIT license; exclude from scan tests/fakengx.lua tests/fakeredis.lua +tools/travis/platform.sh +tools/travis/setup_lua.sh +tools/travis/setenv_lua.sh diff --git a/tools/travis/setenv_lua.sh b/tools/travis/setenv_lua.sh index 03645d3..d117406 100644 --- a/tools/travis/setenv_lua.sh +++ b/tools/travis/setenv_lua.sh @@ -1,3 +1,25 @@ +# The MIT License (MIT) + +# Copyright (c) 2014 Alexey Melnichuk + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + export PATH=${PATH}:$HOME/.lua:$HOME/.local/bin:${TRAVIS_BUILD_DIR}/install/luarocks/bin bash ./tools/travis/setup_lua.sh eval `$HOME/.lua/luarocks path` \ No newline at end of file diff --git a/tools/travis/setup_lua.sh b/tools/travis/setup_lua.sh index 4fd6a75..c11c341 100644 --- a/tools/travis/setup_lua.sh +++ b/tools/travis/setup_lua.sh @@ -1,4 +1,25 @@ #! /bin/bash +# The MIT License (MIT) + +# Copyright (c) 2014 Alexey Melnichuk + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. # A script for setting up environment for travis-ci testing. # Sets up Lua and Luarocks.
