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-client-go.git
The following commit(s) were added to refs/heads/master by this push:
new f366049 remove Travis CI configuration; add GitHub action status
badge (#162)
f366049 is described below
commit f366049f27670ae44a770fc88ad84d72a7357088
Author: David Grove <[email protected]>
AuthorDate: Mon Oct 28 10:01:42 2024 -0400
remove Travis CI configuration; add GitHub action status badge (#162)
---
.travis.yml | 57 ------------------------------------------
NOTICE.txt | 2 +-
README.md | 2 +-
tools/travis/build.sh | 28 ---------------------
tools/travis/setup.sh | 24 ------------------
tools/travis/test_openwhisk.sh | 46 ----------------------------------
6 files changed, 2 insertions(+), 157 deletions(-)
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 0fe0624..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,57 +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.
-#
-
-language: go
-
-matrix:
- include:
- - os: linux
- sudo: required
- go: "1.18"
- services: docker
- dist: xenial
-
-git:
- depth: 3
-
-notifications:
- email: false
- webhooks:
- urls:
- # travis2slack webhook to enable DMs on openwhisk-team.slack.com to PR
authors with TravisCI results
- secure:
"p8ZoPWZNXvcjayPEo3gDCO6lhPX6rrimIkKnQurYs7M/ObP5p94hebpDee5U8sZURPU+g4hF3wCIknjHgL3aDwa8P9np4SMLKfpGacz4sZBqHX2v95iFpFRyrvv6/K7atT0K2mFG30pSMRh0WxbkQ4GvcjzWG7Cl8eqx37+3hMih3niffnuflSRML47U8mH+ev39XGogpuvBYjvJfaUuC50y8vxlc6lnuWn4lN9ZEcYVZUnR3CqGr5xFpxko4RrFeKoD6UZHEhNglIVwcD465lU/8IeJiRP5BRolu/y4caMRG7DhT6nGku/ZjJchJfTBlbYfMAjFzKNA3iXGwacAkUJ4ecGx0B+W5M/lcNJWh38AXDA4gLAOXII24iyvDSPNn4zZN5kcim16qjnd+mkJoEyoGBQgRgcTenBdeA/bNTXXbB6+txhUbPTwAbspgwBWkpq14IgdjO6MdsIbdzNMuobJHPH3D
[...]
-
-before_install:
- # - cd $TRAVIS_BUILD_DIR
- # - GO_FILES=$(find . -iname '*.go' -type f)
- # - test -z "$(gofmt -s -l $(echo $GO_FILES))"
- # - pip install --user --upgrade pip setuptools
- # - ./tools/travis/setup.sh
-
-install:
- # - export DEPLOY_BUILD_READY=false
- # - go get -u golang.org/x/lint/golint
- # - go get -u github.com/stretchr/testify
-
-script:
- # - ./tools/travis/build.sh
- # - export PATH=$PATH:$TRAVIS_BUILD_DIR;
- # - make test
-# - if [ "$TRAVIS_OS_NAME" == "linux" ] ; then
-# ./tools/travis/test_openwhisk.sh;
-# fi
- - echo "tests disabled"
diff --git a/NOTICE.txt b/NOTICE.txt
index 27342a7..972819a 100644
--- a/NOTICE.txt
+++ b/NOTICE.txt
@@ -1,5 +1,5 @@
Apache OpenWhisk Client Go
-Copyright 2016-2021 The Apache Software Foundation
+Copyright 2016-2024 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
diff --git a/README.md b/README.md
index 7261f32..ca339bf 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@
# Openwhisk Client Go
[](http://www.apache.org/licenses/LICENSE-2.0)
-[](https://travis-ci.com/github/apache/openwhisk-client-go)
+[](https://github.com/apache/openwhisk-client-go/actions/workflows/ci.yaml)
This project `openwhisk-client-go` is a Go client library to access the
Openwhisk API.
diff --git a/tools/travis/build.sh b/tools/travis/build.sh
deleted file mode 100755
index f643834..0000000
--- a/tools/travis/build.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env 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/../.."
-UTILDIR="$ROOTDIR/../openwhisk-utilities"
-
-# run scancode using the ASF Release configuration
-cd $UTILDIR
-scancode/scanCode.py --config scancode/ASF-Release.cfg $ROOTDIR
diff --git a/tools/travis/setup.sh b/tools/travis/setup.sh
deleted file mode 100755
index 264a47c..0000000
--- a/tools/travis/setup.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env 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.
-#
-
-SCRIPTDIR=$(cd $(dirname "$0") && pwd)
-HOMEDIR="$SCRIPTDIR/../../../"
-
-# clone OpenWhisk utilities repo. in order to run scanCode
-cd $HOMEDIR
-git clone https://github.com/apache/openwhisk-utilities.git
diff --git a/tools/travis/test_openwhisk.sh b/tools/travis/test_openwhisk.sh
deleted file mode 100755
index 5db7fea..0000000
--- a/tools/travis/test_openwhisk.sh
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/usr/bin/env 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
-
-export OPENWHISK_HOME="$(dirname "$TRAVIS_BUILD_DIR")/openwhisk";
-HOMEDIR="$(dirname "$TRAVIS_BUILD_DIR")"
-cd $HOMEDIR
-
-# Clone the OpenWhisk code
-git clone --depth 3 https://github.com/apache/openwhisk.git
-
-# Build script for Travis-CI.
-WHISKDIR="$HOMEDIR/openwhisk"
-
-cd $WHISKDIR
-./tools/travis/setup.sh
-
-ANSIBLE_CMD="ansible-playbook -i environments/local -e
docker_image_prefix=openwhisk -e docker_image_tag=nightly"
-
-cd $WHISKDIR/ansible
-$ANSIBLE_CMD setup.yml
-$ANSIBLE_CMD prereq.yml
-$ANSIBLE_CMD couchdb.yml
-$ANSIBLE_CMD initdb.yml
-$ANSIBLE_CMD apigateway.yml
-$ANSIBLE_CMD wipe.yml
-$ANSIBLE_CMD openwhisk.yml -e
'{"openwhisk_cli":{"installation_mode":"remote","remote":{"name":"OpenWhisk_CLI","dest_name":"OpenWhisk_CLI","location":"https://github.com/apache/openwhisk-cli/releases/download/latest"}}}'
-
-cd $TRAVIS_BUILD_DIR
-make integration_test