mammoth-diamond-54919
03/01/2024, 1:56 PMCDK deploy : /Users/skleber/Projects/.../src/python/.../stacks
integ-runner: /private/var/folders/0v/1sp0_9gd1hvcym9w0bq0fvlm0000gn/T/pants-sandbox-JZQdRZ/src/python/.../stacks
Therefore we encounter problems e.g. for resolving zip files in the dist directory in our project.
Commands:
CDK deploy : cdk deploy --app 'pants --no-pantsd run src/python/cdk-dev:app' --all
integ-runner: integ-runner --language python --app 'pants --no-pantsd run {filePath}:integration-test' --directory ./ --update-on-failed --profiles default
For the integ-runner we need the directory parameter to specify where to recursively look for test files and the {filePath} is injected to the pants run command to execute the integration-test goal there.
BUILD files:
1. CDK app
python_source(
name="app",
source="app.py",
run_goal_use_sandbox=False,
)
2. integration test
python_source(
name="integration-test",
source="integ_some_test.py",
run_goal_use_sandbox=False,
)