Move the release scripts out of mozharness into mozrelease
Categories
(Release Engineering :: Applications: MozharnessCore, task, P3)
Tracking
(firefox159 fixed)
| Tracking | Status | |
|---|---|---|
| firefox159 | --- | fixed |
People
(Reporter: ahochheiden, Assigned: ahochheiden)
References
(Blocks 1 open bug)
Details
Attachments
(4 external files, 7 obsolete files)
Release scripts that already run under ./mach python and use mozharness only as a script framework. They become plain scripts in python/mozrelease with their configs as data. comm-central shares some of these kinds and will need matching changes.
| Assignee | ||
Comment 1•2 months ago
|
||
bouncer_check.py used mozharness only for option parsing, logging and the layered config. The argparse script in python/mozrelease does the same check. It HEADs each URL with three retries, requires an https result on an allowed CDN host and exits 1 when any URL fails. The five product dictionaries from configs/releases become YAML data next to it, and the bouncer prefix, locales and CDN hosts that came through EXTRA_MOZHARNESS_CONFIG are command line arguments.
| Assignee | ||
Comment 2•2 months ago
|
||
The transform builds the command from run fields the kinds now carry, the config path, bouncer prefix, locales, CDN hosts, product field and products URL, instead of EXTRA_MOZHARNESS_CONFIG. Both kinds check out with the mach sparse profile since nothing under testing/mozharness is needed anymore.
| Assignee | ||
Comment 3•2 months ago
|
||
The script already ran under mach python and imported mozrelease for every release path helper, so it becomes a plain argparse script next to them. Option parsing, logging and the retrying download are the only mozharness pieces it used. The retry keeps the same exception list and attempt counts, hg fallback to GitHub included, and the config it writes is unchanged.
| Assignee | ||
Comment 4•2 months ago
|
||
merkle.py and checksums.py are release tooling with no mozharness dependency. They move unchanged together with the Merkle unit test, whose vectors BTVerificationTest.cpp cites. The checksum generator imports them from the new place so the task keeps working at this commit.
| Assignee | ||
Comment 5•2 months ago
|
||
generate-checksums.py used mozharness for option parsing, logging and a virtualenv whose only purpose was boto3. The bucket is read unsigned through the S3 compatible XML listing and plain object fetches, so requests from the common site covers it and no virtualenv step remains. The kind runs the script under mach with the build image and writes the SUMS and SUMMARY files to the artifact directory. The output for 155.0.1 build1 is byte identical to the published files.
| Assignee | ||
Comment 6•2 months ago
|
||
bouncer_check.py used mozharness only for option parsing, logging and
the layered config. The argparse script in python/mozrelease does the
same check. It HEADs each URL with three retries, requires an https
result on an allowed CDN host and exits 1 when any URL fails. The five
product dictionaries from configs/releases become YAML data next to
it, and the bouncer prefix, locales and CDN hosts that came through
EXTRA_MOZHARNESS_CONFIG are command line arguments.
| Assignee | ||
Comment 7•2 months ago
|
||
The transform builds the command from run fields the kinds now carry,
the config path, bouncer prefix, locales, CDN hosts, product field and
products URL, instead of EXTRA_MOZHARNESS_CONFIG. Both kinds check out
with the mach sparse profile since nothing under testing/mozharness
is needed anymore.
| Assignee | ||
Comment 8•2 months ago
|
||
The script already ran under mach python and imported mozrelease for
every release path helper, so it becomes a plain argparse script next to
them. Option parsing, logging and the retrying download are the only
mozharness pieces it used. The retry keeps the same exception list and
attempt counts, hg fallback to GitHub included, and the config it writes
is unchanged.
| Assignee | ||
Comment 9•2 months ago
|
||
merkle.py and checksums.py are release tooling with no mozharness
dependency. They move unchanged together with the Merkle unit test,
whose vectors BTVerificationTest.cpp cites. The checksum generator
imports them from the new place so the task keeps working at this
commit.
| Assignee | ||
Comment 10•2 months ago
|
||
generate-checksums.py used mozharness for option parsing, logging and
a virtualenv whose only purpose was boto3. The bucket is read unsigned
through the S3 compatible XML listing and plain object fetches, so
requests from the common site covers it and no virtualenv step
remains. The kind runs the script under mach with the build image and
writes the SUMS and SUMMARY files to the artifact directory. The output
for 155.0.1 build1 is byte identical to the published files.
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Comment 11•2 months ago
|
||
Comment 12•2 months ago
|
||
| Assignee | ||
Updated•2 months ago
|
Comment 13•2 months ago
|
||
Comment 14•2 months ago
|
||
| bugherder | ||
Comment 15•2 months ago
|
||
Comment 16•2 months ago
|
||
Updated•2 months ago
|
Comment 17•2 months ago
|
||
Comment on attachment 9648236 [details]
Bug 2075394 - Port Bug 2073828: Move the release-bouncer-check and release-generate-checksums scripts out of mozharness into mozrelease r=#thunderbuild
Revision D329044 was moved to bug 2075394. Setting attachment 9648236 [details] to obsolete.
Comment 18•2 months ago
|
||
Description
•