Closed Bug 579097 Opened 14 years ago Closed 14 years ago

Stop uploading things to mobile-trunk (use branch-platform directories)

Categories

(Release Engineering :: General, defect, P3)

x86
All
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jhford, Assigned: mozilla)

References

Details

(Whiteboard: [mobile])

Attachments

(3 files)

Instead of going into the 'mobile-trunk' directory, all builds should go into a branch-platform style directory.

This should be a matter of setting base_upload_dir for all platforms in mobile_config.py in the mozilla2/mozilla2-staging directories.

something like 

MOBILE_BRANCHES['mobile-trunk']['platforms']['linux-i686']['base_upload_dir'] = 'mobile-trunk-linux'
Summary: Stop uploading things to mobile-trunk → Stop uploading things to mobile-trunk (use branch-platform directories)
Assignee: nobody → aki
Status: NEW → ASSIGNED
This should fix the upload directory for builds/l10n and the enUS binary url for l10n repacks.  Passes checkconfig.

Incoming: n810/n900 polling updates, deb repo directory changes, tests.
Attachment #457686 - Flags: review?(jhford)
Attachment #457715 - Flags: review?(jhford)
Attachment #457730 - Flags: review?(jhford)
Attachment #457686 - Flags: review?(jhford) → review+
Attachment #457715 - Flags: review?(jhford) → review+
Attachment #457730 - Flags: review?(jhford) → review+
Comment on attachment 457715 [details] [diff] [review]
pmm/smm config tweaks to poll the new upload directories

Landed after un-bitrotting. http://hg.mozilla.org/build/buildbot-configs/rev/9e25ad02289b
Attachment #457715 - Flags: checked-in+
Comment on attachment 457730 [details] [diff] [review]
deb repos should download from the new directories

http://hg.mozilla.org/users/asasaki_mozilla.com/mozharness/rev/dc8a3ca7010e
Attachment #457730 - Flags: checked-in+
I think, until I get linkToLatest going instead of copyToLatest, the cleanup crontab should look like

find /home/ftp/pub/mobile/nightly/latest-* \! -name README \! -name .htaccess \! -name index.html -type f -mtime +0 -exec rm {} \;
Nightlies triggered, uploading to new locations (the maemo4 1.9.2 nightly died during buildsymbols; jhford will fix this soon in bug 567827).  I've cleaned up the latest-mobile-trunk* and latest-mobile-1.9.2* directories.

latest-mobile-trunk/ and latest-mobile-1.9.2/ now have README, index.html, and .htaccess files which should hopefully point people in the right direction if needed.  The .htaccess has a 404 page of the index.html.

The latest-mobile-trunk/fennec.apk link is still there.

I've written up a blog post at http://drkscrtlv.livejournal.com/320620.html .
Filed bug 580495 to get --link-to-latest going in post_upload.py.

I think we're done here.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
aki, I've removed this from stage:/etc/cron.d/ftp-staging-rw-server
# cleanup mobile builds
0 0 * * * root find /pub/mozilla.org/mobile/nightly/latest-mobile-* /pub/mozilla.org/mobile/tinderbox-builds/mobile-*-l10n -type f -mtime +1 -exec rm {} \;

so you can go ahead with adding the new one as ffxbld.
Added:
# Mobile cleanup
@daily nice -n 19 find /pub/mozilla.org/mobile/nightly/latest-* \! -name README \! -name .htaccess \! -name index.html -type f -mtime +1 -exec rm {} \;
@daily nice -n 19 find /pub/mozilla.org/mobile/tinderbox-builds/*-l10n -type f -mtime +1 -exec rm {} \;

Thanks Nick!
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: