From 6ec0ea3ba351c4fa706b0c7d826b214ff316cc62 Mon Sep 17 00:00:00 2001 From: David Wagner Date: Wed, 17 Feb 2021 20:10:21 +0100 Subject: [PATCH 1/2] =?UTF-8?q?Rename=20test=20=E2=86=92=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- {test => tests}/__init__.py | 0 .../integration/codebuild-local/Dockerfile.agent | 0 .../integration/codebuild-local/codebuild_build.sh | 0 .../integration/codebuild-local/test_all.sh | 0 .../integration/codebuild-local/test_one.sh | 0 .../integration/codebuild/buildspec.os.alpine.1.yml | 0 .../integration/codebuild/buildspec.os.alpine.2.yml | 0 .../integration/codebuild/buildspec.os.alpine.3.yml | 0 .../codebuild/buildspec.os.amazonlinux.yml | 0 .../integration/codebuild/buildspec.os.centos.1.yml | 0 .../integration/codebuild/buildspec.os.centos.2.yml | 0 .../integration/codebuild/buildspec.os.debian.yml | 0 .../integration/codebuild/buildspec.os.ubuntu.1.yml | 0 .../integration/codebuild/buildspec.os.ubuntu.2.yml | 0 .../integration/docker-compose.template.yml | 0 .../integration/docker/Dockerfile.echo.alpine | 0 .../integration/docker/Dockerfile.echo.amazonlinux | 0 .../integration/docker/Dockerfile.echo.centos | 0 .../integration/docker/Dockerfile.echo.debian | 0 .../integration/docker/Dockerfile.echo.ubuntu | 0 .../integration/resources/aws-lambda-rie.tar.gz | Bin .../integration/test-handlers/echo/app.py | 0 {test => tests}/test_bootstrap.py | 0 {test => tests}/test_lambda_context.py | 0 {test => tests}/test_lambda_runtime_client.py | 0 {test => tests}/test_lambda_runtime_marshaller.py | 0 {test => tests}/test_main.py | 0 27 files changed, 0 insertions(+), 0 deletions(-) rename {test => tests}/__init__.py (100%) rename {test => tests}/integration/codebuild-local/Dockerfile.agent (100%) rename {test => tests}/integration/codebuild-local/codebuild_build.sh (100%) rename {test => tests}/integration/codebuild-local/test_all.sh (100%) rename {test => tests}/integration/codebuild-local/test_one.sh (100%) rename {test => tests}/integration/codebuild/buildspec.os.alpine.1.yml (100%) rename {test => tests}/integration/codebuild/buildspec.os.alpine.2.yml (100%) rename {test => tests}/integration/codebuild/buildspec.os.alpine.3.yml (100%) rename {test => tests}/integration/codebuild/buildspec.os.amazonlinux.yml (100%) rename {test => tests}/integration/codebuild/buildspec.os.centos.1.yml (100%) rename {test => tests}/integration/codebuild/buildspec.os.centos.2.yml (100%) rename {test => tests}/integration/codebuild/buildspec.os.debian.yml (100%) rename {test => tests}/integration/codebuild/buildspec.os.ubuntu.1.yml (100%) rename {test => tests}/integration/codebuild/buildspec.os.ubuntu.2.yml (100%) rename {test => tests}/integration/docker-compose.template.yml (100%) rename {test => tests}/integration/docker/Dockerfile.echo.alpine (100%) rename {test => tests}/integration/docker/Dockerfile.echo.amazonlinux (100%) rename {test => tests}/integration/docker/Dockerfile.echo.centos (100%) rename {test => tests}/integration/docker/Dockerfile.echo.debian (100%) rename {test => tests}/integration/docker/Dockerfile.echo.ubuntu (100%) rename {test => tests}/integration/resources/aws-lambda-rie.tar.gz (100%) rename {test => tests}/integration/test-handlers/echo/app.py (100%) rename {test => tests}/test_bootstrap.py (100%) rename {test => tests}/test_lambda_context.py (100%) rename {test => tests}/test_lambda_runtime_client.py (100%) rename {test => tests}/test_lambda_runtime_marshaller.py (100%) rename {test => tests}/test_main.py (100%) diff --git a/test/__init__.py b/tests/__init__.py similarity index 100% rename from test/__init__.py rename to tests/__init__.py diff --git a/test/integration/codebuild-local/Dockerfile.agent b/tests/integration/codebuild-local/Dockerfile.agent similarity index 100% rename from test/integration/codebuild-local/Dockerfile.agent rename to tests/integration/codebuild-local/Dockerfile.agent diff --git a/test/integration/codebuild-local/codebuild_build.sh b/tests/integration/codebuild-local/codebuild_build.sh similarity index 100% rename from test/integration/codebuild-local/codebuild_build.sh rename to tests/integration/codebuild-local/codebuild_build.sh diff --git a/test/integration/codebuild-local/test_all.sh b/tests/integration/codebuild-local/test_all.sh similarity index 100% rename from test/integration/codebuild-local/test_all.sh rename to tests/integration/codebuild-local/test_all.sh diff --git a/test/integration/codebuild-local/test_one.sh b/tests/integration/codebuild-local/test_one.sh similarity index 100% rename from test/integration/codebuild-local/test_one.sh rename to tests/integration/codebuild-local/test_one.sh diff --git a/test/integration/codebuild/buildspec.os.alpine.1.yml b/tests/integration/codebuild/buildspec.os.alpine.1.yml similarity index 100% rename from test/integration/codebuild/buildspec.os.alpine.1.yml rename to tests/integration/codebuild/buildspec.os.alpine.1.yml diff --git a/test/integration/codebuild/buildspec.os.alpine.2.yml b/tests/integration/codebuild/buildspec.os.alpine.2.yml similarity index 100% rename from test/integration/codebuild/buildspec.os.alpine.2.yml rename to tests/integration/codebuild/buildspec.os.alpine.2.yml diff --git a/test/integration/codebuild/buildspec.os.alpine.3.yml b/tests/integration/codebuild/buildspec.os.alpine.3.yml similarity index 100% rename from test/integration/codebuild/buildspec.os.alpine.3.yml rename to tests/integration/codebuild/buildspec.os.alpine.3.yml diff --git a/test/integration/codebuild/buildspec.os.amazonlinux.yml b/tests/integration/codebuild/buildspec.os.amazonlinux.yml similarity index 100% rename from test/integration/codebuild/buildspec.os.amazonlinux.yml rename to tests/integration/codebuild/buildspec.os.amazonlinux.yml diff --git a/test/integration/codebuild/buildspec.os.centos.1.yml b/tests/integration/codebuild/buildspec.os.centos.1.yml similarity index 100% rename from test/integration/codebuild/buildspec.os.centos.1.yml rename to tests/integration/codebuild/buildspec.os.centos.1.yml diff --git a/test/integration/codebuild/buildspec.os.centos.2.yml b/tests/integration/codebuild/buildspec.os.centos.2.yml similarity index 100% rename from test/integration/codebuild/buildspec.os.centos.2.yml rename to tests/integration/codebuild/buildspec.os.centos.2.yml diff --git a/test/integration/codebuild/buildspec.os.debian.yml b/tests/integration/codebuild/buildspec.os.debian.yml similarity index 100% rename from test/integration/codebuild/buildspec.os.debian.yml rename to tests/integration/codebuild/buildspec.os.debian.yml diff --git a/test/integration/codebuild/buildspec.os.ubuntu.1.yml b/tests/integration/codebuild/buildspec.os.ubuntu.1.yml similarity index 100% rename from test/integration/codebuild/buildspec.os.ubuntu.1.yml rename to tests/integration/codebuild/buildspec.os.ubuntu.1.yml diff --git a/test/integration/codebuild/buildspec.os.ubuntu.2.yml b/tests/integration/codebuild/buildspec.os.ubuntu.2.yml similarity index 100% rename from test/integration/codebuild/buildspec.os.ubuntu.2.yml rename to tests/integration/codebuild/buildspec.os.ubuntu.2.yml diff --git a/test/integration/docker-compose.template.yml b/tests/integration/docker-compose.template.yml similarity index 100% rename from test/integration/docker-compose.template.yml rename to tests/integration/docker-compose.template.yml diff --git a/test/integration/docker/Dockerfile.echo.alpine b/tests/integration/docker/Dockerfile.echo.alpine similarity index 100% rename from test/integration/docker/Dockerfile.echo.alpine rename to tests/integration/docker/Dockerfile.echo.alpine diff --git a/test/integration/docker/Dockerfile.echo.amazonlinux b/tests/integration/docker/Dockerfile.echo.amazonlinux similarity index 100% rename from test/integration/docker/Dockerfile.echo.amazonlinux rename to tests/integration/docker/Dockerfile.echo.amazonlinux diff --git a/test/integration/docker/Dockerfile.echo.centos b/tests/integration/docker/Dockerfile.echo.centos similarity index 100% rename from test/integration/docker/Dockerfile.echo.centos rename to tests/integration/docker/Dockerfile.echo.centos diff --git a/test/integration/docker/Dockerfile.echo.debian b/tests/integration/docker/Dockerfile.echo.debian similarity index 100% rename from test/integration/docker/Dockerfile.echo.debian rename to tests/integration/docker/Dockerfile.echo.debian diff --git a/test/integration/docker/Dockerfile.echo.ubuntu b/tests/integration/docker/Dockerfile.echo.ubuntu similarity index 100% rename from test/integration/docker/Dockerfile.echo.ubuntu rename to tests/integration/docker/Dockerfile.echo.ubuntu diff --git a/test/integration/resources/aws-lambda-rie.tar.gz b/tests/integration/resources/aws-lambda-rie.tar.gz similarity index 100% rename from test/integration/resources/aws-lambda-rie.tar.gz rename to tests/integration/resources/aws-lambda-rie.tar.gz diff --git a/test/integration/test-handlers/echo/app.py b/tests/integration/test-handlers/echo/app.py similarity index 100% rename from test/integration/test-handlers/echo/app.py rename to tests/integration/test-handlers/echo/app.py diff --git a/test/test_bootstrap.py b/tests/test_bootstrap.py similarity index 100% rename from test/test_bootstrap.py rename to tests/test_bootstrap.py diff --git a/test/test_lambda_context.py b/tests/test_lambda_context.py similarity index 100% rename from test/test_lambda_context.py rename to tests/test_lambda_context.py diff --git a/test/test_lambda_runtime_client.py b/tests/test_lambda_runtime_client.py similarity index 100% rename from test/test_lambda_runtime_client.py rename to tests/test_lambda_runtime_client.py diff --git a/test/test_lambda_runtime_marshaller.py b/tests/test_lambda_runtime_marshaller.py similarity index 100% rename from test/test_lambda_runtime_marshaller.py rename to tests/test_lambda_runtime_marshaller.py diff --git a/test/test_main.py b/tests/test_main.py similarity index 100% rename from test/test_main.py rename to tests/test_main.py From 0d5b32ff297c9f0fa9cd99dfd1ff15565ce34ab7 Mon Sep 17 00:00:00 2001 From: David Wagner Date: Wed, 17 Feb 2021 20:14:19 +0100 Subject: [PATCH 2/2] =?UTF-8?q?Replace=20references=20to=20test=20?= =?UTF-8?q?=E2=86=92=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .dockerignore | 6 +++--- .gitignore | 2 +- Makefile | 12 ++++++------ .../integration/codebuild/buildspec.os.alpine.1.yml | 4 ++-- .../integration/codebuild/buildspec.os.alpine.2.yml | 4 ++-- .../integration/codebuild/buildspec.os.alpine.3.yml | 4 ++-- .../codebuild/buildspec.os.amazonlinux.yml | 4 ++-- .../integration/codebuild/buildspec.os.centos.1.yml | 4 ++-- .../integration/codebuild/buildspec.os.centos.2.yml | 4 ++-- tests/integration/codebuild/buildspec.os.debian.yml | 4 ++-- .../integration/codebuild/buildspec.os.ubuntu.1.yml | 4 ++-- .../integration/codebuild/buildspec.os.ubuntu.2.yml | 4 ++-- tests/integration/docker/Dockerfile.echo.alpine | 2 +- tests/integration/docker/Dockerfile.echo.amazonlinux | 2 +- tests/integration/docker/Dockerfile.echo.centos | 2 +- tests/integration/docker/Dockerfile.echo.debian | 2 +- tests/integration/docker/Dockerfile.echo.ubuntu | 2 +- 17 files changed, 33 insertions(+), 33 deletions(-) diff --git a/.dockerignore b/.dockerignore index 2975fe9..8903488 100644 --- a/.dockerignore +++ b/.dockerignore @@ -4,6 +4,6 @@ **/node_modules/ **/dist/ -test/integration/* -!test/integration/resources/ -!test/integration/test-handlers/ +tests/integration/* +!tests/integration/resources/ +!tests/integration/test-handlers/ diff --git a/.gitignore b/.gitignore index 70eea98..165e345 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ generated.docker-compose.*.yml -test/integration/resources/init +tests/integration/resources/init node_modules/ *.tsbuildinfo diff --git a/Makefile b/Makefile index 4e5c3c2..27576e8 100644 --- a/Makefile +++ b/Makefile @@ -9,19 +9,19 @@ init: .PHONY: test test: check-format - pytest --cov awslambdaric --cov-report term-missing --cov-fail-under 90 test + pytest --cov awslambdaric --cov-report term-missing --cov-fail-under 90 tests .PHONY: setup-codebuild-agent setup-codebuild-agent: - docker build -t codebuild-agent - < test/integration/codebuild-local/Dockerfile.agent + docker build -t codebuild-agent - < tests/integration/codebuild-local/Dockerfile.agent .PHONY: test-smoke test-smoke: setup-codebuild-agent - CODEBUILD_IMAGE_TAG=codebuild-agent test/integration/codebuild-local/test_one.sh test/integration/codebuild/buildspec.os.alpine.1.yml alpine 3.12 3.8 + CODEBUILD_IMAGE_TAG=codebuild-agent tests/integration/codebuild-local/test_one.sh tests/integration/codebuild/buildspec.os.alpine.1.yml alpine 3.12 3.8 .PHONY: test-integ test-integ: setup-codebuild-agent - CODEBUILD_IMAGE_TAG=codebuild-agent test/integration/codebuild-local/test_all.sh test/integration/codebuild/. + CODEBUILD_IMAGE_TAG=codebuild-agent tests/integration/codebuild-local/test_all.sh tests/integration/codebuild/. .PHONY: check-security check-security: @@ -29,11 +29,11 @@ check-security: .PHONY: format format: - black setup.py awslambdaric/ test/ + black setup.py awslambdaric/ tests/ .PHONY: check-format check-format: - black --check setup.py awslambdaric/ test/ + black --check setup.py awslambdaric/ tests/ # Command to run everytime you make changes to verify everything works .PHONY: dev diff --git a/tests/integration/codebuild/buildspec.os.alpine.1.yml b/tests/integration/codebuild/buildspec.os.alpine.1.yml index ccdc597..bea310e 100644 --- a/tests/integration/codebuild/buildspec.os.alpine.1.yml +++ b/tests/integration/codebuild/buildspec.os.alpine.1.yml @@ -27,9 +27,9 @@ phases: - echo "Extracting and including the Runtime Interface Emulator" - SCRATCH_DIR=".scratch" - mkdir "${SCRATCH_DIR}" - - tar -xvf test/integration/resources/aws-lambda-rie.tar.gz --directory "${SCRATCH_DIR}" + - tar -xvf tests/integration/resources/aws-lambda-rie.tar.gz --directory "${SCRATCH_DIR}" - > - cp "test/integration/docker/Dockerfile.echo.${OS_DISTRIBUTION}" \ + cp "tests/integration/docker/Dockerfile.echo.${OS_DISTRIBUTION}" \ "${SCRATCH_DIR}/Dockerfile.echo.${OS_DISTRIBUTION}.tmp" - > echo "RUN apk add curl" >> \ diff --git a/tests/integration/codebuild/buildspec.os.alpine.2.yml b/tests/integration/codebuild/buildspec.os.alpine.2.yml index 075d376..0222c98 100644 --- a/tests/integration/codebuild/buildspec.os.alpine.2.yml +++ b/tests/integration/codebuild/buildspec.os.alpine.2.yml @@ -29,9 +29,9 @@ phases: - echo "Extracting and including the Runtime Interface Emulator" - SCRATCH_DIR=".scratch" - mkdir "${SCRATCH_DIR}" - - tar -xvf test/integration/resources/aws-lambda-rie.tar.gz --directory "${SCRATCH_DIR}" + - tar -xvf tests/integration/resources/aws-lambda-rie.tar.gz --directory "${SCRATCH_DIR}" - > - cp "test/integration/docker/Dockerfile.echo.${OS_DISTRIBUTION}" \ + cp "tests/integration/docker/Dockerfile.echo.${OS_DISTRIBUTION}" \ "${SCRATCH_DIR}/Dockerfile.echo.${OS_DISTRIBUTION}.tmp" - > echo "RUN apk add curl" >> \ diff --git a/tests/integration/codebuild/buildspec.os.alpine.3.yml b/tests/integration/codebuild/buildspec.os.alpine.3.yml index 562c516..bcb64ce 100644 --- a/tests/integration/codebuild/buildspec.os.alpine.3.yml +++ b/tests/integration/codebuild/buildspec.os.alpine.3.yml @@ -29,9 +29,9 @@ phases: - echo "Extracting and including the Runtime Interface Emulator" - SCRATCH_DIR=".scratch" - mkdir "${SCRATCH_DIR}" - - tar -xvf test/integration/resources/aws-lambda-rie.tar.gz --directory "${SCRATCH_DIR}" + - tar -xvf tests/integration/resources/aws-lambda-rie.tar.gz --directory "${SCRATCH_DIR}" - > - cp "test/integration/docker/Dockerfile.echo.${OS_DISTRIBUTION}" \ + cp "tests/integration/docker/Dockerfile.echo.${OS_DISTRIBUTION}" \ "${SCRATCH_DIR}/Dockerfile.echo.${OS_DISTRIBUTION}.tmp" - > echo "RUN apk add curl" >> \ diff --git a/tests/integration/codebuild/buildspec.os.amazonlinux.yml b/tests/integration/codebuild/buildspec.os.amazonlinux.yml index e620970..a8e9f4c 100644 --- a/tests/integration/codebuild/buildspec.os.amazonlinux.yml +++ b/tests/integration/codebuild/buildspec.os.amazonlinux.yml @@ -30,9 +30,9 @@ phases: - echo "Extracting and including the Runtime Interface Emulator" - SCRATCH_DIR=".scratch" - mkdir "${SCRATCH_DIR}" - - tar -xvf test/integration/resources/aws-lambda-rie.tar.gz --directory "${SCRATCH_DIR}" + - tar -xvf tests/integration/resources/aws-lambda-rie.tar.gz --directory "${SCRATCH_DIR}" - > - cp "test/integration/docker/Dockerfile.echo.${OS_DISTRIBUTION}" \ + cp "tests/integration/docker/Dockerfile.echo.${OS_DISTRIBUTION}" \ "${SCRATCH_DIR}/Dockerfile.echo.${OS_DISTRIBUTION}.tmp" - > echo "COPY ${SCRATCH_DIR}/aws-lambda-rie /usr/bin/aws-lambda-rie" >> \ diff --git a/tests/integration/codebuild/buildspec.os.centos.1.yml b/tests/integration/codebuild/buildspec.os.centos.1.yml index 35a1465..48760d6 100644 --- a/tests/integration/codebuild/buildspec.os.centos.1.yml +++ b/tests/integration/codebuild/buildspec.os.centos.1.yml @@ -29,9 +29,9 @@ phases: - echo "Extracting and including the Runtime Interface Emulator" - SCRATCH_DIR=".scratch" - mkdir "${SCRATCH_DIR}" - - tar -xvf test/integration/resources/aws-lambda-rie.tar.gz --directory "${SCRATCH_DIR}" + - tar -xvf tests/integration/resources/aws-lambda-rie.tar.gz --directory "${SCRATCH_DIR}" - > - cp "test/integration/docker/Dockerfile.echo.${OS_DISTRIBUTION}" \ + cp "tests/integration/docker/Dockerfile.echo.${OS_DISTRIBUTION}" \ "${SCRATCH_DIR}/Dockerfile.echo.${OS_DISTRIBUTION}.tmp" - > echo "COPY ${SCRATCH_DIR}/aws-lambda-rie /usr/bin/aws-lambda-rie" >> \ diff --git a/tests/integration/codebuild/buildspec.os.centos.2.yml b/tests/integration/codebuild/buildspec.os.centos.2.yml index a1e247c..a09bf70 100644 --- a/tests/integration/codebuild/buildspec.os.centos.2.yml +++ b/tests/integration/codebuild/buildspec.os.centos.2.yml @@ -29,9 +29,9 @@ phases: - echo "Extracting and including the Runtime Interface Emulator" - SCRATCH_DIR=".scratch" - mkdir "${SCRATCH_DIR}" - - tar -xvf test/integration/resources/aws-lambda-rie.tar.gz --directory "${SCRATCH_DIR}" + - tar -xvf tests/integration/resources/aws-lambda-rie.tar.gz --directory "${SCRATCH_DIR}" - > - cp "test/integration/docker/Dockerfile.echo.${OS_DISTRIBUTION}" \ + cp "tests/integration/docker/Dockerfile.echo.${OS_DISTRIBUTION}" \ "${SCRATCH_DIR}/Dockerfile.echo.${OS_DISTRIBUTION}.tmp" - > echo "COPY ${SCRATCH_DIR}/aws-lambda-rie /usr/bin/aws-lambda-rie" >> \ diff --git a/tests/integration/codebuild/buildspec.os.debian.yml b/tests/integration/codebuild/buildspec.os.debian.yml index 3215a72..227e994 100644 --- a/tests/integration/codebuild/buildspec.os.debian.yml +++ b/tests/integration/codebuild/buildspec.os.debian.yml @@ -29,9 +29,9 @@ phases: - echo "Extracting and including the Runtime Interface Emulator" - SCRATCH_DIR=".scratch" - mkdir "${SCRATCH_DIR}" - - tar -xvf test/integration/resources/aws-lambda-rie.tar.gz --directory "${SCRATCH_DIR}" + - tar -xvf tests/integration/resources/aws-lambda-rie.tar.gz --directory "${SCRATCH_DIR}" - > - cp "test/integration/docker/Dockerfile.echo.${OS_DISTRIBUTION}" \ + cp "tests/integration/docker/Dockerfile.echo.${OS_DISTRIBUTION}" \ "${SCRATCH_DIR}/Dockerfile.echo.${OS_DISTRIBUTION}.tmp" - > echo "COPY ${SCRATCH_DIR}/aws-lambda-rie /usr/bin/aws-lambda-rie" >> \ diff --git a/tests/integration/codebuild/buildspec.os.ubuntu.1.yml b/tests/integration/codebuild/buildspec.os.ubuntu.1.yml index 4fa7536..655e443 100644 --- a/tests/integration/codebuild/buildspec.os.ubuntu.1.yml +++ b/tests/integration/codebuild/buildspec.os.ubuntu.1.yml @@ -28,9 +28,9 @@ phases: - echo "Extracting and including the Runtime Interface Emulator" - SCRATCH_DIR=".scratch" - mkdir "${SCRATCH_DIR}" - - tar -xvf test/integration/resources/aws-lambda-rie.tar.gz --directory "${SCRATCH_DIR}" + - tar -xvf tests/integration/resources/aws-lambda-rie.tar.gz --directory "${SCRATCH_DIR}" - > - cp "test/integration/docker/Dockerfile.echo.${OS_DISTRIBUTION}" \ + cp "tests/integration/docker/Dockerfile.echo.${OS_DISTRIBUTION}" \ "${SCRATCH_DIR}/Dockerfile.echo.${OS_DISTRIBUTION}.tmp" - > echo "COPY ${SCRATCH_DIR}/aws-lambda-rie /usr/bin/aws-lambda-rie" >> \ diff --git a/tests/integration/codebuild/buildspec.os.ubuntu.2.yml b/tests/integration/codebuild/buildspec.os.ubuntu.2.yml index 33776c0..453c4ab 100644 --- a/tests/integration/codebuild/buildspec.os.ubuntu.2.yml +++ b/tests/integration/codebuild/buildspec.os.ubuntu.2.yml @@ -27,9 +27,9 @@ phases: - echo "Extracting and including the Runtime Interface Emulator" - SCRATCH_DIR=".scratch" - mkdir "${SCRATCH_DIR}" - - tar -xvf test/integration/resources/aws-lambda-rie.tar.gz --directory "${SCRATCH_DIR}" + - tar -xvf tests/integration/resources/aws-lambda-rie.tar.gz --directory "${SCRATCH_DIR}" - > - cp "test/integration/docker/Dockerfile.echo.${OS_DISTRIBUTION}" \ + cp "tests/integration/docker/Dockerfile.echo.${OS_DISTRIBUTION}" \ "${SCRATCH_DIR}/Dockerfile.echo.${OS_DISTRIBUTION}.tmp" - > echo "COPY ${SCRATCH_DIR}/aws-lambda-rie /usr/bin/aws-lambda-rie" >> \ diff --git a/tests/integration/docker/Dockerfile.echo.alpine b/tests/integration/docker/Dockerfile.echo.alpine index a99cd1a..d4f8ae1 100644 --- a/tests/integration/docker/Dockerfile.echo.alpine +++ b/tests/integration/docker/Dockerfile.echo.alpine @@ -38,7 +38,7 @@ ARG FUNCTION_DIR="/home/app/" # Create function directory RUN mkdir -p ${FUNCTION_DIR} # Copy function code -COPY test/integration/test-handlers/echo/* ${FUNCTION_DIR} +COPY tests/integration/test-handlers/echo/* ${FUNCTION_DIR} # Copy Runtime Interface Client .tgz RUN cp ./dist/awslambdaric-test.tar.gz ${FUNCTION_DIR}/awslambdaric-test.tar.gz diff --git a/tests/integration/docker/Dockerfile.echo.amazonlinux b/tests/integration/docker/Dockerfile.echo.amazonlinux index 3f1bc41..701420a 100644 --- a/tests/integration/docker/Dockerfile.echo.amazonlinux +++ b/tests/integration/docker/Dockerfile.echo.amazonlinux @@ -86,7 +86,7 @@ ARG FUNCTION_DIR="/home/app/" # Create function directory RUN mkdir -p ${FUNCTION_DIR} # Copy function code -COPY test/integration/test-handlers/echo/* ${FUNCTION_DIR} +COPY tests/integration/test-handlers/echo/* ${FUNCTION_DIR} # Copy Runtime Interface Client .tgz RUN cp ./dist/awslambdaric-test.tar.gz ${FUNCTION_DIR}/awslambdaric-test.tar.gz diff --git a/tests/integration/docker/Dockerfile.echo.centos b/tests/integration/docker/Dockerfile.echo.centos index ef5cdd4..62bcc61 100644 --- a/tests/integration/docker/Dockerfile.echo.centos +++ b/tests/integration/docker/Dockerfile.echo.centos @@ -86,7 +86,7 @@ ARG FUNCTION_DIR="/home/app/" # Create function directory RUN mkdir -p ${FUNCTION_DIR} # Copy function code -COPY test/integration/test-handlers/echo/* ${FUNCTION_DIR} +COPY tests/integration/test-handlers/echo/* ${FUNCTION_DIR} # Copy Runtime Interface Client .tgz RUN cp ./dist/awslambdaric-test.tar.gz ${FUNCTION_DIR}/awslambdaric-test.tar.gz diff --git a/tests/integration/docker/Dockerfile.echo.debian b/tests/integration/docker/Dockerfile.echo.debian index d54eb89..8842792 100644 --- a/tests/integration/docker/Dockerfile.echo.debian +++ b/tests/integration/docker/Dockerfile.echo.debian @@ -27,7 +27,7 @@ ARG FUNCTION_DIR="/home/app/" # Create function directory RUN mkdir -p ${FUNCTION_DIR} # Copy function code -COPY test/integration/test-handlers/echo/* ${FUNCTION_DIR} +COPY tests/integration/test-handlers/echo/* ${FUNCTION_DIR} # Copy Runtime Interface Client .tgz RUN cp ./dist/awslambdaric-test.tar.gz ${FUNCTION_DIR}/awslambdaric-test.tar.gz diff --git a/tests/integration/docker/Dockerfile.echo.ubuntu b/tests/integration/docker/Dockerfile.echo.ubuntu index 6286040..83e4a6e 100644 --- a/tests/integration/docker/Dockerfile.echo.ubuntu +++ b/tests/integration/docker/Dockerfile.echo.ubuntu @@ -55,7 +55,7 @@ ARG FUNCTION_DIR="/home/app/" # Create function directory RUN mkdir -p ${FUNCTION_DIR} # Copy function code -COPY test/integration/test-handlers/echo/* ${FUNCTION_DIR} +COPY tests/integration/test-handlers/echo/* ${FUNCTION_DIR} # Copy Runtime Interface Client .tgz RUN cp ./dist/awslambdaric-test.tar.gz ${FUNCTION_DIR}/awslambdaric-test.tar.gz