Closed
Bug 711534
Opened 14 years ago
Closed 13 years ago
Configure Thunderbird release builders
Categories
(Release Engineering :: Release Automation, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jhopkins, Assigned: jhopkins)
References
Details
(Whiteboard: [automation][releases])
Attachments
(4 files, 3 obsolete files)
1.17 KB,
patch
|
standard8
:
review+
jhopkins
:
checked-in+
|
Details | Diff | Splinter Review |
1.15 KB,
patch
|
bhearsum
:
review+
jhopkins
:
checked-in+
|
Details | Diff | Splinter Review |
44.56 KB,
patch
|
bhearsum
:
review+
jhopkins
:
checked-in+
|
Details | Diff | Splinter Review |
5.22 KB,
patch
|
standard8
:
review+
jhopkins
:
checked-in+
|
Details | Diff | Splinter Review |
Let's get Thunderbird release builds running on dev-master01 + Firefox build slaves.
Development buildbot-configs are here:
https://hg.mozilla.org/users/john.hopkins_mozillamessaging.com/buildbot-configs-stage/
Look in the thunderbird2/ subdirectory.
Assignee | ||
Comment 2•13 years ago
|
||
The actual comm-release builds are looking good, aside from get_codesize_log failing on Linux and OS X.
Updated•13 years ago
|
Component: Release Engineering → Release Engineering: Automation (Release Automation)
Priority: P5 → --
QA Contact: release → bhearsum
Whiteboard: [automation][releases]
Comment 3•13 years ago
|
||
John, I think you'll be the one looking at this, right?
Assignee: nobody → jhopkins
Assignee | ||
Updated•13 years ago
|
Summary: Test Thunderbird release builds on dev-master01 → Configure Thunderbird release builders
Assignee | ||
Comment 4•13 years ago
|
||
Attachment #618254 -
Flags: feedback?(bhearsum)
Comment 5•13 years ago
|
||
Comment on attachment 618254 [details] [diff] [review]
initial patch passes checkconfig
Review of attachment 618254 [details] [diff] [review]:
-----------------------------------------------------------------
::: mozilla/staging_release-thunderbird-comm-beta.py
@@ +34,5 @@
> +releaseConfig['userRepoRoot'] = 'users/stage-ffxbld'
> +releaseConfig['sourceRepositories'] = {
> + 'mozilla': {
> + 'name': 'comm-beta',
> + 'clonePath': 'releases/comm-beta',
You should be using mozilla-beta here, as the 'mozilla' repository I think....comm-beta should go in as another entry in the dict. sourceRepoKey may need adjusting, we create some names and make some decisions based on the repo named by 'sourceRepoInfo', have a look at process/release.py and it should be a bit clearer.
@@ +50,5 @@
> +# L10n repositories
> +releaseConfig['l10nRelbranch'] = None
> +releaseConfig['l10nRepoClonePath'] = 'releases/l10n/mozilla-beta'
> +releaseConfig['l10nRepoPath'] = 'users/stage-ffxbld'
> +releaseConfig['l10nRevisionFile'] = 'l10n-thunderbird-changesets-beta'
Naming nit: we call these files "l10n-changesets" normally, so I'd prefer to see them named l10n-changesets_thunderbird-$branch
@@ +80,5 @@
> +releaseConfig['hgSshKey'] = '~cltbld/.ssh/ffxbld_dsa'
> +
> +# Update-specific configuration
> +releaseConfig['cvsroot'] = ':ext:stgbld@cvs.mozilla.org:/cvsroot'
> +releaseConfig['patcherConfig'] = 'mozBeta-branch-patcher2.cfg'
Need to use a different patcher config for Thunderbird.
@@ +104,5 @@
> + 'linux64': 'mail/config/mozconfigs/linux64/release',
> + 'macosx64': 'mail/config/mozconfigs/macosx-universal/release',
> + 'win32': 'mail/config/mozconfigs/win32/release',
> +}
> +releaseConfig['xulrunner_mozconfigs'] = {}
You can just omit this entirely.
::: mozilla/universal_master_sqlite.cfg
@@ -37,1 @@
> c['status'].append(QueuedCommandHandler(
builder_master.cfg will need similar changes as this file.
@@ +109,5 @@
> from buildbotcustom.process.release import generateReleaseBranchObjects
> if RESERVED_SLAVES:
> setReservedFileName(RESERVED_SLAVES)
> + for product, sourceRepoKey, productBranches, releaseBranch in \
> + [('thunderbird', 'mozilla', THUNDERBIRD_BRANCHES, b)
You probably want to use 'comm' or something as the sourceRepoKey rather than 'mozilla'...see more in the release configs.
Attachment #618254 -
Flags: feedback?(bhearsum) → feedback+
Assignee | ||
Comment 6•13 years ago
|
||
Will pass revision details to Thunderbird mozconfigs via environment variables. This patch provides that feature.
Attachment #618712 -
Flags: review?(bhearsum)
Assignee | ||
Comment 7•13 years ago
|
||
Addresses feedback except for l10n changeset file names (will address once i've copied those files to a new name).
passes checkconfig and 'setup-master.py -t' tests.
Attachment #618254 -
Attachment is obsolete: true
Attachment #618713 -
Flags: feedback?(bhearsum)
Comment 8•13 years ago
|
||
Comment on attachment 618713 [details] [diff] [review]
thunderbird release configs
Review of attachment 618713 [details] [diff] [review]:
-----------------------------------------------------------------
Everything looks ok except the extraBuildEnv stuff.
::: mozilla/builder_master.cfg
@@ +98,5 @@
> + if x.branch == cs.branch:
> + cnt = cnt + 1
> + if cnt > 1:
> + buildObjects['change_source'].remove(cs)
> +
Huh, this code doesn't already exist in builder_master.cfg?
@@ +113,5 @@
> from buildbotcustom.process.release import generateReleaseBranchObjects
> if RESERVED_SLAVES:
> setReservedFileName(RESERVED_SLAVES)
> + for product, sourceRepoKey, productBranches, releaseBranch in \
> + [('thunderbird', 'mozilla', THUNDERBIRD_BRANCHES, b)
I think you want 'comm' here, not 'mozilla'.
::: mozilla/staging_release-thunderbird-comm-beta.py
@@ +70,5 @@
> +}
> +releaseConfig['extraBuildEnv'] = {
> + 'COMM_REV': releaseConfig['sourceRepositories']['comm']['revision'],
> + 'MOZILLA_REV': releaseConfig['sourceRepositories']['mozilla']['revision'],
> +}
I don't think you need these at all. ReleaseBuildFactory already has buildRevision, which is the _RELEASE tag. You can have it set these two variables rather than defining them in every release config. If you really think you need to set them here, please merge them in with 'platform_env' in release.py -- we definitely don't want to have 'env' and 'extraBuildEnv' as args to the same factory - very confusing.
Attachment #618713 -
Flags: feedback?(bhearsum) → feedback-
Comment 9•13 years ago
|
||
Comment on attachment 618712 [details] [diff] [review]
ability to pass extra environment vars to builds
Review of attachment 618712 [details] [diff] [review]:
-----------------------------------------------------------------
I don't think this is necessary, per my previous comment.
Attachment #618712 -
Flags: review?(bhearsum)
Assignee | ||
Comment 10•13 years ago
|
||
Note that l10n changeset files are also renamed to conform to Firefox's naming convention.
Attachment #618903 -
Flags: review?(mbanner)
Assignee | ||
Comment 11•13 years ago
|
||
Attachment #618712 -
Attachment is obsolete: true
Attachment #618904 -
Flags: review?(bhearsum)
Assignee | ||
Comment 12•13 years ago
|
||
Attachment #618713 -
Attachment is obsolete: true
Attachment #618908 -
Flags: review?(bhearsum)
Updated•13 years ago
|
Attachment #618903 -
Flags: review?(mbanner) → review+
Comment 13•13 years ago
|
||
Comment on attachment 618903 [details] [diff] [review]
copy Thunderbird l10n files under mozilla/ directory
Hang on a mo, you need to update thunderbird_config.py for the all-locales.* changes.
Attachment #618903 -
Flags: review+ → review-
Updated•13 years ago
|
Attachment #618904 -
Flags: review?(bhearsum) → review+
Updated•13 years ago
|
Attachment #618908 -
Flags: review?(bhearsum) → review+
Assignee | ||
Comment 14•13 years ago
|
||
standard8: if you're happy with this patch, can you please review the 'copy Thunderbird l10n files under mozilla/ directory' patch as well?
Attachment #619015 -
Flags: review?(mbanner)
Assignee | ||
Comment 15•13 years ago
|
||
Comment on attachment 618904 [details] [diff] [review]
buildbotcustom patch to set COMM_REV and MOZILLA_REV in platform_env[]
Review of attachment 618904 [details] [diff] [review]:
-----------------------------------------------------------------
Landed in https://hg.mozilla.org/build/buildbotcustom/rev/28f4d9562676
Attachment #618904 -
Flags: checked-in+
Assignee | ||
Comment 16•13 years ago
|
||
Comment on attachment 618908 [details] [diff] [review]
release configs
Review of attachment 618908 [details] [diff] [review]:
-----------------------------------------------------------------
Landed in https://hg.mozilla.org/build/buildbot-configs/rev/f335696d8e8b
Attachment #618908 -
Flags: checked-in+
Comment 18•13 years ago
|
||
Merged to production today
Comment 19•13 years ago
|
||
Comment on attachment 619015 [details] [diff] [review]
buildbot-configs patch to reflect new all-locales locations
r=me if you correct the line that says 'browser/locales/all-locales' for BRANCHES[comm-esr10] as pointed out over irc.
Attachment #619015 -
Flags: review?(mbanner) → review+
Comment 20•13 years ago
|
||
Comment on attachment 618903 [details] [diff] [review]
copy Thunderbird l10n files under mozilla/ directory
r+ though we'll probably want to copy the esr file from comm-esr10 as well.
Attachment #618903 -
Flags: review- → review+
Assignee | ||
Comment 21•13 years ago
|
||
Comment on attachment 618903 [details] [diff] [review]
copy Thunderbird l10n files under mozilla/ directory
Landed in https://hg.mozilla.org/build/buildbot-configs/rev/d344e17405c7
Attachment #618903 -
Flags: checked-in+
Assignee | ||
Comment 22•13 years ago
|
||
Comment on attachment 619015 [details] [diff] [review]
buildbot-configs patch to reflect new all-locales locations
Review of attachment 619015 [details] [diff] [review]:
-----------------------------------------------------------------
Landed in https://hg.mozilla.org/build/buildbot-configs/rev/753ffadb0b1b
Attachment #619015 -
Flags: checked-in+
Assignee | ||
Comment 23•13 years ago
|
||
Release builders are deployed to production masters. Any issues will be tracked in separate bugs.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•