Deprecate Procfile
Overview
With the successful move to runit
in the GDK, there should be no need anymore to maintain a project-specific Procfile
for development purposes only. According to the contents of this file:
# For DEVELOPMENT only. Production uses Runit in
# https://gitlab.com/gitlab-org/omnibus-gitlab or the init scripts in
# lib/support/init.d, which call scripts in bin/ .
#
web: RAILS_ENV=development bin/web start_foreground
worker: RAILS_ENV=development bin/background_jobs start_foreground
Instead of flat out removing it, it was suggested to retain it but print out a teaser for adopting the GDK:
gdk: echo "NOTE: The GDK is the preferred way to run GitLab locally - https://gitlab.com/gitlab-org/gitlab-development-kit#getting-started"
This would be another step towards tightening the way GitLab is run locally and reduce maintenance burden.
Proposal
-
WIP: Convert Procfile over to Ruby Services -
Provide a way to view the services and their commands that will be executed when gdk start
is called. Perhaps a subcommand calledgdk show-service-config
or such.
Edited by Ash McKenzie