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

Skip process registration with Procfile #185

Merged
merged 17 commits into from
Jan 25, 2025

Conversation

runesoerensen
Copy link
Contributor

@runesoerensen runesoerensen commented Jan 23, 2025

This PR changes the automatic launch process registration logic, so detected process types are only added to the launch table when no Procfile is found.

The buildpack still prints detected process type names and commands for guidance (e.g. to allow users to easily copy commands to their own Procfile).

This also provides a mechanism for users to opt out of the launch process registration logic (as mentioned in #49).

Also see this related PR: heroku/buildpacks-go#319

@runesoerensen runesoerensen marked this pull request as ready for review January 23, 2025 21:03
@runesoerensen runesoerensen requested a review from a team as a code owner January 23, 2025 21:03
@runesoerensen runesoerensen force-pushed the skip-process-registration-with-procfile branch from 1ecd3f7 to f1e53f0 Compare January 24, 2025 00:32
@runesoerensen runesoerensen merged commit 43dfb7f into main Jan 25, 2025
5 checks passed
@runesoerensen runesoerensen deleted the skip-process-registration-with-procfile branch January 25, 2025 09:50
heroku-linguist bot added a commit that referenced this pull request Feb 10, 2025
## heroku/dotnet

### Changed

- Detected process types are now only registered as launch processes when no Procfile is present. [#185](#185)

### Added

- Enabled `libcnb`'s `trace` feature. [#184](#184)

### Changed

- The .NET SDK inventory was updated with new download URLs for version 9.0 release artifacts. [#193](#193)
@heroku-linguist heroku-linguist bot mentioned this pull request Feb 10, 2025
heroku-linguist bot added a commit that referenced this pull request Feb 10, 2025
## heroku/dotnet

### Changed

- Detected process types are now only registered as launch processes when no Procfile is present. [#185](#185)

### Added

- Enabled `libcnb`'s `trace` feature. [#184](#184)

### Changed

- The .NET SDK inventory was updated with new download URLs for version 9.0 release artifacts. [#193](#193)

Co-authored-by: heroku-linguist[bot] <136119646+heroku-linguist[bot]@users.noreply.github.com>
heroku-linguist bot added a commit to heroku/cnb-builder-images that referenced this pull request Feb 10, 2025
## heroku/dotnet

### Changed

- Detected process types are now only registered as launch processes when no Procfile is present. [#185](heroku/buildpacks-dotnet#185)

### Added

- Enabled `libcnb`'s `trace` feature. [#184](heroku/buildpacks-dotnet#184)

### Changed

- The .NET SDK inventory was updated with new download URLs for version 9.0 release artifacts. [#193](heroku/buildpacks-dotnet#193)
runesoerensen added a commit to heroku/heroku-buildpack-dotnet that referenced this pull request Feb 10, 2025
heroku-linguist bot added a commit to heroku/heroku-buildpack-dotnet that referenced this pull request Feb 10, 2025
* Update DOTNET_CNB_VERSION version to 0.2.0

* Update test to reflect new CNB output

Related PR: heroku/buildpacks-dotnet#185

* Update changelog entries

* Remove whitespace

---------

Co-authored-by: heroku-linguist[bot] <136119646+heroku-linguist[bot]@users.noreply.github.com>
Co-authored-by: Rune Soerensen <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants