Publish daily candidates to stable under D-087 authorization

This commit is contained in:
Pavel Isaev 2026-11-06 18:04:34 +03:00
parent 5ea1e57f0b
commit 92b0b5f293
2 changed files with 26 additions and 5 deletions

View file

@ -1,5 +1,18 @@
# Daily release cycle
## Current channel: stable (D-087, 2026-11-06)
The latest explicit user instruction changes the daily publication destination to
`stable/core` and `stable/gnome`, matching the update profiles already shipped in
installed ISOs. The coordinator records D-087 authorization with exact candidate
identities for each publication using the publisher's existing exception interface.
Signing, VM checks and publication integrity checks remain mandatory. Outstanding
admission evidence remains recorded. D-079 is not reused. Historical hardware-test
statements and the mismatch analysis below describe the preceding configuration.
The change takes effect on the next successful publication; it does not republish
the existing release or execute a build/update test. User-managed `/etc` overrides
continue to take precedence over the vendor update profile.
## Cleanup and update-continuity review (2026-11-06)
Private artifact retention now runs under the cycle lock before work and after

View file

@ -1,8 +1,8 @@
#!/usr/bin/env python3
"""Bounded daily Core -> GNOME -> installed-VM checks -> signed publication.
This driver publishes the hardware-test channel. Stable/testing admission is a
separate contract; the one-build D-079 exception must never be reused here.
This driver publishes stable under the explicit daily authorization D-087.
Outstanding admission evidence remains recorded; D-079 is not reused.
"""
import argparse
from datetime import datetime, timezone
@ -65,7 +65,7 @@ def main():
worker = config['worker']
remote_root = config['worker_root'] + '/build/release-cycle/' + stamp
state = dict(version=1, run=stamp, started=datetime.now(timezone.utc).isoformat(),
state='starting', published=False, channel='hardware-test',
state='starting', published=False, channel='stable',
invocation_id=os.environ.get('INVOCATION_ID'), worker=worker,
reason=os.environ.get('ARCHIPELAGO_RELEASE_REASON', 'Daily release cycle'))
step = 0
@ -260,14 +260,22 @@ rm -rf {builds['core']}/iso-work {builds['core']}/profile {builds['core']}/extra
checks=[{'path': str(run / 'gnome/acceptance/native-acceptance.json')},
{'path': str(run / 'gnome/acceptance/guest.log')}]) ]}
for item in review['candidates']:
item['limitations'] = ['Experimental daily channel; not stable/testing admission',
item['limitations'] = ['Daily stable publication authorized by D-087; outstanding admission evidence remains open',
'General Managed Overlay release gate, full reproducibility and GUI OS-update acceptance remain open']
atomic(run / 'review.json', review)
call(tools(['python3', '/pipeline/prepare-hardware-pair.py', run / 'review.json']))
records = json.loads((run / 'candidates.json').read_text())
atomic(run / 'release-authorization.json', {
'channel': 'stable', 'decision': 'D-087',
'reason': 'Explicit user authorization for daily stable publication and installed-ISO update continuity',
'limitations': review['candidates'][0]['limitations'],
'candidates': [{k: r[k] for k in ('variant', 'version', 'sha256', 'image_commit', 'layer_commit')}
for r in records]})
phase('signing-and-publishing')
call(tools(['python3', '/pipeline/publish-hardware.py', base / 'data/public', run / 'candidates.json',
'--gpg-home', '/signing', '--gpg-key', config['signing_key'], '--url-prefix', '/archipelago',
'--channel', 'hardware-test', '--core-ref', 'hardware-test/core', '--gnome-ref', 'hardware-test/gnome'], True))
'--channel', 'stable', '--core-ref', 'stable/core', '--gnome-ref', 'stable/gnome',
'--release-exception', run / 'release-authorization.json'], True))
phase('verifying-public-endpoints', published=True)
url = config['public_url'].rstrip('/')
with urllib.request.urlopen(url + '/v1/releases.json', timeout=60) as response: