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)

defect
Not set
normal

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: nobody → dustin
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
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
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
Component: Hooks → Services
You need to log in before you can comment on or make changes to this bug.