Closed Bug 1467332 Opened 8 years ago Closed 8 years ago

Change the wpt-manifest upload format

Categories

(Testing :: web-platform-tests, enhancement)

Version 3
enhancement
Not set
normal

Tracking

(firefox62 fixed)

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: cactusmachete, Assigned: cactusmachete)

Details

Attachments

(1 file)

Upload both manifests in a single tar, not two different gzipped files.
Comment on attachment 8983998 [details] Bug 1467332 - Change wpt-manifest upload format, https://reviewboard.mozilla.org/r/249878/#review256156 This basically looks fine, just a couple of nits to fix. ::: taskcluster/ci/source-test/wpt-manifest.yml:24 (Diff revision 1) > run: > using: run-task > command: > > cd /builds/worker/checkouts/gecko > && ./mach wpt-manifest-update > - && gzip testing/web-platform/meta/MANIFEST.json testing/web-platform/mozilla/meta/MANIFEST.json > + && tar -cvzf manifests.tar.gz -C testing/web-platform/ meta/MANIFEST.json mozilla/meta/MANIFEST.json I would just pull full paths rather than using a stateful option; we'll probably need to change these paths later on anyway. ::: testing/web-platform/manifestdownload.py:84 (Diff revision 1) > - if resp.code != 200: > + if req.status_code != 200: > logger.warning("Downloading pregenerated manifest failed; got" > - "HTTP status %d" % resp.code) > + "HTTP status %d" % req.status_code) > return False > > - gzf = gzip.GzipFile(fileobj=io.BytesIO(resp.read())) > + tar = tarfile.open(mode="r:gz",fileobj=StringIO(req.content)) Missing a space after the comma
Attachment #8983998 - Flags: review?(james) → review-
Attachment #8983998 - Flags: review?(james) → review+
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/autoland/rev/1cd94ab77e2e Change wpt-manifest upload format, r=jgraham
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: