Closed Bug 1105430 Opened 11 years ago Closed 11 years ago

Use github.com/mozilla/build-cloud-tools as RoR

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rail, Assigned: rail)

References

Details

Attachments

(5 files, 2 obsolete files)

If there are no objections, we'll need: * Implement git::repo for PuppetAgain, something like http://hg.mozilla.org/build/puppet/file/6e119c99de67/modules/mercurial/manifests/repo.pp, to be used by http://hg.mozilla.org/build/puppet/file/6e119c99de67/modules/aws_manager/manifests/install.pp#l42 * stop syncyng from hg.m.o to github * enable syncing from github to git.m.o * obsolete the hg repo * enable git::repo against git.m.o * update the docs Anything missing here?
if we have the hg repo existing, I'd *much* prefer we continue to sync to it, just lock it instead. We can even do this work and switch puppet to use gitmo/github after the fact if we keep hg.m.o cloud tools being mirrored from git.
vcs conversion would add extra complexity to the system... I'd rather just sync repos without conversion.
Attached patch git-repo-puppet.diff (obsolete) — Splinter Review
The patch doesn't take care of the existing hg checkout, I can deal with them manually as a one off.
Attachment #8529210 - Flags: review?(dustin)
Attached patch git-repo-puppet-1.diff (obsolete) — Splinter Review
oops, forgot to add the new files.
Attachment #8529210 - Attachment is obsolete: true
Attachment #8529210 - Flags: review?(dustin)
Attachment #8529222 - Flags: review?(dustin)
Comment on attachment 8529222 [details] [diff] [review] git-repo-puppet-1.diff Review of attachment 8529222 [details] [diff] [review]: ----------------------------------------------------------------- r+ assuming suggested fix ::: modules/config/manifests/base.pp @@ +293,5 @@ > $cloudtrail_s3_bucket = "" > # s3 prefix name for aws_manager log parsing > $cloudtrail_s3_base_prefix = "" > # mercurial repository and branch for cloud-tools > + $cloud_tools_hg_repo = "https://git.mozilla.org/build/build-cloud-tools" s/hg/git/g
Attachment #8529222 - Flags: review?(dustin) → review+
Depends on: 1105860
with cloud_tools_hg_repo fixed, carry over r=dustin
Attachment #8529222 - Attachment is obsolete: true
Attachment #8529919 - Flags: review+
Not sure if this patch is enough.. Probably also need to delete the hg clone on the vcssync box, all recreate the whole directory all together.
Attachment #8529920 - Flags: review?(hwine)
Comment on attachment 8529920 [details] [diff] [review] repo-sync-configs.diff Review of attachment 8529920 [details] [diff] [review]: ----------------------------------------------------------------- This actually needs to be done in several steps: - ensure git copy up to date - disable current mirroring - delete hg repo - change permissions on git repo to enable commits Note: git->hg mirroring is only supported by legacy. We don't want more repos using legacy code if at all possible. If it's really important to have hg copies, the suggestion would be to leave things as they are.
Attachment #8529920 - Flags: review?(hwine) → review-
The intent was to have git-to-git mirroring set up. Pete tells me that it's not supported by the modern vcs2vcs system. Do we ever support this? If not, I'm going to just disable the existing conversion and go with the github repo only.
Flags: needinfo?(hwine)
Stop vcs syncing hg.m.o to github.
Flags: needinfo?(hwine)
Attachment #8536668 - Flags: review?(catlee)
These configs are not used anywhere.
Attachment #8536670 - Flags: review?(hwine)
Attachment #8529919 - Flags: checked-in+
Attached patch git-q.diffSplinter Review
be quiet
Attachment #8536697 - Flags: review?(catlee)
Attachment #8536697 - Flags: review?(catlee) → review+
Attachment #8536668 - Flags: review?(catlee) → review+
mozharness change merged to production.
Okay, so here's what will happen regarding the respositories: - start mirror https://github.com/mozilla/build-cloud-tools -> https://git.mozilla.org/build/cloud-tools.git - disable commit access to https://hg.mozilla.org/build/cloud-tools/ - remove mirror from https://hg.mozilla.org/build/cloud-tools/ -> https://github.com/mozilla/build-cloud-tools At that point, all future commits will be made on github.
Flags: needinfo?(rail)
(In reply to Hal Wine [:hwine] (use needinfo) from comment #17) > Okay, so here's what will happen regarding the respositories: > - start mirror https://github.com/mozilla/build-cloud-tools -> > https://git.mozilla.org/build/cloud-tools.git I'm going to file a separate file for this. > - disable commit access to https://hg.mozilla.org/build/cloud-tools/ I deleted the files in https://hg.mozilla.org/build/cloud-tools/rev/86fbbd2df71d. > - remove mirror from https://hg.mozilla.org/build/cloud-tools/ -> > https://github.com/mozilla/build-cloud-tools This is done already. > At that point, all future commits will be made on github. Already pushing to that repo! :)
Flags: needinfo?(rail)
Attachment #8536670 - Flags: review?(hwine)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
See Also: → 1112738
Blocks: 1128620
Component: Tools → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: