Y25-074 - Use only the label print templates in the Deployment project for Limber #2198
Labels
Barcode Label Printing
Enhancement
New feature or request
Size: S
Small - low effort & risk
Value: 3
Value to the insitute is average
User story
As a PSD developer, AY, I would like Limber to use only the label print templates from the Deployment project to avoid inconsistency and unexpected results in label templates. Remove the label template files (*.yml) from Limber config/sprint/label_templates directory in Limber project or find an alternative.
Limber looks for label templates in the Limber project folder in
config/sprint/label_templates
if it needs to print using Sprint.Deployment contains label templates in
roles/sprint/files
in the Deployment project folder.Limber deployment includes the sprint role. When Limber is deployed, both the limber project directory and the templates from the sprint role are copied to the target host.
Who are the primary contacts for this story
Abdullah
Who is the nominated tester for UAT
TBD
e.g. John S (don't include surnames in public repos)
Acceptance criteria
Consider if these features can be featured flagged to decouple testing and deployment.
To be considered successful the solution must allow:
Dependencies
This story is blocked by the following dependencies:
N/A
References
This story has a non-blocking relationship with:
#2190
Additional context
This story aims to have a single source of truth for limber label templates for Sprint because it loads them from local directory to print directly to the Sprint service.
There are two source folders for the label templates for Limber at the moment:
When Limber is deployed using deploy_limber.yml, which includes the sprint role, both set of label templates are copied to the destination folder on the Limber host. This causes inconsistency in the label templates if they are not in sync. because the label templates in the sprint role are copied later and overwrites the Limber copies, and the extra files in Limber project are also kept. Ideally there should be only one source of label templates, i.e. from the sprint role, and ultimately Limber should send the print jobs over PMB and not store any label templates.
Until moving Limber Sprint printing to PMB, there is also a separate playbook to deploy the label templates from the deployment project without having to deploy the whole app. This playbook is a temporary workaround; it will be removed when all printing from Limber is moved to PMB because there will be no need to copy templates to the Limber host.
The text was updated successfully, but these errors were encountered: