-
Notifications
You must be signed in to change notification settings - Fork 166
Example Production Empire Stacks #43
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
Conversation
This most definitely isn't perfect, but it fits with the way that we (Remind) have been doing Empire production stacks, and I think it's a good example for everyone else to start playing with. Making this Release 0.4.1
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.
Super minor, but this formatting is a little hard to read. Is there some pep recommended format? I think it would be easier to read as (NL after key):
"MaxHosts": {
"type": "Number",
"description": "",
}Also, mixed double and single quotes.
|
What do you think about having some kind of approvals based test suite? Basically, just generate the CF JSON for the stacks and compare them. If anything, it would be nice as a sanity check when you make a change that includes python logic. |
|
Cool! This looks really nice to me. It'll be nice if we can rebase our private stack on the open source. |
|
re: Dumping json & comparing: Yeah, that might be hard in this version - that said there's a pull request in process by @mhahn which will make writing tests like that a lot easier. Mostly it'd just catch the 'oh, we thought we made a non-changing change but were wrong' stuff. It's hard to test this since it's so heavily tied into third party stuff. Re: basing our internal stacks off of this - our stacks are sort of based off this (though it's the other way around) and we let ansible do more of the work, with less variables being managed in cloudformation, which is kind of nice. @bmarini was talking about that too - I'll see if there's a nice middle ground we can reach. |
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.
no longer used
|
I just tried bringing this up from scratch and am running into the following issues after everything builds successfully: on both minions (i only brought up 2 instead of 3): If I remove the the on the controllers i get this: the only variables i didn't populate within but i don't think those would be causing these issues. |
|
I think the new AMI should fix the issues that @mhahn had. |
|
Ok - verified that the new AMI fixed things. @mhahn was able to get an environment up and running, and it sounds like it went smoothly once he tried the new AMI. I'm going to go ahead and merge this. |
Example Production Empire Stacks
This most definitely isn't perfect, but it fits with the way that we
(Remind) have been doing Empire production stacks, and I think it's a
good example for everyone else to start playing with.
Making this Release 0.4.1