Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

Make TASS use SDK for spot fleet requests #28

Merged
merged 3 commits into from
Apr 21, 2016

Conversation

atayarani
Copy link
Contributor

@Tapjoy/eng-group-ops

Notes:

  • This is our agreed upon temporary solution to the fact that CF/TF can't report spot request IDs
  • Tested by spinning up a spot fleet and watching the target capacity getting filled.
  • Merging into Ed's earlier branch

TODO:

  • Undo this all when amazon makes their API work properly
  • Return the spot fleet id to be used by other parts of the stack

@atayarani atayarani mentioned this pull request Apr 20, 2016

# check the verison of the yaml we are reading, and do the new hotness if we are running v2 or higher
if newer_yaml_version?(config)
# Determine if we are making a cloudformation request
if config[:stack][:spot_fleet]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine for he alpha, but this will break in the event we have things that aren't spot fleets that we stand up in new world tass

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why would that be the case, if this only runs for spot fleets?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just thinking ahead under the assumption were going to want support things like asgs and launch configs outside the scope of being in a cf stack. Not something to worry about for the time being but we'll have to address it in the future.

@ehealy
Copy link
Contributor

ehealy commented Apr 21, 2016

This seems sane based on the current limitations of the Amazon api. LGTM.

@atayarani atayarani merged commit d646418 into feature/yaml_parsing_switch Apr 21, 2016
@atayarani atayarani deleted the feature/sdk_spot_fleets branch April 21, 2016 18:48
atayarani added a commit that referenced this pull request May 2, 2016
* Make TASS use SDK for spot fleet requests
* fix specs
atayarani added a commit that referenced this pull request Oct 2, 2017
* Make TASS use SDK for spot fleet requests
* fix specs
atayarani added a commit that referenced this pull request Oct 2, 2017
* Make TASS use SDK for spot fleet requests
* fix specs
atayarani added a commit that referenced this pull request Oct 2, 2017
* Make TASS use SDK for spot fleet requests
* fix specs
atayarani added a commit that referenced this pull request Oct 2, 2017
* Make TASS use SDK for spot fleet requests
* fix specs
atayarani added a commit that referenced this pull request Oct 2, 2017
* Make TASS use SDK for spot fleet requests
* fix specs
atayarani added a commit that referenced this pull request Oct 3, 2017
* Make TASS use SDK for spot fleet requests
* fix specs
atayarani added a commit that referenced this pull request Oct 3, 2017
* Make TASS use SDK for spot fleet requests
* fix specs
atayarani added a commit that referenced this pull request Oct 3, 2017
* Make TASS use SDK for spot fleet requests
* fix specs
atayarani added a commit that referenced this pull request Oct 3, 2017
* Make TASS use SDK for spot fleet requests
* fix specs
atayarani added a commit that referenced this pull request Oct 3, 2017
* Make TASS use SDK for spot fleet requests
* fix specs
atayarani added a commit that referenced this pull request Oct 3, 2017
* Make TASS use SDK for spot fleet requests
* fix specs
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants