Skip to content

Commit 2cabdac

Browse files
committed
cohre: other changes
1 parent a75e5f1 commit 2cabdac

3 files changed

Lines changed: 4 additions & 36 deletions

File tree

.env

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/dockerized-test.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff 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
@@ -57,9 +47,7 @@ jobs:
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

Makefile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,8 @@ RIE_MAX_CONCURRENCY ?= 4
99
TEST_RUNNER_BRANCH ?= main
1010
CONTAINER_READY_DELAY_SECS ?= 5
1111
OUTPUT_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

0 commit comments

Comments
 (0)