Closed
Bug 1507557
Opened 7 years ago
Closed 7 years ago
Please move the "gecko-cinnabar-mirror" Hook and Secret under a dedicated project prefix
Categories
(Taskcluster :: Services, defect)
Taskcluster
Services
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: janx, Assigned: dustin)
References
Details
We would like to automate the synchronization of the https://github.com/mozilla/gecko mirror (hg→git-cinnabar, see bug 1459200) using a Taskcluster Hook that regularly pulls from hg.mozilla.org and pushes to GitHub.
As a proof of concept, I've created the following:
1. Secret: https://tools.taskcluster.net/secrets/garbage%2Fjkeromnes%2Fgecko-cinnabar-mirror (contains bogus Git and GitHub credentials)
2. Hook: https://tools.taskcluster.net/hooks/garbage/gecko-cinnabar-mirror (pulls from hg.m.o and pushes to GitHub every 6 hours)
Since it works as expected, we'd like to move forward by moving both Secret and Hook under a dedicated project prefix, for example like so:
1'. Secret: garbage/jkeromnes/gecko-cinnabar-mirror → project/gh-mirrors/gecko-cinnabar-mirror
2'. Hook: garbage/gecko-cinnabar-mirror → gh-mirrors/gecko-cinnabar-mirror
This will allow adding real credentials to the Secret, thus confirming that the automatic syncing of a (private fork of) https://github.com/mozilla/gecko can work.
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → dustin
| Assignee | ||
Comment 1•7 years ago
|
||
https://tools.taskcluster.net/auth/roles/mozillians-group%3Agh-mirrors-admins should do the trick. It can take a while for Mozillians groups to propagate. You'll know it's active when you see "assume:mozillians-group:gh-mirrors-admins" in https://tools.taskcluster.net/credentials
| Assignee | ||
Comment 2•7 years ago
|
||
I see
'mozilliansorg_gh-mirrors-admins',
in your Auth0 profile, so I think this is working!
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 3•7 years ago
|
||
Confirmed! I was able to re-create the hook [0] and the secret. [1]
Thanks a lot for your help!
[0] Hook: https://tools.taskcluster.net/hooks/project-gh-mirrors/gecko-cinnabar-mirror
[1] Secret: https://tools.taskcluster.net/secrets/project%2Fgh-mirrors%2Fgecko-cinnabar-mirror
Status: RESOLVED → VERIFIED
Updated•7 years ago
|
Component: Hooks → Services
You need to log in
before you can comment on or make changes to this bug.
Description
•