We recently ran into an issue with Pulumi's GitHub action output being too long.
Our GitHub workflows need to conditionally perform certain jobs based on which resources were updated.
At the moment we're:
• Saving the entire output log into an env variable (which seems really bad)
• Writing this env variable into a file
• Using this file as input for a bash command that determines whether to run a particular job or not.
The most recent runs have been causing the GitHub actions to fail because the "argument list is too long".
I'm assuming that this is caused by the output being too long (docker build log)
mysterious-apartment-62241
11/28/2022, 8:47 AM
Any help is really appreciated!
m
many-telephone-49025
11/28/2022, 12:40 PM
That is a very good question and interesting use case. Maybe @limited-rainbow-51650 has some input/idea
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.