Skip to content

need to generate a Jenkins API new token #201

Closed

Description

@refack

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

Activity

  1. changed the title [-]need to generate a new token[/-] [+]need to generate a Jenkins API new token[/+] on Nov 17, 2018
  2. phillipj commented on Nov 18, 2018

    @phillipj
    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.

  3. richardlau commented on Nov 19, 2018

    @richardlau
    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?

  4. phillipj commented on Nov 19, 2018

    @phillipj
    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.

  5. refack commented on Nov 19, 2018

    @refack
    ContributorAuthor

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

  6. maclover7 commented on Nov 19, 2018

    @maclover7
    Contributor

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

  7. rvagg commented on Nov 21, 2018

    @rvagg
    Member

    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?

  8. refack commented on Nov 21, 2018

    @refack
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions