[FOLIO-1168] "Rebuild stripes" handler triggers multiple times in folio-snapshot build Created: 28/Mar/18  Updated: 12/Nov/18  Resolved: 29/Mar/18

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Bug Priority: P3
Reporter: Wayne Schneider Assignee: Wayne Schneider
Resolution: Done Votes: 0
Labels: ci, sprint35
Remaining Estimate: Not Specified
Time Spent: 4 hours
Original estimate: Not Specified

Sprint:

 Description   

It's super annoying and time-consuming.



 Comments   
Comment by Wayne Schneider [ 28/Mar/18 ]

The issue seems to be that okapi-deploy-config and stripes-docker both depend on stripes-build (with potentially different parameters). This appears to set up multiple copies of the handlers defined in the stripes-build role; when flush_handlers is called at the end of stripes-build, both copies of the handlers run in sequence. If I remove the stripes-build dependency from stripes-docker, the handlers run only once, as expected.

Comment by Wayne Schneider [ 29/Mar/18 ]

Committed changes to folio-ansible and folio-infrastructure that should solve this.

Generated at Thu Feb 08 23:11:20 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.