-
Notifications
You must be signed in to change notification settings - Fork 42
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
feat(deadline): versionquery construct #175
Conversation
e3ab9fa
to
fad2e80
Compare
examples/deadline/All-In-AWS-Infrastructure-Basic/python/package/lib/service_tier.py
Outdated
Show resolved
Hide resolved
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.
In hindsight, we should have coordinated how this was being implemented better before it got this far. A breaking change is not required to get this to work.
fad2e80
to
47489d3
Compare
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.
Thanks for the changes, David. This is looking much better.
packages/aws-rfdk/lib/core/lambdas/nodejs/version-provider/handler.ts
Outdated
Show resolved
Hide resolved
packages/aws-rfdk/lib/core/lambdas/nodejs/lib/version-provider/index.ts
Outdated
Show resolved
Hide resolved
examples/deadline/All-In-AWS-Infrastructure-Basic/python/package/lib/service_tier.py
Outdated
Show resolved
Hide resolved
integ/components/deadline/deadline_01_repository/bin/deadline_01_repository.ts
Outdated
Show resolved
Hide resolved
47489d3
to
ed9afc9
Compare
examples/deadline/All-In-AWS-Infrastructure-Basic/python/README.md
Outdated
Show resolved
Hide resolved
examples/deadline/All-In-AWS-Infrastructure-Basic/python/README.md
Outdated
Show resolved
Hide resolved
integ/components/deadline/deadline_01_repository/bin/deadline_01_repository.ts
Outdated
Show resolved
Hide resolved
versionString: props?.version, | ||
// If we don't have a full static version string, create a random string that will force the Lambda to always | ||
// run on redeploys, effectively checking for version updates. | ||
forceRun: this.forceRun(props?.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 like the way you did 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.
Looks good, approving! Thanks David!
Fixes #176
This was tested by successfully deploying the TypeScript and Python example apps, and running the integration tests.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license