Closed
Bug 1118798
Opened 10 years ago
Closed 10 years ago
Downstream job to create partner repacks
Categories
(Release Engineering :: Release Automation, defect)
Release Engineering
Release Automation
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: catlee, Assigned: nthomas)
References
Details
Attachments
(3 files, 2 obsolete files)
1.47 KB,
patch
|
bhearsum
:
review+
nthomas
:
checked-in+
|
Details | Diff | Splinter Review |
16.41 KB,
patch
|
bhearsum
:
review+
nthomas
:
checked-in+
|
Details | Diff | Splinter Review |
12.37 KB,
patch
|
nthomas
:
review+
nthomas
:
checked-in+
|
Details | Diff | Splinter Review |
Port the existing partner repack script to the new system. Check the existing inputs to script and minimize, e.g. pass en-US build location in, and determine version if required. (aka remove dependency on information from release config).
Assignee | ||
Comment 1•10 years ago
|
||
The key points are
* add a new mode triggered by --use-tinderbox-builds, needs arg --revision set
* query taskcluster for the en-US builds using the revision, and download from there since we have no candidates dir to use
* ignore l10n for now, that'll get done later
* handle different naming styles for nightly/release
* some minor decrufting
Attachment #8586130 -
Flags: review?(bhearsum)
Assignee | ||
Comment 2•10 years ago
|
||
Carries over a couple of partner variables from the release config, and bumps the gecko version for the recent merge.
Attachment #8586131 -
Flags: review?(bhearsum)
Assignee | ||
Comment 3•10 years ago
|
||
* schedule builds, based on the code in process/release.py but not passing a version or buildNumber; new releasePromotion parameter
* ride through PartnerRepackFactory with the four horsemen, dropping if/else around the place
* diff -w should help see the new code vs indentation
The uploads end up in platform specific directories, eg date-linux-partner_repacks, but it may be better to upload into one. They're also overwriting on each run, but I'm deferring something better until we have a better idea on where we're uploading in S3.
Attachment #8586133 -
Flags: review?(bhearsum)
Assignee | ||
Comment 4•10 years ago
|
||
Same as comment #3 plus changing the branch for the sendchange to be foo-release-promotion.
Attachment #8586133 -
Attachment is obsolete: true
Attachment #8586133 -
Flags: review?(bhearsum)
Attachment #8586364 -
Flags: review?(bhearsum)
Comment 5•10 years ago
|
||
(In reply to Nick Thomas [:nthomas] from comment #3)
> The uploads end up in platform specific directories, eg
> date-linux-partner_repacks, but it may be better to upload into one. They're
> also overwriting on each run, but I'm deferring something better until we
> have a better idea on where we're uploading in S3.
Sounds fine to me. Private partner repacks will probably affect this too (which may be the same or at least lumped in with the s3 transition).
Comment 6•10 years ago
|
||
Comment on attachment 8586130 [details] [diff] [review]
[partner-repacks] Adjust the repacking script
Review of attachment 8586130 [details] [diff] [review]:
-----------------------------------------------------------------
Other than the few comments on this patch, everything here looks great! Much easier than I imagined it might be.
::: scripts/partner-repacks.py
@@ +24,5 @@
> HGROOT = 'https://hg.mozilla.org'
> REPO = 'releases/mozilla-release'
> DEFAULT_OUTPUT_DIR = 'partner-repacks/%(partner)s/%(platform)s/%(locale)s'
> +TASKCLUSTER_INDEX='https://index.taskcluster.net/v1/task/buildbot.revisions.%(revision)s.%(base_repo)s.%(tc_platform)s'
> +TASKCLUSTER_ARTIFACT='https://queue.taskcluster.net/v1/task/%(taskId)s/artifacts/public/build/%(filename)s'
Are we going to need netflows for these, or are they already open?
@@ +261,5 @@
> +
> +def getTaskId(platform):
> + tc_platform = getTaskClusterPlatform(platform)
> + revision = options.revision
> + base_repo = path.basename(options.repo)
Not the end of the world, but it's probably better to pass these in rather than relying on options being in the global scope.
@@ +681,5 @@
> )
> parser.add_option(
> + "--use-tinderbox-builds", action="store_true", dest="use_tinderbox_builds",
> + default=False,
> + help="Use tinderbox builds (ie release promotion)"
I wonder if --use-ci-builds might be a better name. We're not actually pulling from the "tinderbox-builds" directory, so this name is a bit weird to me...
Attachment #8586130 -
Flags: review?(bhearsum) → review+
Updated•10 years ago
|
Attachment #8586131 -
Flags: review?(bhearsum) → review+
Updated•10 years ago
|
Attachment #8586364 -
Flags: review?(bhearsum) → review+
Assignee | ||
Comment 7•10 years ago
|
||
(In reply to Ben Hearsum [:bhearsum] from comment #6)
> > +TASKCLUSTER_ARTIFACT='https://queue.taskcluster.net/v1/task/%(taskId)s/artifacts/public/build/%(filename)s'
> Are we going to need netflows for these, or are they already open?>
They're open already thankfully, and no auth needed - I tested with a mac slave attached to my staging master while developing this.
I've incorporated the other feedback here, carrying r+. Will land after the chemspill is done.
Attachment #8586130 -
Attachment is obsolete: true
Attachment #8587115 -
Flags: review+
Assignee | ||
Comment 8•10 years ago
|
||
Comment on attachment 8586131 [details] [diff] [review]
[buildbot-configs] Moar variables
Landed with partners_repo_path set to production repo:
https://hg.mozilla.org/build/buildbot-configs/rev/04ab7b9bb920
Attachment #8586131 -
Flags: checked-in+
Assignee | ||
Comment 9•10 years ago
|
||
Comment on attachment 8586364 [details] [diff] [review]
[buildbotcustom] Schedule partner builds, flay the factory, v2
https://hg.mozilla.org/build/buildbotcustom/rev/a4247fb4c834
Attachment #8586364 -
Flags: checked-in+
Comment 10•10 years ago
|
||
Comment 11•10 years ago
|
||
In production: https://hg.mozilla.org/build/buildbotcustom/rev/a4247fb4c834
Assignee | ||
Comment 12•10 years ago
|
||
Comment on attachment 8587115 [details] [diff] [review]
[partner-repacks] Adjust the repacking script w/ review comments
I found one more tinderbox-builds to fix up, so the landing is slightly different from what's attached here.
https://hg.mozilla.org/build/partner-repacks/rev/c72118fff0e6
Attachment #8587115 -
Flags: checked-in+
Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•