-
Notifications
You must be signed in to change notification settings - Fork 72
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
Add pulumi-version
option
#661
Add pulumi-version
option
#661
Conversation
Undo file change
This comment was marked as off-topic.
This comment was marked as off-topic.
Hi @lomholdt , thank you for your contribution! As I recall, we have a similar parameter in the Azure DevOps Pipeline CI integration, so adding the Pulumi version sounds like it makes sense here too. I'm seeing this branch has some conflicts. Would you be able to rebase? |
Also, it looks like there was some discussion on #661 about generating a warning if the CLI version number is incompatible with the automation API version number. |
Sure, I will fix that. Thanks 👍🏼 |
Sure, that makes sense. I will give it a shot. Thanks. Have a nice holiday 👍🏼 |
Would you also remove the |
I think this PR will also need a rebase, since the CHANGELOG was modified. |
Hey @jonas-lomholdt, just following up on this. Let me know if you need any assistance with the remaining action items. :) |
…ns into add-pinned-pulumi-version
Update base
Hey @RobbieMcKinstry, sorry I have been taking some vacation. I fixed the conflicts and need to warn if the version is less than 3. I would probably need to parse the input string somehow to get a semver representation of it that I can compare. Did you have any specific way in mind? low-fi by string splitting or pulling in a lib that does that? Thanks! |
Hi there @lomholdt I hope you had a lovely vacation! It's well-deserved, I'm sure! |
Hey @RobbieMcKinstry. I noticed there's already a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks very much for your contribution!
Awesome! Thanks 😃 No problem, and sorry for the delay. |
No need to apologize at all! I don't consider it a delay; vacations are necessary! |
Just FYI I don't plan to cut a release until the second week of August, which is when I would expect this change to ship. Not sure if anyone else has plans that supersede mine, though ;D |
No problem. When I needed this for testing prior versions I just used my local fork and changed back to this afterwards. Looking forward to the next release 🚀 |
This PR adds the
pulumi-version
option allowing pinning the CLI version that get's installed while running the action.If the
pulumi-version
option is not set it will default to^3
as this was the previously hardcoded value.