Page MenuHomePhabricator

Allow Toolforge's service.template to be in webservice code directories
Closed, ResolvedPublic


Currently the webservice service.template config file must be at ~/service.template. It would be advantageous to allow this to be in the various webservice code directories like ~/www/python/src because people could just drop them into their Git repositories instead of needing to symlink them.

Putting them in the git repository will also help people migrate toward buildpacks (T194332), which will also use service.template but needs it to be in the Git repository.

Since we could have multiple locations now, I would suggest that webservice error out if it finds multiple templates, and maybe also print which template it's using.

Event Timeline

Change 636993 had a related patch set uploaded (by Legoktm; owner: Legoktm):
[operations/software/tools-webservice@master] Look for service.template in various code directories

aborrero moved this task from Doing to Inbox on the cloud-services-team (Kanban) board.

Change 636993 merged by jenkins-bot:

[operations/software/tools-webservice@master] Look for service.template in various code directories