expose MOJO_REPO_DIR to templates
Bug #1791565 reported by
Paul Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mojo: Continuous Delivery for Juju |
Fix Released
|
Low
|
Paul Collins |
Bug Description
Currently for bundles we have to specify local charms like this:
charm: {{ build_dir }}/../charms/{{ series }}/haproxy
which is pretty clunky. If we were to expose MOJO_REPO_DIR, this could be e.g.:
charm: {{ repo_dir }}/{{ series }}/haproxy
or even, if we included the series in a new variable, something like
charm: {{ charm_dir }}/haproxy
Related branches
lp:~pjdc/mojo/repo-template-var
- Laurent Sesquès: Approve
-
Diff: 64 lines (+8/-4)4 files modifieddocs/mojo/readme.md (+3/-1)
mojo/phase.py (+2/-0)
mojo/tests/test_phase.py (+1/-1)
mojo/tests/utils.py (+2/-2)
Changed in mojo: | |
assignee: | nobody → Paul Collins (pjdc) |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in mojo: | |
status: | Triaged → In Progress |
Changed in mojo: | |
status: | In Progress → Fix Committed |
Changed in mojo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.