Skip to content
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

Should use portDefinitions instead of servicePorts #245

Open
turb opened this issue May 22, 2018 · 0 comments
Open

Should use portDefinitions instead of servicePorts #245

turb opened this issue May 22, 2018 · 0 comments

Comments

@turb
Copy link
Contributor

turb commented May 22, 2018

Bamboo exposes to templates $apps.ServicePorts, taken from Marathon API.

The thing is, /v2/apps?embed=apps.tasks does not have (anymore?) a servicePorts field, but a portDefinitions field.

I think Bamboo should expose this one.

Workaround: add a BAMBOO_SERVICE_PORT env var to Marathon and use $app.Env.BAMBOO_SERVICE_PORT in the template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant