Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #10 from hayd/0.24.0
Browse files Browse the repository at this point in the history
🐳 bump version to 0.24.0
  • Loading branch information
hayd authored Nov 15, 2019
2 parents c2ef0ed + bf308e3 commit 73c899f
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 16 deletions.
2 changes: 1 addition & 1 deletion runtime/artifacts
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ cp -R .deno_dir/gen/file/$PWD/ .deno_dir/LAMBDA_TASK_ROOT
zip -qq deno-lambda-layer.zip -x '.deno_dir/gen/file/*' -r .deno_dir amz-deno bootstrap hello.ts
zip -qq deno-lambda-example.zip -x '.deno_dir/gen/file/*' -r .deno_dir hello.ts

DENO_DIR=.deno_dir ./amz-deno bundle bundle.ts
DENO_DIR=.deno_dir ./amz-deno bundle bundle.ts bundle.bundle.js
8 changes: 6 additions & 2 deletions tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# This must be built in the .. context
FROM hayd/deno:amazonlinux-1-0.23.0
# Note: This must be built in the .. context

FROM hayd/deno:amazonlinux1-0.24.0
# This is the runtime used by AWS Lambda
# plus a compatible deno executable /bin/deno.
# https://github.com/hayd/deno_docker

RUN yum install -y unzip zip

Expand Down
6 changes: 3 additions & 3 deletions tests/deps.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export { assertEquals } from "https://deno.land/std@v0.23.0/testing/asserts.ts";
export { serve } from "https://deno.land/std@v0.23.0/http/server.ts";
export { runIfMain, test } from "https://deno.land/std@v0.23.0/testing/mod.ts";
export { assertEquals } from "https://deno.land/std@v0.24.0/testing/asserts.ts";
export { serve } from "https://deno.land/std@v0.24.0/http/server.ts";
export { runIfMain, test } from "https://deno.land/std@v0.24.0/testing/mod.ts";
4 changes: 2 additions & 2 deletions tests/test_bundle.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"expected": [
{
"status": "ok",
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.23.0 🦕\"}"
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.24.0 🦕\"}"
},
{
"status": "ok",
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.23.0 🦕\"}"
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.24.0 🦕\"}"
}
],
"files": ["bundle.bundle.js"],
Expand Down
4 changes: 2 additions & 2 deletions tests/test_example_zip.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"expected": [
{
"status": "ok",
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.23.0 🦕\"}"
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.24.0 🦕\"}"
},
{
"status": "ok",
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.23.0 🦕\"}"
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.24.0 🦕\"}"
}
],
"files": "deno-lambda-example.zip",
Expand Down
4 changes: 2 additions & 2 deletions tests/test_js.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"expected": [
{
"status": "ok",
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.23.0 🦕\"}"
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.24.0 🦕\"}"
},
{
"status": "ok",
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.23.0 🦕\"}"
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.24.0 🦕\"}"
}
],
"files": ["hello.js"],
Expand Down
4 changes: 2 additions & 2 deletions tests/test_self_contained.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"expected": [
{
"status": "ok",
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.23.0 🦕\"}"
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.24.0 🦕\"}"
},
{
"status": "ok",
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.23.0 🦕\"}"
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.24.0 🦕\"}"
}
],
"files": ["hello.ts", "bootstrap", "amz-deno"]
Expand Down
4 changes: 2 additions & 2 deletions tests/test_simple.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"expected": [
{
"status": "ok",
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.23.0 🦕\"}"
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.24.0 🦕\"}"
},
{
"status": "ok",
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.23.0 🦕\"}"
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.24.0 🦕\"}"
}
],
"files": ["hello.ts"],
Expand Down

0 comments on commit 73c899f

Please sign in to comment.