vcssync: dev/staging git-cinnabar switchover
Categories
(Developer Services :: General, task)
Tracking
(Not tracked)
People
(Reporter: dhouse, Assigned: dhouse)
References
Details
Attachments
(6 files, 5 obsolete files)
1.24 KB,
patch
|
dhouse
:
review+
|
Details | Diff | Splinter Review |
2.11 KB,
patch
|
dhouse
:
review+
|
Details | Diff | Splinter Review |
8.70 KB,
patch
|
dhouse
:
review+
|
Details | Diff | Splinter Review |
1.31 KB,
patch
|
dhouse
:
review+
|
Details | Diff | Splinter Review |
1.29 KB,
patch
|
dhouse
:
review+
|
Details | Diff | Splinter Review |
2.42 KB,
patch
|
dhouse
:
review+
|
Details | Diff | Splinter Review |
To help setup the CI system for KaiOS, we need to switch vcs-sync to use git-cinnabar. To do that, we need to prepare vcssync for development/staging and lock-down the secrets and repo once it is in production.
copied from email from Hal:
Please setup a new key for the KaiOS project, and share that one with glandium. The public part will need to be added to the repo to allow pushes.
Glandium: for dev/staging work, I'm assuming you'll use a new repo, which you'll have admin rights to, and can install the key.
Dave: once we go live, we'll use a new key in production, and I'll lock down the production repo. Can you set up a tracker bug so we don't lose sight of the steps, please?
Friday afternoon, I add :glandium to the jumphost and vcssync host auth_keys, and two ip's for him to access through the security group to the jumphost.
Comment 3•5 years ago
|
||
The mozharness repo is not on phabricator, so I didn't know where to attach this.
This doesn't take care of the from-scratch conversion, and doesn't handle the steps to actually do the switch from hg-git to git-cinnabar, nor the installation of git-cinnabar. These will have to be manual steps as outlined by email.
Comment 4•5 years ago
|
||
Comment 5•5 years ago
|
||
Comment 6•5 years ago
|
||
Comment 7•5 years ago
|
||
Comment 8•5 years ago
|
||
Comment 10•5 years ago
|
||
Assignee | ||
Comment 11•5 years ago
|
||
Comment on attachment 9140649 [details] [diff] [review] Add support for git-cinnabar conversions to the vcs-sync codebase r+ this looks great. Thank you for making the mappings work. I don't think we need more comments explaining this.
Assignee | ||
Comment 12•5 years ago
|
||
I turned on aws monitoring of downloads for the mappings files in s3 ("Access analyzer for S3"). So we can see if anyone is using those, and then turn off the mapping creation if they are unused for a month.
Related to finding who is using the output, we had previously checked if github provided logs or stats of repository clones/pulls and they do not.
Comment 13•5 years ago
|
||
Comment 14•5 years ago
|
||
The host doesn't exist in the DNS server vcs-sync uses, and that causes long pauses when installing/upgrading python packages.
Comment 15•5 years ago
|
||
This is an updated patch with the git-cinnabar path added to the config.
Comment 16•5 years ago
|
||
https://hg.mozilla.org/build/mozharness/rev/9e1dce7755d0a6b1ba7e88140d1fe523f89cf283
https://hg.mozilla.org/build/mozharness/rev/f9e15479984a94a7cdd03fa6fc6c0b6b94ac2852
https://hg.mozilla.org/build/mozharness/rev/904f897a1305a6a2dc02cfe754f006a7da37605d
https://hg.mozilla.org/build/mozharness/rev/187ceee0ce97ce7e1a7ee1dd68dfe58fa68f0584
https://hg.mozilla.org/build/mozharness/rev/86d4c7fc2280c4d4350047ad46fb86f40960476f
https://hg.mozilla.org/build/mozharness/rev/765bcb44ac00cb574769f2d6d9dae0dd974cb4a9
Assignee | ||
Comment 17•5 years ago
|
||
NI to myself to change the log archiving to leave the log archives locally (not deleted after upload to s3).
Assignee | ||
Comment 18•5 years ago
|
||
(In reply to Dave House [:dhouse] from comment #17)
NI to myself to change the log archiving to leave the log archives locally (not deleted after upload to s3).
I had changed it keep the logs locally and we put the 13,14,15 archives onto the filesystem also so April13 -> now logs are collected in vcssync1/. (and April16+ for gecko-projects(vcssync2)).
Assignee | ||
Comment 19•5 years ago
|
||
The conversion and mappings have been created without problems since the switchover.
Comment 20•4 years ago
|
||
Are there any plans to also switch the nss
repo over to using cinnabar? That's the only other one that searchfox is currently pulling from github and then grafting cinnabar data to.
Assignee | ||
Comment 21•4 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #20)
Are there any plans to also switch the
nss
repo over to using cinnabar? That's the only other one that searchfox is currently pulling from github and then grafting cinnabar data to.
:jcj just a heads-up: we're planning to switch the github sync of nss to use git-cinnabar. This will have no impact unless someone tries to reproduce the git repo from hg.m.o with hg-git. From what I understand when we talked in Berlin, it may not be used anymore: https://github.com/nss-dev/nss
Comment 22•4 years ago
|
||
As I understand it, it should have no impact for the changeover. I know people use that mirror, but we only use it as a mirror. hg.m.o is the authoritative source, and even if github.com/nss-dev/nss lost its history we'd be perfectly fine.
Assignee | ||
Comment 23•4 years ago
|
||
(In reply to J.C. Jones [:jcj] (he/him) [increased latency due to COVID-19] from comment #22)
As I understand it, it should have no impact for the changeover. I know people use that mirror, but we only use it as a mirror. hg.m.o is the authoritative source, and even if github.com/nss-dev/nss lost its history we'd be perfectly fine.
Thank you ;jcj ! I'll plan to move this over this in the coming month.
:kats, cc from #vcs: I have no update on moving the nss repo to cinnabar. I haven't worked on it this month. I'd like to postpone that for a few more weeks (until other pieces in ci are quieter), unless that causes problems or work on your side.
Comment 24•4 years ago
|
||
:dhouse, thanks for the update! No rush on my side. It's more of a "crossing off the last item on a checklist" feeling kind of thing, rather than any particular actual use-case that we need this for.
Updated•4 years ago
|
Updated•1 year ago
|
Updated•7 months ago
|
Description
•