[FOLIO-798] Parameterize npm repo for ui-testing Docker build Created: 23/Aug/17 Updated: 12/Nov/18 Resolved: 23/Aug/17 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | Continuous Integration |
| Affects versions: | None |
| Fix versions: | None |
| Type: | New Feature | Priority: | P3 |
| Reporter: | Wayne Schneider | Assignee: | Wayne Schneider |
| Resolution: | Done | Votes: | 0 |
| Labels: | ci, sprint21 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 1 hour, 15 minutes | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||
| Sprint: | |||||||||
| Comments |
| Comment by Wayne Schneider [ 23/Aug/17 ] |
|
Set the default in the Dockerfile to https://repository.folio.org/repository/npm-folioci/. The ui-testing job will use the default. Added a parameter to the ui-testing-release job to allow the image to use a different registry (default to npm-folio). |
| Comment by John Malconian [ 23/Aug/17 ] |
|
One way to do this is to use a variable in Dockerfile and then define the variable as a 'docker build' arg in the Docker Build and Publish step (under Advanced). |
| Comment by Wayne Schneider [ 23/Aug/17 ] |
|
|
| Comment by Niels Erik Nielsen [ 24/Aug/17 ] |
|
Thank you, Wayne Schneider, John Malconian |