[VAL-95] blucon.sh script assumes that it is run in validation git Created: 31/Dec/19 Updated: 22/Apr/20 Resolved: 22/Apr/20 |
|
| Status: | Done |
| Project: | Validation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Medium |
| Reporter: | Valentin Radulescu | Assignee: | Alexandru Avadanii |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
image_tag=$( (git branch || echo "* local") | grep "^*" | awk ' {print $2}') The blucon.sh script should also be called from ci-management git in ci. |
| Comments |
| Comment by Alexandru Avadanii [ 21/Apr/20 ] |
|
The bug description is not very clear, hence the confusion. The problem is not that blucon.sh runs in the context of a git repository, but that it makes 2 assumptions which are not true in the context of the CI runs:
The pathches I proposed maintain the current behavior by default, but also allow customizing the 2 paths (for "validation" and "results" directories) via env vars that we will set for the CI runs. |
| Comment by Naga Sugguna [ 02/Jan/20 ] |
|
in your case it will create a images "akraino/validation:blucon-local" and that should work without any issues. I can do a fix if you still need an enhancement. |