bamboo icon indicating copy to clipboard operation
bamboo copied to clipboard

Should use portDefinitions instead of servicePorts

Open turb opened this issue 6 years ago • 0 comments

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.

turb avatar May 22 '18 13:05 turb