You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by st...@apache.org on 2021/01/15 05:28:38 UTC
[openwhisk] branch master updated: Migrate the Travis configuration
to travis-ci.com (#5042)
This is an automated email from the ASF dual-hosted git repository.
style95 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new a202538 Migrate the Travis configuration to travis-ci.com (#5042)
a202538 is described below
commit a2025382fa4dbd8ce448b037b14a54d818a224ca
Author: Dominic Kim <st...@apache.org>
AuthorDate: Fri Jan 15 14:28:19 2021 +0900
Migrate the Travis configuration to travis-ci.com (#5042)
* Migrate the Travis configuration to travis-ci.com
* Export the python path and change the installation order
* [Temp] rollback changes to fix flake8 issue
* Install couchdb library for python2
* Install all library for python2
* Pull the runtime image in advance.
* Add a comment
---
.travis.yml | 4 ++--
README.md | 2 +-
tools/travis/runStandaloneTests.sh | 2 ++
tools/travis/setup.sh | 8 ++++----
4 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 06b7ad1..29c2004 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -40,7 +40,7 @@ notifications:
webhooks:
urls:
# travis2slack webhook to enable DMs on openwhisk-team.slack.com to PR authors with TravisCI results
- secure: "tYJIDAKtHp+yLw53yB6+TQnNfyNwZDAZyG7QmHbNP5Mf1HR0GLhpe02AjV99NkjAgaGYxngUELMhNOyB8eiyMdxpemwny4oOeyOUQzVmiry/804JnjK2YvHyAGFVGuhV0LZVfCPsPh5x91yKcDPLSqRSTKhZOiJFmDpBy4qzxM4W7IXxAM+yHKrm8cznBRdR5rGxT5IjV58xMB1p69jJy1rxnjtEWmB2z7j/SiKa6IQlVYgr+BgaJxBhy9WYYczvceU+qyrTWpVYy5P3o5+b0MZ/UkyB5CZT9N5LzLGjLRDqNaNYCT3U8ow1H6w+zY7/9KrAf6szT6raN606vN7uv7TqGEugG949JQfRSQNe3Y7IvTAHatI9VAc3opWgy0jm7eBu9pzSECamGGSGGHl18m7oWZypiwB+ooKg7k545XQCoVwlRulBvwnVO8w2HOjkKSds/JnNhdXLtNKRaBaZxhBkk+5b4 [...]
+ secure: "qSkFNkMDYhp025vW+hBWO4wlMEeaz2S2c3tsZgIhcqji58AAxL2KKuNIWAuzftIxC5l5RwPt/OBXWFjgnAwCjj3hfczMfpuexGPruzmRe2GYbBwS0OhwDkWVosl9UqFELbZEdQ/tTJyW7p3Gd4FSjCJBCAdRL5yYcn3RiCj/UrJ6454IkKqeuTihWp2ZklqnZpMv9WzC4DK+cI/rJUP5megh/gilORfBD5/wnMMksC5NSlpc2WAtdeKusVZiZ6ieR6uLoR3rwzgUBC3PbyX8GO1OIh+LnvO7c0Hrhc2u685nxrCMseJIH9kZQboGA7RbiH64U5Zy7dK6fiFGfQJc3YyfsbKBKyd0QlvZp1vKw4iAvtsyentodjR1lN29fuTUW3hPMCo/YJSxZmHHMRSsoqs4zMp7lHo0aDfBOJRB+jjluA96Tn8SZjIATu76SwzJ0EolyVGw25HqKxSX0eM0ZLgrVrh89 [...]
# specific cache configuration for gradle based builds
# see: https://docs.travis-ci.com/user/languages/java/#caching
@@ -57,7 +57,7 @@ before_install:
- ./tools/travis/docker.sh
- sudo apt-get install -y python3-pip
- pip install --user --upgrade pip setuptools six
- - pip3 install --user setuptools six
+ - pip3 install --user --upgrade pip setuptools six
install:
- ./tools/travis/setup.sh
diff --git a/README.md b/README.md
index da57926..7f8bc32 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@
# OpenWhisk
-[![Build Status](https://travis-ci.org/apache/openwhisk.svg?branch=master)](https://travis-ci.org/apache/openwhisk)
+[![Build Status](https://travis-ci.com/apache/openwhisk.svg?branch=master)](https://travis-ci.com/apache/openwhisk)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
[![Join Slack](https://img.shields.io/badge/join-slack-9B69A0.svg)](https://openwhisk-team.slack.com/)
[![codecov](https://codecov.io/gh/apache/openwhisk/branch/master/graph/badge.svg)](https://codecov.io/gh/apache/openwhisk)
diff --git a/tools/travis/runStandaloneTests.sh b/tools/travis/runStandaloneTests.sh
index e4280f1..07af2b7 100755
--- a/tools/travis/runStandaloneTests.sh
+++ b/tools/travis/runStandaloneTests.sh
@@ -44,6 +44,8 @@ kind create cluster --wait 5m
export KUBECONFIG="$(kind get kubeconfig-path)"
kubectl config set-context --current --namespace=default
+# This is required because it is timed out to pull the image during the test.
+docker pull openwhisk/action-nodejs-v10:nightly
cd $ROOTDIR
TERM=dumb ./gradlew :core:standalone:build \
diff --git a/tools/travis/setup.sh b/tools/travis/setup.sh
index 35705e1..88bbeed 100755
--- a/tools/travis/setup.sh
+++ b/tools/travis/setup.sh
@@ -31,16 +31,16 @@ function retry() {
}
# Python
-pip install --user couchdb
+python -m pip install --user couchdb
# Ansible
-pip install --user ansible==2.5.2
+python -m pip install --user ansible==2.5.2
# Azure CosmosDB
-pip install --user pydocumentdb
+python -m pip install --user pydocumentdb
# Support the revises log upload script
-pip install --user humanize requests
+python -m pip install --user humanize requests
# Basic check that all code compiles and depdendencies are downloaded correctly.
# Compiling the tests will compile all components as well.