diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0fe0624c..00000000 --- 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+txhUbPTwAbspgwBWkpq14IgdjO6MdsIbdzNMuobJHPH3DxSVaU+tZrFo3J+QE1hMwHHOSfcsHKwjxLdrrpoMZNwSVfQhDhLfHmql3cB2pYe+m4O6eIxjUk6Zv0EETEQ/7WM/W8Q2wBzTk8c2pZQsC9Nj7vIHEXT2klTjooaXWvwq8je6xpwL+7Dann6B/Zkr4+al8Xpqe1Q3m9lsL33FHF2ROp03igm4dCviDJCZB7BWGYuKGLp0fmNe1Aw=" - -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 27342a7d..972819aa 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 7261f32b..ca339bfb 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ # Openwhisk Client Go [![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-client-go.svg?branch=master)](https://travis-ci.com/github/apache/openwhisk-client-go) +[![Continuous Integration](https://github.com/apache/openwhisk-client-go/actions/workflows/ci.yaml/badge.svg)](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 f6438340..00000000 --- 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 264a47c4..00000000 --- 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 5db7fea1..00000000 --- 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