Franziska Kunsmann
59fd245a3f
so we can check if something has changed in the repo since the last apply
5 lines
215 B
Python
5 lines
215 B
Python
def node_apply_end(repo, node, duration, interactive, result, **kwargs):
|
|
if not node.os in node.OS_FAMILY_UNIX:
|
|
return
|
|
|
|
node.run(f'echo "{repo.revision}" > /var/lib/bundlewrap/last_apply_commit_id')
|