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

need to generate a Jenkins API new token #201

Closed
refack opened this issue Nov 17, 2018 · 7 comments
Closed

need to generate a Jenkins API new token #201

refack opened this issue Nov 17, 2018 · 7 comments

Comments

@refack
Copy link
Contributor

refack commented Nov 17, 2018

New version of Jenkins revoked all API tokens.
https://ci.nodejs.org/user/nodejs-github-bot/configure

@refack refack changed the title need to generate a new token need to generate a Jenkins API new token Nov 17, 2018
@phillipj
Copy link
Member

I don't have privileges do see those tokens anymore, so I can't help update them.

FYI all the secrets the bot gets provided as environment variables are defined in the secrets repo.

@richardlau
Copy link
Member

I don't have privileges do see those tokens anymore, so I can't help update them.

FYI all the secrets the bot gets provided as environment variables are defined in the secrets repo.

Is that a @nodejs/build-infra issue then?

@phillipj
Copy link
Member

The ones who has read/write access to the github-bot secrets are a subset of the build WG, I'd ping @joyeecheung @maclover7 @rvagg.

For ref these secrets are defined in build/github-bot/deployment_secrets.md inside the secrets repo and used together with the create-github-bot.yml playbook.

@refack
Copy link
Contributor Author

refack commented Nov 19, 2018

BTW: that group might need a refresh - nodejs/build#1575

@maclover7
Copy link
Contributor

I can take a look at this in the next day or so

@rvagg
Copy link
Member

rvagg commented Nov 21, 2018

OK, figured it out. Login credentials for nodejs-github-bot are in secrets/build/github-bot/github_bot_account.md. So I've logged in to Jenkins as that and made a new API token there. It's now in secrets/build/github-bot/deployment_secrets.md and also on the gh-bot server and I've restarted its services.

Documented some of this in the user description @ https://ci.nodejs.org/user/nodejs-github-bot/

What's the best way to test this or do I just watch for the next PR to see if it's worked?

@refack
Copy link
Contributor Author

refack commented Nov 21, 2018

Works: nodejs/node#24538

@refack refack closed this as completed Nov 21, 2018
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

5 participants