-
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
feat: Perform EC2 deployments via CloudFormation #948
Conversation
9637877
to
65345f3
Compare
fb77730
to
57d9b8c
Compare
f8c5e58
to
74be032
Compare
51d3a6d
to
a2ef5ec
Compare
This is a requirement for using `GuEc2AppExperimental`.
a2ef5ec
to
69e6f18
Compare
const pattern = new GuPlayApp(this, { | ||
const { buildIdentifier } = props; | ||
|
||
const filename = `${app}-${buildIdentifier}.deb`; |
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.
The most minor thing in the world, but I get a niggle that we could use a different separator character here? Hyphens are commonly to separate words in the artefact name, making the version pop out will help at a glance, and if someone wants to parse it out for any reason later. It looks like sbt-native-packager is using _
as the version delimiter, could we do the same?
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.
Can do. Will raise a follow-up PR. Would you think we can formalise the use of _
? I've been struggling to think how we'd address this TODO - https://github.com/guardian/cdk/blob/890c89e07d6715277ef9db4f01baeafddc7696e8/src/experimental/patterns/ec2-app.ts#L265.
What does this change?
Uses the new
GuEc2AppExperimental
available in GuCDK v59.5.0 to deploy changes to the autoscaling group entirely via a CloudFormation update.How to test
Deploy the branch?! It should succeed. This has been done on CODE.
How can we measure success?
More data points to evaluate the effectiveness of
GuEc2AppExperimental
.