Closed Bug 1122751 Opened 9 years ago Closed 9 years ago

bumper bot needs to populate git information in gaia.json

Categories

(Release Engineering :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: catlee, Assigned: catlee)

References

Details

Attachments

(2 files)

If we're going to be checking out gaia from git, we need to know the git revision to use.
Attachment #8550546 - Flags: review?(pmoore)
Comment on attachment 8550546 [details] [diff] [review]
Populate git information in gaia.json

Review of attachment 8550546 [details] [diff] [review]:
-----------------------------------------------------------------

The change looks very good, and should cut down on traffic to mapper. Thanks for doing this!

Pete

::: configs/b2g_bumper/master.py
@@ +24,5 @@
>      'gaia_revision_file': 'b2g/config/gaia.json',
>      'gaia_max_revisions': 5,
>      # Which git branch this hg repo corresponds to
>      'gaia_git_branch': 'master',
> +    'gaia_git_repo': 'https://git.mozilla.org/releases/gaia.git',

do we also need this config entry for the other branches than master?
Attachment #8550546 - Flags: review?(pmoore) → review+
Hmm, yes, most likely. Let's turn this on for master first?
OK, why not. Can you send me another r? if you like for the other branches after we're happy it is working ok on master.
s/Can you/You can/

Typing too quickly today! =)
Attachment #8550546 - Flags: checked-in+
Attachment #8551894 - Flags: review?(pmoore)
Comment on attachment 8551894 [details] [diff] [review]
configs for other branches

Review of attachment 8551894 [details] [diff] [review]:
-----------------------------------------------------------------

bumper is not happy. complaining about missing key from this patch:

815 13:13:37    FATAL - Uncaught exception: Traceback (most recent call last):
816 13:13:37    FATAL -   File "/builds/b2g_bumper/mozharness/mozharness/base/script.py", line 1277, in run
817 13:13:37    FATAL -     self.run_action(action)
818 13:13:37    FATAL -   File "/builds/b2g_bumper/mozharness/mozharness/base/script.py", line 1219, in run_action
819 13:13:37    FATAL -     self._possibly_run_method(method_name, error_if_missing=True)
820 13:13:37    FATAL -   File "/builds/b2g_bumper/mozharness/mozharness/base/script.py", line 1160, in _possibly_run_method
821 13:13:37    FATAL -     return getattr(self, method_name)()
822 13:13:37    FATAL -   File "/builds/b2g_bumper/mozharness/scripts/b2g_bumper.py", line 602, in push_loop
823 13:13:37    FATAL -     if not self.config.get('skip_gaia_json') and self.bump_gaia():
824 13:13:37    FATAL -   File "/builds/b2g_bumper/mozharness/scripts/b2g_bumper.py", line 574, in bump_gaia
825 13:13:37    FATAL -     git_gaia_repo = self.config['gaia_git_repo']
Attachment #8551894 - Flags: review?(pmoore) → review+
Comment on attachment 8551894 [details] [diff] [review]
configs for other branches

live in production: https://hg.mozilla.org/build/mozharness/rev/0d2d12b3051a
Attachment #8551894 - Flags: checked-in+
Thanks Jordan for sorting this out!
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: