Closed Bug 1147107 Opened 6 years ago Closed 6 years ago

Update mozilla-download to fetch builds from taskcluster index instead of ftp

Categories

(Taskcluster :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gaye, Assigned: gaye)

References

Details

Attachments

(2 files, 1 obsolete file)

No description provided.
Assignee: nobody → gaye
Attached file Pull request (obsolete) —
Review request for 1.0.0-alpha (doesn't currently do things like windows or mac or downloading non-firefox products)
Attachment #8585737 - Flags: review?(jlal)
Attached file Pull request
Attachment #8585737 - Attachment is obsolete: true
Attachment #8585737 - Flags: review?(jlal)
Attachment #8585738 - Flags: review?(jlal)
Comment on attachment 8585738 [details] [review]
Pull request

Bikeshed with us!
Attachment #8585738 - Flags: feedback?(aus)
Duplicate of this bug: 1149178
landed gaia-node-modules part https://github.com/mozilla-b2g/gaia-node-modules/commit/6153f76e09f1fd218b1bafee99cad0aac972e993 carrying over jlal review from mozilla-download
https://github.com/mozilla-b2g/gaia/commit/30462283ce20a2481b9f6bd918218d65943548ec mozilla-download changes downstreamed to gaia master
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Could you also change the scripts in [1] and [2] ?

[1] https://github.com/mozilla-b2g/gaia/blob/master/tests/ci/unit-tests-in-firefox/install
[2] https://github.com/mozilla-b2g/gaia/blob/master/tests/ci/unit-tests-coverage/install

Looks like "--channel" doesn't work anymore ?

DEBUG=* ./node_modules/.bin/mozilla-download --product firefox \
                 --channel tinderbox \
                 --branch mozilla-central \
                 $PWD/firefox
usage: mozilla-download [-v] [--product PRODUCT] [--os OS] [--branch BRANCH]
                        [--debug DEBUG] [--file-suffix FILESUFFIX]
                        dest
mozilla-download: error: Unrecognized arguments: --channel /home/julien/travail/git/gaia/firefox.
Flags: needinfo?(gaye)
Comment on attachment 8585738 [details] [review]
Pull request

Clearing flag since this has landed. Looks good, but yeah, --channel doesn't seem to work. Let's fix in a follow-up (or this bug if that's easier) and add a test for that scenario.
Attachment #8585738 - Flags: feedback?(aus)
Yeah channel isn't a thing anymore. The api is a bit different nowadays. You can specify a branch via --branch and it'll look through https://tools.taskcluster.net/index/artifacts/#buildbot.branches/buildbot.branches. You can also specify --product (firefox, b2g-desktop, or mulet). This was intentional but I think it could be useful for us to update the README.
Flags: needinfo?(gaye)
Can I let one of you update the aforementioned scripts?
Component: TaskCluster → General
Product: Testing → Taskcluster
Target Milestone: --- → mozilla41
Version: unspecified → Trunk
Resetting Version and Target Milestone that accidentally got changed...
Target Milestone: mozilla41 → ---
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.