This is an automated email from the ASF dual-hosted git repository.

lukeroy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-runtime-swift.git


The following commit(s) were added to refs/heads/master by this push:
     new add8e1a  remove TravisCI configuration and scripts (#158)
add8e1a is described below

commit add8e1ae7fe4b2fbab221642d75f5aabe60f4d52
Author: David Grove <[email protected]>
AuthorDate: Fri Jul 7 03:26:34 2023 -0400

    remove TravisCI configuration and scripts (#158)
---
 .travis.yml             | 52 ----------------------------------------
 README.md               |  3 +--
 tools/travis/build.sh   | 57 -------------------------------------------
 tools/travis/deploy.sh  | 57 -------------------------------------------
 tools/travis/publish.sh | 64 -------------------------------------------------
 tools/travis/setup.sh   | 34 --------------------------
 tools/travis/test.sh    | 30 -----------------------
 7 files changed, 1 insertion(+), 296 deletions(-)

diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index be86098..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,52 +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: jammy
-jdk: openjdk8
-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: 
"hOGkOouus0A5Wf5i+kmJJ5J6kOOQmdkpQUZffp9AnoN1I0qLJ0g7fggtQg4PTgIfHxrFShpZw/nGpyx1qkV9BUCw9Q+A8YgtLbimD0Hw9o7aPBrln7vtUDw9C+Sd39OXb40B172ME8NN4Apcnf1sVwjNUomQ58yvIrnaA2aBQ2mgqmt5KWpyne1I7R0Cr1R1V7nUcC6qsf7qxCQNjDlEKGZaWJp44bcCP8oWwoX93LUxAHgZirA167vmfmiGrp+gSPTQz45JBS5OMcRXl0tuMp6piJOxX+QfigAGTfP1V1kmTCb0k70UCgcTsUxEBYm85A3Cy8cLWOMi08643dZG9wT0Q9uJgAbb5Gr3B5Fs4IoIdrh4ZSbziqVhmyiJ+99D0n0oTALv1o8QgbYU93FrUcMlCQYDqV9s2wF15GmXSTGIoyxhsUrdMnOdKLTf/repyev7DZgVRePJipB6ZwwLh7Tsd1yNk
 [...]
-
-before_install:
-  - "./tools/travis/setup.sh"
-install: true
-script:
-  - "./tools/travis/build.sh && ./tools/travis/deploy.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-swift
-  - provider: script
-    script: "./tools/travis/publish.sh openwhisk 5.1 nightly && 
./tools/travis/publish.sh openwhisk 5.3 nightly && ./tools/travis/publish.sh 
openwhisk 5.4 nightly"
-    on:
-      branch: master
-      repo: apache/openwhisk-runtime-swift
-env:
-  global:
-    - secure: 
"cut/gB2M5cLqmPTAVK7rAfF87UqekYIPXMB1W/HhSzihERmpHykFWht5jAnXSv0fEdAXpm9llybGrDXb0+EGNH//LiA6L25jPm0HY+h4IQWGTFSXdJsbap5tonc8qTD+7OWROuGexoL9hqGs9E5dPWQzFYAr2lO5ehpMjvyha1CJAAULEu3fCfzFJR6XQN87kHmeiBAk0636FWSnO2Y9MOF5+m1eSMXax5dDkdJzx4RRPLH28zDF34KRPpvrfC0EyoXE3ZVAmCYCJBUUlLQ0X00bTVfexytKOQnKYPKs/gicv4lIIOmDkYC9MQ08c8qhy7rZSBNh5VwiUZtyDcOpT60SdA8FUeDSJEbRNqagSOR7QFkBC18OMI/7dsAf3h4pfdq54XCgWHlYMEy7zev4Lm6emI6p4FLES4Ik6r248mbQ6+ZsWM4wuGuaGAH7PbmQDXvlI1iVLwkG6empbMMGWhdhUKjf3
 [...]
-    - secure: 
"Rm7DaMIMOr9IpNEqkqqKoz67o8aju6DFEHbh8gnDqz6CIQafJk1PywNlx3ydVzLTnyO6FURWoQKIdo81eT2JwBPhuLVDEslHY3I6L+KCVhKl57huO21SHwK7OhKOY5dwroksxObfTvU4vTfzFqXEsGUcoQegB0jpzX8aEO4tN3D2ScZzzwAAiSHr496NL3l+gf4jRU8yS6wYJoDfuEZPrX6fMsPkHFjblR5CC2sS5bnh9bhVKN9X9FN3bEweN8PsFDpwZiEceIOopfcSt67QWPHPceEgnnot8jG0NgvlG5FLwsDQjk/ve/hbMtbskHC6S8cZFy/eqt4jKy6OAUDHQCMFvVpOE+UiNpl0espz0joDcCwnpJSst8Inqm/QF0ajwf5vGySAq0qioQvELMVfvRRjNLY3G4hGZpeMkv7UMi/Rvkyo0APInOt9h3/PXiOvuy2CvMBDXWdJZbZpjMdIaKMb45wsv
 [...]
diff --git a/README.md b/README.md
index 155d418..a7377f5 100644
--- a/README.md
+++ b/README.md
@@ -19,8 +19,7 @@
 
 # Apache OpenWhisk runtimes for swift
 
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
-[![Build 
Status](https://travis-ci.com/apache/openwhisk-runtime-swift.svg?branch=master)](https://travis-ci.com/github/apache/openwhisk-runtime-swift)
-
+[![Continuous 
Integration](https://github.com/apache/openwhisk-runtime-swift/actions/workflows/ci.yaml/badge.svg)](https://github.com/apache/openwhisk-runtime-swift/actions/workflows/ci.yaml)
 
 ## Changelogs
 - [Swift 5.1   CHANGELOG.md](core/swift51Action/CHANGELOG.md)
diff --git a/tools/travis/build.sh b/tools/travis/build.sh
deleted file mode 100755
index 3239f4a..0000000
--- a/tools/travis/build.sh
+++ /dev/null
@@ -1,57 +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
-
-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
-
-#pull down images
-docker pull openwhisk/controller:nightly
-docker pull openwhisk/invoker:nightly
-docker pull openwhisk/action-nodejs-v10:nightly
-
-TERM=dumb ./gradlew install
-
-# Build runtime
-cd $ROOTDIR
-TERM=dumb ./gradlew \
-:core:swift51Action:distDocker \
-:core:swift53Action:distDocker \
-:core:swift54Action:distDocker \
-:core:swift57Action:distDocker \
--PdockerImagePrefix=${IMAGE_PREFIX}
-
-# Compile test files
-cd $ROOTDIR/tests/dat
-sh build.sh
diff --git a/tools/travis/deploy.sh b/tools/travis/deploy.sh
deleted file mode 100755
index 89131a4..0000000
--- a/tools/travis/deploy.sh
+++ /dev/null
@@ -1,57 +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
-
-# Deploy OpenWhisk
-cd $WHISKDIR/ansible
-# NOTE: manifest_file is a relative path appended to OPENWHISK_HOME
-ANSIBLE_CMD="ansible-playbook -i environments/local -e 
manifest_file=/../openwhisk-runtime-swift/ansible/files/runtimes.json -e 
docker_image_prefix=openwhisk -e docker_image_tag=nightly -e 
controller_protocol=http"
-$ANSIBLE_CMD setup.yml
-$ANSIBLE_CMD prereq.yml
-$ANSIBLE_CMD couchdb.yml
-$ANSIBLE_CMD initdb.yml
-$ANSIBLE_CMD wipe.yml
-$ANSIBLE_CMD openwhisk.yml -e cli_installation_mode=remote -e 
skip_pull_runtimes=true
-$ANSIBLE_CMD postdeploy.yml
-$ANSIBLE_CMD properties.yml
-$ANSIBLE_CMD apigateway.yml
-$ANSIBLE_CMD routemgmt.yml
-
-docker images
-docker ps
-
-cat $WHISKDIR/whisk.properties
-curl -s -k https://172.17.0.1 | jq .
-curl -s -k https://172.17.0.1/api/v1 | jq .
-
-#Deployment
-WHISK_APIHOST="172.17.0.1"
-WHISK_AUTH=`cat ${WHISKDIR}/ansible/files/auth.guest`
-WHISK_CLI="${WHISKDIR}/bin/wsk -i"
-
-${WHISK_CLI} property set --apihost ${WHISK_APIHOST} --auth ${WHISK_AUTH}
-${WHISK_CLI} property get
diff --git a/tools/travis/publish.sh b/tools/travis/publish.sh
deleted file mode 100755
index cd1694e..0000000
--- a/tools/travis/publish.sh
+++ /dev/null
@@ -1,64 +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/../.."
-WHISKDIR="$ROOTDIR/../openwhisk"
-
-export OPENWHISK_HOME=$WHISKDIR
-
-IMAGE_PREFIX=$1
-RUNTIME_VERSION=$2
-IMAGE_TAG=$3
-
-if [ ${RUNTIME_VERSION} == "5.1" ]; then
-  RUNTIME="swift51Action"
-elif [ ${RUNTIME_VERSION} == "5.3" ]; then
-  RUNTIME="swift53Action"
-elif [ ${RUNTIME_VERSION} == "5.4" ]; then
-  RUNTIME="swift54Action"
-elif [ ${RUNTIME_VERSION} == "5.7" ]; then
-  RUNTIME="swift57Action"
-fi
-
-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

Reply via email to