"Func-TestPR" commit message header does not work for layered/reactive charms
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-openstack-ci |
New
|
Undecided
|
Unassigned |
Bug Description
The zaza-integration code inspects git commit messages to trigger switch of branch for zaza.
To do this it uses git -C <path to checked out assets>.
However, neither CO_DIR nor BUILT_ASSET_DIR appears to be available in the context that code is executed any more.
Log excerpt:
15:41:25 ====> Checking asset type of /var/lib/
15:41:25 charm (built)
15:41:25 ====> f_openstack_
15:41:25 ====> f_openstack_
15:41:25 fatal: Cannot change to 'show': No such file or directory
15:41:25 No GitHub Func-Test-PR found...
Note that this also failed before r414 and r415, but it did work at the time of the initial commit in r406.
OTOH, reviewing how the f_layerci and built asset stuff works I am not sure how this ever worked as by the time we get to the smoke / full test run there is no git repository checked out.
Got to find a better way to approach this.