[MODGQL-121] mod-graphql builds fail due to problem with Docker build Created: 21/Feb/19 Updated: 25/Feb/19 Resolved: 25/Feb/19 |
|
| Status: | Closed |
| Project: | mod-graphql |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Bug | Priority: | P3 |
| Reporter: | Wayne Schneider | Assignee: | John Malconian |
| Resolution: | Done | Votes: | 0 |
| Labels: | ci, platform-backlog, sprint57 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Sprint: | |
| Development Team: | Core: Platform |
| Description |
|
The master branch of mod-graphql fails to build due to this error in creating the Docker image: + docker build --no-cache=true --pull=true -t mod-graphql:1.1.1000201 . unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/jenkins/workspace/folio-org_mod-graphql_master/Dockerfile: no such file or directory (see https://jenkins-aws.indexdata.com/job/folio-org/job/mod-graphql/job/master/201/ for the full log) Because the job fails after publishing the module descriptor, but is unable to publish the Docker image, it causes a cascade of failure in other environment builds that include mod-graphql (because the latest image isn't available). |
| Comments |
| Comment by John Malconian [ 25/Feb/19 ] |
|
The issue was related to a path problem in the pipeline. Adding the proper path to the Docker build context in the project's Jenkinsfile resolves the issue. |