Help research if CircleCI context data-eng-circleci-deployment is still in use
Categories
(mozilla.org :: Github: Administration, task)
Tracking
(Not tracked)
People
(Reporter: charlow, Unassigned)
Details
Good afternoon GitHub admins!
We (the Data SRE team) are trying to confirm a CircleCI context setup a few years ago (see linked See Also bug) is no longer being used - so we can then clean up the related GCP Service Account.
The CircleCI context in question is "data-eng-circleci-deployment" - and if the context is in use, this string would appear in a file checked into a GitHub repository in a directory called .circleci. The file would probably be named config.yaml.
The request for yall: with your GitHub owner privileges in the mozilla & mozilla-services GitHub Organizations, could you please search for the string "data-eng-circleci-deployment" across all repositories and let us know if there are any results? If there are, we can go from there. If there aren't, yahtzee!
Thanks!
| Reporter | ||
Comment 1•3 years ago
|
||
Updates:
- we know that the string (if found) should be in a file in the
/.circleci/directory (top level of repository). - we do not know for certain the name of the file that the string might be in (though it will always be a YAML file, if that classification helps at all).
- we (members of Data SRE) have tried searching mozilla & mozilla-services for that string ourselves and turned up no Code results (there are 3 older PRs/Issues that return) - and we think it likely this won't turn up code results at all, but want to be certain.
- we are interested in any code results from any branches, since unfortunately people might've setup CI to use this context in some special project for some special branch we can't see.
Thanks!
Comment 2•3 years ago
|
||
So I have some scripting to help with this - and ran it against a test setup to verify function (looking for the string "Cache things" in the /.github/workflows path) should return two repos - and it does:
./gh_file_search.py -v -f moco-ghe-admin --query '"Cache things" path:/.github/workflows'
org: moco-ghe-admin Repo: github-scripts,cis_tools
So --- trying the same for your setup in Mozilla, nothing found.:
./gh_file_search.py -v -f mozilla --query '"data-eng-circleci-deployment" path:/.circleci fork:true'
org: mozilla Repo:
And mozilla-it
./gh_file_search.py -v -f mozilla-it --query '"data-eng-circleci-deployment" path:/.circleci fork:true'
org: mozilla-it Repo:
Files found:
I've also tried running the searches via the UI, and similarly turned up nothing. I think that answers the need - let me know what else I can do, or close this out.
| Reporter | ||
Comment 3•3 years ago
|
||
great, thank you so much! this is exactly what we needed to confirm.
| Reporter | ||
Updated•3 years ago
|
Description
•