Dear pulumi people, I want to set up staging infr...
# general
p
Dear pulumi people, I want to set up staging infrastructure using pulumi with GitHub Actions. Therefore, I created an action via the yml as attached. However, I get the following error. The required environment variables are created as secrets.
Copy code
stderr: Command failed with exit code 255: pulumi preview --parallel 2147483647 --exec-agent pulumi/actions@v3 --color auto --exec-kind auto.local --event-log /tmp/automation-logs-preview-MohqPJ/eventlog.txt --stack beer/staging --non-interactive
Do you have some ideas, what could lead to the error?
could it be, that the work-dir is not the right one? I took the relative path within the repository
e
Is your "Pulumi.yaml" file in that work dir?
p
In a previous step, I install the pip dependencies from
infrastructure/requirements.txt
successfully. The
work-dir
is set to
infrastructure/prefect-worker/
e
Is there no other output from the job?
p
Here is the full output of the step in github actions
e
This looks like https://github.com/pulumi/actions/issues/778. I think that got closed but was only fixed for nodejs, not python. Can you comment on that ticket with this output, I'll get it re-opened. In the meantime you can copy the workaround from https://github.com/pulumi/actions/issues/778#issuecomment-1327006031
p
Thanks a lot for the quick support!
This helped!
Now,
pulumi preview
is successful and I get a different error, which I will post in a new thread 🙂