Closed
Bug 462145
Opened 16 years ago
Closed 16 years ago
Write a BuildFactory containing all the necessary steps to run our update verification tests
Categories
(Release Engineering :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: bhearsum)
References
Details
(Whiteboard: [hg-automation])
Attachments
(1 file, 1 obsolete file)
8.64 KB,
patch
|
nthomas
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Updated•16 years ago
|
Whiteboard: [hg-automation]
Assignee | ||
Updated•16 years ago
|
Priority: -- → P2
Assignee | ||
Comment 1•16 years ago
|
||
This follows the same procedure the Bootstrap patch is bug 462143 does. It also factors generating the URL for shipped-locales and simple logic for ssh keys to ReleaseFactory.
I had to create a very basic UpdateVerify step because we can't rely on return codes to decide success and failure. I purposely did not override __init__ or set any variables to keep it as simple as possible. The idea is the caller should treat it as a ShellCommand.
Attachment #346891 -
Flags: review?(nthomas)
Assignee | ||
Comment 2•16 years ago
|
||
Sadly, I forgot to run this through 'checkconfig' first. Here's a version without the syntax errors.
(Sorry for all the churn.)
Attachment #346891 -
Attachment is obsolete: true
Attachment #346915 -
Flags: review?(nthomas)
Attachment #346891 -
Flags: review?(nthomas)
Updated•16 years ago
|
Attachment #346915 -
Flags: review?(nthomas) → review+
Comment 3•16 years ago
|
||
Comment on attachment 346915 [details] [diff] [review]
[checked in] same as before, without typos
>diff -r 22f6dd504d34 process/factory.py
...
>+from buildbotcustom.steps.release import UpdateVerify
Need to do the import & reload trick for this too ? Change it if you need to on checkin.
>+class UpdateVerifyFactory(ReleaseFactory):
>+ def __init__(self, mozillaCentral, cvsroot, buildTools, patcherToolsTag,
>+ hgUsername, baseTag, appName, platform, productName,
>+ oldVersion, oldBuildNumber, version, buildNumber, ausServerUrl,
>+ stagingServer, verifyConfig, oldAppVersion=None,
>+ appVersion=None, hgSshKey=None):
>+ ReleaseFactory.__init__(self)
Hmm, in Bootstrap we must have a version, which is the RelEng friendly name of the release we're working on, and can have an appVersion if the version used inside the app is different. There are matching old vars, eg
version = 3.0rc3
appVersion = 3.0
oldVersion = 3.0rc2
oldAppVersion = 3.0
The vars in this class seem to match up with that, but the config uses appVersion as version. I'd like to resolve that confusion before the rc's come along.
Assignee | ||
Comment 4•16 years ago
|
||
(In reply to comment #3)
> (From update of attachment 346915 [details] [diff] [review])
> >diff -r 22f6dd504d34 process/factory.py
> ...
> >+from buildbotcustom.steps.release import UpdateVerify
>
> Need to do the import & reload trick for this too ? Change it if you need to on
> checkin.
>
Yeah, good point.
> The vars in this class seem to match up with that, but the config uses
> appVersion as version. I'd like to resolve that confusion before the rc's come
> along.
I filed bug 464014. I'll make sure someone takes this on well before RC1.
Assignee | ||
Comment 5•16 years ago
|
||
Comment on attachment 346915 [details] [diff] [review]
[checked in] same as before, without typos
checked in w/ import/reload for buildbotcustom.steps.release)
Checking in process/factory.py;
/cvsroot/mozilla/tools/buildbotcustom/process/factory.py,v <-- factory.py
new revision: 1.32; previous revision: 1.31
done
RCS file: /cvsroot/mozilla/tools/buildbotcustom/steps/release.py,v
done
Checking in steps/release.py;
/cvsroot/mozilla/tools/buildbotcustom/steps/release.py,v <-- release.py
initial revision: 1.1
done
Attachment #346915 -
Attachment description: same as before, without typos → [checked in] same as before, without typos
Assignee | ||
Updated•16 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 16 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
•