Skip to content

Commit f92eb35

Browse files
committed
paths test
1 parent c5c12f0 commit f92eb35

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ SHELL=/usr/bin/env bash -euo pipefail
22

33
PYTHON_PROJECT_DIRS_WITH_UNIT_TESTS = ack_backend backend delta_backend filenameprocessor mesh_processor recordprocessor redis_sync lambdas/id_sync
44
PYTHON_PROJECT_DIRS = e2e e2e_batch $(PYTHON_PROJECT_DIRS_WITH_UNIT_TESTS)
5+
PYTHON_LAMBDA_DEPENDENCIES = lambdas/shared
56

67
#Installs dependencies using poetry.
78
install-python:
@@ -41,7 +42,7 @@ build-proxy:
4142
scripts/build_proxy.sh
4243

4344
#Files to loop over in release
44-
_dist_include="pytest.ini poetry.lock poetry.toml pyproject.toml Makefile build/. specification sandbox terraform scripts $(PYTHON_PROJECT_DIRS)"
45+
_dist_include="pytest.ini poetry.lock poetry.toml pyproject.toml Makefile build/. specification sandbox terraform scripts $(PYTHON_PROJECT_DIRS) $(PYTHON_LAMBDA_DEPENDENCIES)"
4546

4647

4748
#Create /dist/ sub-directory and copy files into directory

terraform/id_sync_lambda.tf

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
# Define the directory containing the Docker image and calculate its SHA-256 hash for triggering redeployments
22
locals {
3-
lambdas_dir = abspath("${path.root}/../lambdas")
4-
shared_dir = "${local.lambdas_dir}/shared"
5-
id_sync_lambda_dir = abspath("${path.root}/../lambdas/id_sync")
6-
id_sync_dockerfile = "${local.lambdas_dir}/id_sync.Dockerfile"
3+
shared_dir = abspath("${path.root}/../shared")
4+
id_sync_lambda_dir = abspath("${path.root}/../id_sync")
75

86
# Get files from both directories
97
shared_files = fileset(local.shared_dir, "**")

0 commit comments

Comments
 (0)