Skip to content

Should use portDefinitions instead of servicePorts #245

@turb

Description

@turb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions