Skip to content

Bot deployment, access, & permission #23

Description

@williamkapke

ATM, the bot is deployed manually by @phillipj to his dokku account while we get it started.

The bot account needs significant org permissions to perform some of it's actions. This access means PRs needs to be carefully reviewed and scrutinized for security before deployment.

We will probably want to:

  • Move this repo to the nodejs org
  • Give commit rights to a restricted set of people in the Node.js Org
  • Determine an owner. Build WG? CTC? TSC? Something new?
  • Determine a deployment strategy. (Automatic? Always Manual? By whom?)

/cc @mikeal

Activity

  1. jbergstroem commented on Apr 13, 2016

    @jbergstroem
    Member

    Since the build group runs and maintains most infra for Node.js I think this would be a good fit. Ultimately, I'd like to see an automatic deployment strategy if the active contributors in here deem it stable enough.

    Edit: the benefit of having the build group managing it is also that there is an established trust for things like secrets and access.

  2. Fishrock123 commented on Apr 13, 2016

    @Fishrock123
    Contributor

    We could probably have this just deploy like the website, where master automatically gets picked up by a webhook.

  3. Fishrock123 commented on Apr 13, 2016

    @Fishrock123
    Contributor

    The bot account needs significant org permissions to perform some of it's actions.

    Oh true, because of write perms for labels.

    I don't actually think it's the hugest deal. All the repos are git, anything you could do is pretty easily recoverable (besides deleting user comments strangely enough).

    If we want it to be secure: we should make it check gpg keys for signed git tag(s).

  4. jbergstroem commented on Apr 14, 2016

    @jbergstroem
    Member

    Also likely needs elevated access to jenkins.

  5. Fishrock123 commented on Apr 15, 2016

    @Fishrock123
    Contributor

    Hmmm, #29 would need owner GitHub org access.

    Perhaps it would be better to do that bit though a separate proxy or something so that we don't need to be as worried?

  6. phillipj commented on Jul 16, 2016

    @phillipj
    Member

    Perhaps it would be better to do that bit though a separate proxy or something so that we don't need to be as worried?

    @Fishrock123 could you elaborate on what a separate proxy means in detail/what it would do in practice, and why that would make it safer than just providing this bot with GH org access?

  7. phillipj commented on Aug 5, 2016

    @phillipj
    Member

    I just moved the bot repo to the org 👯

    edit: gave access to everyone in the build WG for now

  8. williamkapke commented on Sep 24, 2016

    @williamkapke
    ContributorAuthor

    All of the tasks listed have been completed! 🎉
    Approving & assigning elevated permissions should be discussed in new issues (and are).

    Closing.

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