This message was deleted.
# general
s
This message was deleted.
b
the action automatically installs your python dependencies, but you must have a venv set in your stack config, which it doesn't look like you do: https://github.com/pulumi/pulumi/blob/master/docker/actions/entrypoint.sh#L126-L128 Currently you're running your pip install outside the container, so it's using the automatic pip install inside the action I also don't see a requirements.txt in your project folder? https://github.com/CouncilDataProject/cdp-backend/tree/feature/infrastructure-module/example-infrastructure
your set your
PULUMI_ROOT
here: https://github.com/CouncilDataProject/cdp-backend/blob/feature/infrastructure-module/.github/workflows/check-pr.yml#L105 So it has no knowledge of your dependencies, unfortunately
e
Hmmm yea. This is an extension of my earlier conversation https://pulumi-community.slack.com/archives/C84L4E3N1/p1604022905314700
I am trying to preview the custom resource so the project is getting pip installed with that custom resource
the
example-infrastructure
dir is just that, the example of that custom resource being used
Maybe I just dump the project requires into a requirements.txt in that dir prior to running the step
🤔
I decided to try using a venv for project testing and I feel like I have tried a lot of variations on venv + pulumi. I really can't tell what I am doing wrong at this point: https://github.com/CouncilDataProject/cdp-backend/pull/11/checks?check_run_id=1366790224 Current workflow file: https://github.com/CouncilDataProject/cdp-backend/blob/feature/infrastructure-module/.github/workflows/check-pr.yml#L82
I updated the
Pulumi.yaml
file to specify a venv, I updated the call in the workflow file to specify a
PULUMI_VENV
env variable. I am honestly not sure which one of those worked but one of them did, but pulumi isn't finding the env
Got it figured out. I made a requirements file consisting of:
Copy code
..
To just inform pip to install the parent dir. So 🤷 works for me