gorgeous-agency-83443
07/14/2025, 11:59 AMelegant-florist-94385
07/14/2025, 2:14 PMdocker_image target with a dependencies field selecting the target that creates the file and it should get materialized into the sandbox used for the docker build.
One thing I have also done in the past is to just use the .pants.bootstrap file to run whatever (bash) commands I need to get the file into my repo, and then the docker_image target can depend on it directly like a regular file. (This has the downside of leaving the file on your system, so you should probably make sure to .gitignore it)curved-manchester-66006
07/14/2025, 3:08 PMconftest.py files to do things like:
@pytest.fixture(scope="session")
def aws_credentials():
with assume_role("arn:aws:iam::123:role/some-test-role-role"):
yieldgorgeous-agency-83443
07/14/2025, 3:41 PM