[FOLIO-3009] Rancher build fails on mod-source-record-storage Created: 10/Feb/21  Updated: 18/Feb/21  Resolved: 18/Feb/21

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

Type: Bug Priority: P2
Reporter: Igor Gorchakov Assignee: Stanislav Miroshnichenko
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Blocks
blocks MODSOURCE-221 Implement database changes for MARC s... Closed
Sprint:

 Description   

Overview:
The mod-source-record-storage doesn't get build on rancher env (master branch).
The changes are about using a docker container for embedded postgres. This happened after these changes had merged.



 Comments   
Comment by Stanislav Miroshnichenko [ 15/Feb/21 ]

Rancher runs unprivileged containers and limits docker-in-docker usage.

Investigating possible solutions:

  1. Use 'PostgreSql' container as build step (pom.xml need to be changed)
  2. Use main Jenkins pipeline
Comment by Ann-Marie Breaux (Inactive) [ 16/Feb/21 ]

Hi John Malconian: Mark Veksler suggested that I reach out to you. This issue with SRS on the Rancher envs led to Folijet breaking the hosted ref envs today because we couldn't test SRS on the Rancher env first. If there's a way to sort this out, that would be really helpful. This ticket is coming from Concorde, who is having similar issues with SRS and their Rancher env. Thank you!

cc: Oleksii Kuzminov Kateryna Senchenko

Comment by Stanislav Miroshnichenko [ 17/Feb/21 ]

Ann-Marie Breaux, I'm working on this issue. I wonder, do you really want to build custom docker image? You can use images from DockerHub: https://hub.docker.com/r/folioci/mod-source-record-storage/tags?page=1&ordering=last_updated

Comment by Stanislav Miroshnichenko [ 17/Feb/21 ]

Created PR https://github.com/folio-org/mod-source-record-storage/pull/299

Comment by Ann-Marie Breaux (Inactive) [ 17/Feb/21 ]

Hi Stanislav Miroshnichenko I'm not a developer, so I don't know how to answer your question about custom docker image. Oleksii Kuzminov or Kateryna Senchenko can help with that. What I know is that Folijet had to merge some urgent code that was not tested in the Rancher env because Rancher was not able to build with SRS. When that code was merged to master, it broke some environments that are shared by the entire FOLIO development community. I wanted to raise the urgency of this issue so that (hopefully) we do not cause the same problems and inconvenience to other development teams like happened yesterday.

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