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

support for multiple processes #1076

Open
adamko147 opened this issue Sep 20, 2023 · 0 comments
Open

support for multiple processes #1076

adamko147 opened this issue Sep 20, 2023 · 0 comments

Comments

@adamko147
Copy link

adamko147 commented Sep 20, 2023

Dear MTA 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"
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

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