File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change @@ -19,20 +19,10 @@ jobs:
1919
2020 - uses : dtolnay/rust-toolchain@stable
2121 - uses : Swatinem/rust-cache@v2
22- - name : Load environment variables
23- run : |
24- if [ -f .env ]; then
25- set -a
26- source .env
27- set +a
28- echo "HANDLERS_TO_BUILD=${HANDLERS_TO_BUILD}" >> $GITHUB_ENV
29- echo "OUTPUT_DIR=${OUTPUT_DIR}" >> $GITHUB_ENV
30- fi
31-
3222 - name : Build Lambda artifacts for testing
3323 run : |
3424 mkdir -p test/dockerized/tasks
35- OUTPUT_DIR="$(pwd)/test/dockerized/tasks" make build-examples
25+ HANDLERS_TO_BUILD="basic-lambda basic-sqs http-basic-lambda basic-lambda-concurrent" OUTPUT_DIR="$(pwd)/test/dockerized/tasks" ./scripts/ build-examples.sh
3626 ls -la test/dockerized/tasks/
3727
3828 - name : Build base test image with RIE and custom entrypoint
5747 - name : Build Lambda artifacts for testing
5848 run : |
5949 mkdir -p test/dockerized/tasks
60- HANDLERS_TO_BUILD="basic-lambda-concurrent invocation-id-concurrent" OUTPUT_DIR="$(pwd)/test/dockerized/tasks" make build-examples
61- test -x test/dockerized/tasks/basic-lambda-concurrent
62- test -x test/dockerized/tasks/invocation-id-concurrent
50+ HANDLERS_TO_BUILD="basic-lambda-concurrent invocation-id-concurrent" OUTPUT_DIR="$(pwd)/test/dockerized/tasks" ./scripts/build-examples.sh
6351 ls -la test/dockerized/tasks/
6452
6553 - name : Build base test image with RIE and custom entrypoint
Original file line number Diff line number Diff line change @@ -9,12 +9,8 @@ RIE_MAX_CONCURRENCY ?= 4
99TEST_RUNNER_BRANCH ?= main
1010CONTAINER_READY_DELAY_SECS ?= 5
1111OUTPUT_DIR ?= test/dockerized/tasks
12- HANDLERS_TO_BUILD ?=
13- HANDLER ?=
14-
15- # Load environment variables from .env file if it exists
16- -include .env
17- export
12+ HANDLERS_TO_BUILD ?= basic-lambda basic-sqs http-basic-lambda basic-lambda-concurrent
13+ HANDLER ?= basic-lambda
1814
1915.PHONY : help pr-check integration-tests check-event-features fmt build-examples build-test-runner test-rie test-rie-lmi nuke test-dockerized test-dockerized-concurrent
2016
You can’t perform that action at this time.
0 commit comments