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:55 UTC

[openwhisk-runtime-nodejs] branch master updated (0640aed -> 2f6f268)

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

dgrove pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-runtime-nodejs.git


    from 0640aed  Add logic to tag and push images
     new 9ce3ba9  update description of v18
     new 9715e24  add GitHub Actions badge
     new 2f6f268  remove TravisCI setup and scripts

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .travis.yml             | 53 -------------------------------------------------
 README.md               | 11 ++++++----
 tools/travis/build.sh   | 45 -----------------------------------------
 tools/travis/publish.sh | 50 ----------------------------------------------
 tools/travis/setup.sh   | 34 -------------------------------
 tools/travis/test.sh    | 30 ----------------------------
 6 files changed, 7 insertions(+), 216 deletions(-)
 delete mode 100644 .travis.yml
 delete mode 100755 tools/travis/build.sh
 delete mode 100755 tools/travis/publish.sh
 delete mode 100755 tools/travis/setup.sh
 delete mode 100755 tools/travis/test.sh


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

Posted by dg...@apache.org.
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


[openwhisk-runtime-nodejs] 01/03: update description of v18

Posted by dg...@apache.org.
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 9ce3ba928836497af22f207474649753409146b5
Author: David Grove <gr...@us.ibm.com>
AuthorDate: Fri Jan 20 11:37:13 2023 -0500

    update description of v18
---
 README.md | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 065c832..9e3c7a4 100644
--- a/README.md
+++ b/README.md
@@ -27,8 +27,8 @@ This repository contains sources files needed to build the Node.js runtimes for
 The following Node.js runtime versions (with kind & image labels) are generated by the build system:
 
 - Node.js 14.19 (`nodejs:14` & `openwhisk/action-nodejs-v14`)
-- Node.js 16.15 (`nodejs:16` & `openwhisk/action-nodejs-v16`)
-- Node.js 18 (`nodejs:18` & `openwhisk/action-nodejs-v16`)
+- Node.js 16 (`nodejs:16` & `openwhisk/action-nodejs-v16`)
+- Node.js 18 (`nodejs:18` & `openwhisk/action-nodejs-v18`)
 
 This README documents the build, customisation and testing of these runtime images.
 
@@ -56,6 +56,7 @@ All the runtime images are published by the project to Docker Hub @ [https://hub
 
 - [https://hub.docker.com/r/openwhisk/action-nodejs-v14](https://hub.docker.com/r/openwhisk/action-nodejs-v14)
 - [https://hub.docker.com/r/openwhisk/action-nodejs-v16](https://hub.docker.com/r/openwhisk/action-nodejs-v16)
+- [https://hub.docker.com/r/openwhisk/action-nodejs-v18](https://hub.docker.com/r/openwhisk/action-nodejs-v18)
 
 These images can be used to execute Node.js actions on any deployment of Apache OpenWhisk, even those without those images defined the in runtime manifest, using the `--docker` action parameter.
 
@@ -84,9 +85,10 @@ The `core/nodejsActionBase` folder contains the Node.js app server used to imple
 ```
 ./gradlew core:nodejs14Action:distDocker
 ./gradlew core:nodejs16Action:distDocker
+./gradlew core:nodejs18Action:distDocker
 ```
 
-This will return the following runtime images with the following names: `action-nodejs-v14` and `action-nodejs-v16`.
+This will return the following runtime images with the following names: `action-nodejs-v14`, `action-nodejs-v16`, and `action-nodejs-v18`.
 
 ### Testing
 
@@ -104,6 +106,7 @@ This will return the following runtime images with the following names: `action-
 ```
 ./gradlew tests:dat:docker:nodejs14docker:distDocker
 ./gradlew tests:dat:docker:nodejs16docker:distDocker
+./gradlew tests:dat:docker:nodejs18docker:distDocker
 ```
 
 - Run the project tests.


[openwhisk-runtime-nodejs] 02/03: add GitHub Actions badge

Posted by dg...@apache.org.
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 9715e244469f7c587035b4b66adaecf09c7ac48a
Author: David Grove <gr...@us.ibm.com>
AuthorDate: Fri Jan 20 11:39:27 2023 -0500

    add GitHub Actions badge
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 9e3c7a4..09c936a 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@
 # Apache OpenWhisk runtimes for Node.js
 
 [![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-nodejs.svg?branch=master)](https://travis-ci.com/github/apache/openwhisk-runtime-nodejs)
+[![Continuous Integration](https://github.com/apache/openwhisk-runtime-nodejs/actions/workflows/ci.yaml/badge.svg)](https://github.com/apache/openwhisk-runtime-nodejs/actions/workflows/ci.yaml)
 
 This repository contains sources files needed to build the Node.js runtimes for Apache OpenWhisk. The build system will produce a series of docker images for each runtime version. These images are used in the platform to execute Node.js actions.