Stop accepted GNOME VM before deleting its worker artifacts
This commit is contained in:
parent
e9b93e608b
commit
6ed2097289
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ python3 {remote_root}/probes/core_iso_acceptance.py --iso {shlex.quote(builds['c
|
|||
if response.read().decode().split()[0] != item['sha256']:
|
||||
raise ValueError('Public checksum mismatch')
|
||||
phase('cleaning-worker', releases=current)
|
||||
remote('rm -rf ' + shlex.quote(remote_root))
|
||||
remote('systemctl stop ' + shlex.quote(vm_unit) + '; rm -rf ' + shlex.quote(remote_root))
|
||||
phase('complete', finished=datetime.now(timezone.utc).isoformat())
|
||||
completed = sorted(p for p in parent.iterdir() if p.is_dir() and (p / 'state.json').exists()
|
||||
and json.loads((p / 'state.json').read_text()).get('state') == 'complete')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue