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 2023/01/25 02:28:58 UTC

[openwhisk-runtime-nodejs] 03/03: remove TravisCI setup and scripts

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/openwhisk-runtime-nodejs.git

commit 2f6f268acfe3cf0bbb9c2ffaf8e15af014ba4799
Author: David Grove <gr...@us.ibm.com>
AuthorDate: Fri Jan 20 11:40:35 2023 -0500

    remove TravisCI setup and scripts
---
 .travis.yml             | 53 -------------------------------------------------
 tools/travis/build.sh   | 45 -----------------------------------------
 tools/travis/publish.sh | 50 ----------------------------------------------
 tools/travis/setup.sh   | 34 -------------------------------
 tools/travis/test.sh    | 30 ----------------------------
 5 files changed, 212 deletions(-)

diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 73ce94a..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,53 +0,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
-#
-#     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.
-#
-
-sudo: required
-dist: focal
-jdk: openjdk11
-language: java
-services:
-  - docker
-
-notifications:
-  email: false
-  webhooks:
-    urls:
-      # travis2slack webhook to enable DMs on openwhisk-team.slack.com to PR authors with TravisCI results
-      secure: "C+xu3CoAqyHm8N8zVwjOGhZOxYmwjZRkBMZUAbiNz6vVZq6j/TU8Mu44Z5zEWsufSdrAtu+Mg4Kfr00x8hlYYBxH6YXs7vKhToCERY1JLnlSjquvzzbOkaiG+fpYyiATNH6uz1BJdm1FcSr8n2mRV1nmAXmE/Ie28Q+nVIFt8CXA/mBWl9Z/l6Rwf7REWgWL4mGr2Wjb3vgth0IEO7rZtDKxQlas0s8naJA6nA6dIPxBFuuBrLmNIRAF7qOLBLC6508UWqt+9k/QYbujM7qhnmSJEPGHXG/5lZBWbn2UPIS6EKTlYW5o44cGmP8N0MAKDJezmDjE4r8HwTiKzaM8axQPLw+H7wumhIXbPO2lsHGgzxZAh7M771cXf8pRxoaqWm/bxweAPWA+6bKSrHJGYtM9FTHghNVeuwLTR18NJj4mIzb9BS90rodLfLXrbUPY5lC/4I5YRrCqlhyHr7aibWXM27ehf [...]
-
-before_install:
-  - "./tools/travis/setup.sh"
-install: true
-script:
-  - "./tools/travis/build.sh && ./tools/travis/test.sh"
-deploy:
-  - provider: script
-    script: "./tools/travis/publish.sh openwhisk ${TRAVIS_TAG%@*} ${TRAVIS_TAG##*@}"
-    on:
-      tags: true
-      all_branches: true
-      repo: apache/openwhisk-runtime-nodejs
-  - provider: script
-    script: "./tools/travis/publish.sh openwhisk nodejs14Action nightly && ./tools/travis/publish.sh openwhisk nodejs16Action nightly && ./tools/travis/publish.sh openwhisk nodejs18Action nightly && ./tools/travis/publish.sh openwhisk typescript37Action nightly"
-    on:
-      branch: master
-      repo: apache/openwhisk-runtime-nodejs
-
-env:
-  global:
-  - secure: "i7n47SWOCArI+bmROLN9XMu3Vor2MJCuy62GlWyOd43x41bSmyt8W83E+7otHFkL5/v3habhmCNMBA6pa1gbfBOi4yWaHigrlndO6WO3W1SyYt+OMWftXOHUDh2CwpCWmc+IawuSStKdagTINeaMCWqwgG7Kt5/NCojXleAytWxupIyRab3t7BaPvlywCx2wu8gcMiHhAXjmSJtYCB7HlxY7Kdro5EZbxCl3Pkiz9B1fB2J81rmDtWgVK8KkfdV9c6oADvkZVM9AhU12qIwCg+ARApi3nJuZBJUK8QAkVZClw3y058OVsyu2iP9c0DxpUbDCLbYmN7KFdhwBSzl/cxXiAGxUFanDumUR4IEHbMdaOgmZWInpKjzDINGPh/0dSzDsY963+QVyEGs903TdOUj7eiOtrt5fOHlGmuoKnevLgfjNug3e2MZ6lYxU6Zf+tOuKKWxgE3iOTDrkWiNAPVRSmM2xKME [...]
-  - secure: "iOF5l68Wd/ez3Ou1hGtCBlmck2AppwSyDZgeT1yMGoqK2WqdpcZQXyDwku8G75/Ry5wGCsoUHCkMqjd6RwhPNsqN268hWqVe5N3QFbhuhn4KuHKGruxUMlaTuqDVZGgYT5OEnped1OISxIsuUU2fd76+gzzDikuc5ZJWdLQMbahfri0xpdsYTl92P+okYQPNlCIz87u6+QqFcAR310rJB5p4H7Z4HTHHRIb21e6lIL4jGZfnJTZPzwbvAdPZ/P4po5ZoCDpxIL3KuMmNKFkhvvj73fQTxzbV/aY/0V4V3Ku/FEGqetzQ8LyZ7sfxyb9kD+XsdcSNks8+GG+PVhGiMaV6dR8COKBKuMV9ROqxxgI8HH+1EvlQZmFXeUXs4n7GbEBFZCzXkRPDcgrZFEalhPg13apyJln/9xUu7lnYSJkMoF2GJ6yo6R+lTArjyev8RkpCOig7yLaIHH2U7S4gRnYgtTVK5FD [...]
diff --git a/tools/travis/build.sh b/tools/travis/build.sh
deleted file mode 100755
index aeb900f..0000000
--- a/tools/travis/build.sh
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/bash
-#
-# 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.
-#
-
-set -ex
-
-# Build script for Travis-CI.
-
-SCRIPTDIR=$(cd $(dirname "$0") && pwd)
-ROOTDIR="$SCRIPTDIR/../.."
-WHISKDIR="$ROOTDIR/../openwhisk"
-UTILDIR="$ROOTDIR/../openwhisk-utilities"
-
-export OPENWHISK_HOME=$WHISKDIR
-
-# run scancode using the ASF Release configuration
-cd $UTILDIR
-scancode/scanCode.py --config scancode/ASF-Release.cfg $ROOTDIR
-
-# Build OpenWhisk deps before we run tests
-cd $WHISKDIR
-TERM=dumb ./gradlew install
-# Mock file (works around bug upstream)
-echo "openwhisk.home=$WHISKDIR" > whisk.properties
-echo "vcap.services.file=" >> whisk.properties
-
-# Build runtime and dependencies
-cd $ROOTDIR
-
-# Build runtime & test dependencies
-TERM=dumb ./gradlew distDocker
diff --git a/tools/travis/publish.sh b/tools/travis/publish.sh
deleted file mode 100755
index 961c3a7..0000000
--- a/tools/travis/publish.sh
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/bash
-#
-# 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.
-#
-
-set -eux
-
-# Build script for Travis-CI.
-
-SCRIPTDIR=$(cd $(dirname "$0") && pwd)
-ROOTDIR="$SCRIPTDIR/../.."
-
-IMAGE_PREFIX=$1
-RUNTIME=$2
-IMAGE_TAG=$3
-
-if [[ ! -z ${DOCKER_USER} ]] && [[ ! -z ${DOCKER_PASSWORD} ]]; then
-  docker login -u "${DOCKER_USER}" -p "${DOCKER_PASSWORD}"
-fi
-
-if [[ ! -z ${RUNTIME} ]]; then
-  TERM=dumb ./gradlew \
-    :core:${RUNTIME}:distDocker \
-    -PdockerRegistry=docker.io \
-    -PdockerImagePrefix=${IMAGE_PREFIX} \
-    -PdockerImageTag=${IMAGE_TAG}
-
-  # if doing nightly also push a tag with the hash commit
-  if [ ${IMAGE_TAG} == "nightly" ]; then
-    SHORT_COMMIT=`git rev-parse --short HEAD`
-    TERM=dumb ./gradlew \
-      :core:${RUNTIME}:distDocker \
-      -PdockerRegistry=docker.io \
-      -PdockerImagePrefix=${IMAGE_PREFIX} \
-      -PdockerImageTag=${SHORT_COMMIT}
-  fi
-fi
diff --git a/tools/travis/setup.sh b/tools/travis/setup.sh
deleted file mode 100755
index 6315f1a..0000000
--- a/tools/travis/setup.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-#
-# 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.
-#
-
-set -e
-
-# Build script for Travis-CI.
-
-SCRIPTDIR=$(cd $(dirname "$0") && pwd)
-ROOTDIR="$SCRIPTDIR/../.."
-HOMEDIR="$SCRIPTDIR/../../../"
-
-# clone OpenWhisk utilities repo. in order to run scanCode
-cd $HOMEDIR
-git clone https://github.com/apache/openwhisk-utilities.git
-
-# clone main openwhisk repo. for testing purposes
-git clone --depth=1 https://github.com/apache/openwhisk.git openwhisk
-cd openwhisk
-./tools/travis/setup.sh
diff --git a/tools/travis/test.sh b/tools/travis/test.sh
deleted file mode 100755
index a5b249d..0000000
--- a/tools/travis/test.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-#
-# 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.
-#
-
-set -ex
-
-# Build script for Travis-CI.
-
-SCRIPTDIR=$(cd $(dirname "$0") && pwd)
-ROOTDIR="$SCRIPTDIR/../.."
-WHISKDIR="$ROOTDIR/../openwhisk"
-
-export OPENWHISK_HOME=$WHISKDIR
-cd ${ROOTDIR}
-TERM=dumb ./gradlew :tests:checkScalafmtAll
-TERM=dumb ./gradlew :tests:test