-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: redesign as a JavaScript action #23
Comments
Thanks for the suggestion @EronWright , you might be right that this would be a better approach. But admittedly I'd need to wrap my head around what that would mean for all of the currently supported use-cases for the Currently the "actions" container is just a veneer on top of the We've definitely seen this as a pain point for a lot of users, and will probably redesign how we organize/distribute our build/runtime containers. e.g. So redesigning the "GitHub Actions" variant to use a better or more robust approach sounds like a good idea. It's just a matter of understanding what the end result would be. So for example, did you succeed in using GitHub Actions to update a Pulumi stack that uses Kubernetes on GKE? If so, did you "chain" multiple containers together? e.g. (execute Anyways, just trying to get a better understanding of what you you had in-mind. Since we could easily replace our entry point script with a JavaScript file, but that might not on its own be a big improvement. |
Thanks @chrsmith for considering the proposal. The short answer is that I used I did compose my job from standard steps. Here's a snippet:
|
Closed as being tracked in #40 |
I am closing this out as we have just released v2 of our Action which is based on TypeScript and addresses this issue |
The current implementation has some interoperability issues that might best be fixed by reworking the Pulumi action to be Javascript-based. The ideal would be for the action to interoperate well with:
setup-node
to configure authentication (incl. scopes, registries)setup-gcloud
to establish a service accountYes, the existing action attempts to handle some of the above with limited success. In practice, those setups are needed for other CI steps to be successful (e.g. push an image to GCR) anyway and would best be done in a standard way.
Meanwhile, a Javascript-based implementation would just work better. As an example, I struggled with connecting to Kubernetes from my Pulumi program, due to the auth-helper in kubeconfig not being in the path, following a step which ran
gcloud container clusters get-credentials
.The text was updated successfully, but these errors were encountered: