Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate alternative jenkins access for backups #3939

Open
ryanaslett opened this issue Oct 22, 2024 · 1 comment
Open

Investigate alternative jenkins access for backups #3939

ryanaslett opened this issue Oct 22, 2024 · 1 comment

Comments

@ryanaslett
Copy link
Contributor

The backup server relies on an individual contributors token to access jenkins, which is brittle if that contributor becomes emeritus.

Lets investigate a service account token for that purpose.

@richardlau
Copy link
Member

richardlau commented Oct 22, 2024

So to kickstart the discussion:

These were set up before I joined the WG so I'm a little fuzzy as to the distinction between the three accounts. What I do know:

(FYI @nodejs/security-wg who are currently threat modelling access across the project)

The backup server relies on an individual contributors token to access jenkins, which is brittle if that contributor becomes emeritus.

This is

JENKINS_CRUMB=$(curl -sL --user "$CREDENTIALS" https://$HOST/'crumbIssuer/api/xml?xpath=concat(//crumbRequestField,":",//crumb)')
curl -X POST -q --user "$CREDENTIALS" -H "$JENKINS_CRUMB" https://$HOST/reload
-- AIUI this is making a REST API call to Jenkins to ask it to reload. Of our existing accounts, it probably makes sense to be using the node-forward-build account for this since it's the GitHub admin team for both Jenkins instances?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants