commit | 258890c72988eebf1c3af2c4ab685e5159fbbf60 | [log] [tgz] |
---|---|---|
author | David Grove <dgrove-oss@users.noreply.github.com> | Sat Mar 13 10:24:46 2021 -0500 |
committer | GitHub <noreply@github.com> | Sat Mar 13 10:24:46 2021 -0500 |
tree | dd41ff08fd200252b5d7516d9731230f1863c9b0 | |
parent | 5ff270284c165e49b38e2135ee9ff5cae5a0ad2a [diff] |
require passing travis test to merge PR via asf.yaml (#10)
This repository contains sources files needed to build the Deno runtimes for Apache OpenWhisk. The build system will produce a Docker image for each runtime version. These images are used in the platform to execute Deno actions.
Try it out using Docker image:
wsk action create hello main.ts --docker=openwhisk/action-deno-1.3.0
The content of the main.ts
is shown below.
export default (args: any) => { return { message: `Hello, ${args.name || 'World'}!` } }
A Dockerfile for each runtime image is defined in its respective runtime version directory. Modify this file if you need to add extra dependencies to a runtime version.
distDocker
command to generate local Docker images for the different runtime versions../gradlew distDocker
Build the local Docker images for the Deno runtime (see the instructions above).
Install project dependencies from the top-level Apache OpenWhisk project, which ensures correct versions of dependent libraries are available in the Maven cache.
./gradlew install
This command MUST BE run from the directory containing the main Apache OpenWhisk repository, not this repository's directory.
./gradlew :tests:test