Skip to content

support for multiple processes #1365

@adamko147

Description

@adamko147

Dear team,

is there a plan that MTA supports processes for CF apps, as it supported by CF manifests see https://docs.cloudfoundry.org/devguide/multiple-processes.html#manifest ?

I couldn't identify where is the issue.

I have a manifest.yaml

---
applications:
- name: app
  path: .
  buildpacks:
  - nodejs_buildpack
  processes:
  - type: web
    command: node server.js
  - type: worker
    command: node worker.js
    health-check-type: process
    instances: 1

and cf push works as expected.

With following mta.yaml

_schema-version: 3.3.0
ID: app
version: 1.0.0

modules:
  - name: app
    type: nodejs
    path: .
    build-parameters:
      ignore:
      - mta_archives/
    parameters:
      processes:
        - type: web
          command: node server.js
        - type: worker
          command: node worker.js
          health-check-type: process
          instances: 1

and deploying using

mbt build 
cf deploy mta_archives/app_1.0.0.mtar

The application has only web process (no worker).

Thanks,
Adam

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions