Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Add Marathon on Marathon support #227

Merged
merged 3 commits into from
May 4, 2018
Merged

Add Marathon on Marathon support #227

merged 3 commits into from
May 4, 2018

Conversation

colin-msphere
Copy link
Contributor

@colin-msphere colin-msphere commented May 4, 2018

Add MoM support to scale tool.

This installs Jenkins instances to a single, defined (--mom) marathon on marathon instance. This does not support installing MoM instances themselves.

Cleanup also takes a MoM name and will clean the Marathon instance of Jenkins masters.

Add config for Marathon on Marathon.
sdk_install:
- Get a Marathon app definition from a given set of install options

sdk_marathon:
- Support MoM in config lookup and app filtering
Add MoM support to install and uninstall for Jenkins scale
tool.
@colin-msphere colin-msphere requested review from gabrielhartmann, takirala and benclarkwood and removed request for benclarkwood May 4, 2018 21:32
Copy link
Contributor

@benclarkwood benclarkwood left a comment

Choose a reason for hiding this comment

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

Thanks, @colin-msphere!

@@ -32,6 +32,24 @@
_installed_service_names = set([])


def get_package_json(package, version=None, options=None):
Copy link
Contributor

Choose a reason for hiding this comment

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

Note: When this merges please upstream this to dcos-commons

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this the correct module to put it in?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think it makes sense.

You're basically just getting the rendered marathon app to do a "manual" install

@benclarkwood benclarkwood merged commit be93e80 into master May 4, 2018
@benclarkwood benclarkwood deleted the use-mom branch May 4, 2018 22:14
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