Unitech / Unitech/pm2

[QUESTION/FEATURE REQUEST] Deploy built artifacts from a CI pipeline

Open
#5,127 1 comment 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
43.3k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

What's going wrong?

pm2 has this option of deploying directly from a GIT repository via pm2 deploy. Although this may be good enough for simple projects, more sophisticated project always include some sort of CI pipeline which builds and stores some artifacts (e.g. transpiling the server code from TS to JS, bundling the dependencies, etc). Is there any way to configure pm2 deploy to download the artifacts built in a given CI pipeline, e.g. from some registry or artifactory?

If not, is this something on the roadmap of pm2? Or should I forget about this possibility for the near future? Thanks for the help!

How could we reproduce this issue?

This is a question or feature request, not an issue

Supporting information

This is a question or feature request, not an issue

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start at the pm2 deploy entry point and trace how deployment sources are selected; define how artifacts from a CI pipeline, registry, or artifactory would be identified and retrieved. Done requires an agreed configuration and deployment flow, along with tests for the supported artifact source.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs, typescript
Domain
cli, devops, release
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.