-
Notifications
You must be signed in to change notification settings - Fork 7
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
Embed sdk version #67
Conversation
- Update schema to add respectSchemaVersion. - Use `pulumi package gen-sdk` so we can set the version (install pulumi CLI in local folder). - Update python build to match other providers.
Does the PR have any schema changes?Looking good! No breaking changes found. |
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
|
||
# Pulumi for codegen | ||
|
||
.pulumi/bin/pulumi: PULUMI_VERSION := $(shell cat .pulumi.version) |
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.
I'm always scared that this will never get bumped, but its no worse then we have in other places.
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.
Yup, I think we just need this as part of the scheduled upgrade job. Have added an issue to track this: pulumi/ci-mgmt#940
Me and @blampe have been debating this area also in pulumi/pulumi-docker-build#68 and my efforts so far have been to standardise on this very simple style of installing an isolated copy of pulumi, and I hope we can also move all bridged providers to this too once the docs issues are resolved and we no longer have to modify the schema for each language.
Enable respectSchemaVersion:
pulumi package gen-sdk
so we can set the version (install pulumi CLI in local folder).Tidy old generation code: