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

Does Tugboat Support Multiple Teams Yet? #247

Open
zlanich opened this issue Jun 16, 2016 · 8 comments
Open

Does Tugboat Support Multiple Teams Yet? #247

zlanich opened this issue Jun 16, 2016 · 8 comments

Comments

@zlanich
Copy link

zlanich commented Jun 16, 2016

I'm a member of 2 DO teams and I can only see Droplets for one of my teams.

@petems
Copy link
Owner

petems commented Jul 14, 2016

@zlanich Is that possible through the API? I thought each key only allows access to one team

@mikedevita
Copy link

each key is separate for each team, i would think do would need to release the concept of global keys... but idk

@zlanich
Copy link
Author

zlanich commented Oct 6, 2016

I'm not certain off the top of my head if the API has team support with one API key, but even if you need separate API keys, it would be nice to be able to configure multiple keys, one for each team and to either be able to use a flag to specify which team you're administering or for it to do so automatically if possible.

Best Regards,

Zach Lanich
Business Owner, Entrepreneur, Creative
Owner/Lead Developer
weCreate LLC
www.WeCreate.com

On Jul 14, 2016, at 4:21 PM, Peter Souter notifications@github.com wrote:

@zlanich Is that possible through the API? I thought each key only allows access to one team


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@mikedevita
Copy link

mikedevita commented Oct 6, 2016

agreed, some support would be nice, each key is individual to each team i just tested it.

whether it be individual keys and somehow to easily switch between them, or a master key.

@zlanich
Copy link
Author

zlanich commented Oct 6, 2016

I wish I knew a lick of Ruby. I would have looked into it a while ago lol.

Best Regards,

Zach Lanich
Business Owner, Entrepreneur, Creative
Owner/Lead Developer
weCreate LLC
www.WeCreate.com

On Oct 6, 2016, at 3:53 PM, Mike DeVita notifications@github.com wrote:

agreed, some support would be nice, each key is individual to each team i just tested it.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@mikedevita
Copy link

i know enough to get dangerous lol not enough to consider worthy on contributing any good code though.

Sent from my iPhone

On Oct 6, 2016, at 1:09 PM, zlanich notifications@github.com wrote:

I wish I knew a lick of Ruby. I would have looked into it a while ago lol.

Best Regards,

Zach Lanich
Business Owner, Entrepreneur, Creative
Owner/Lead Developer
weCreate LLC
www.WeCreate.com

On Oct 6, 2016, at 3:53 PM, Mike DeVita notifications@github.com wrote:

agreed, some support would be nice, each key is individual to each team i just tested it.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@petems
Copy link
Owner

petems commented Oct 8, 2016

@zlanich @mikedevita It's possible to implement this, just not sure of the UX. Any ideas appreciated?

Would something like an environmental flag be good?

TUGBOAT_TEAM=developers tugboat create awesome_app_server

With a config with multiple team entries:

---
authentication:
  developers:
    access_token: b4wf7B7xn6r6TW6Cb4wf7B7xn6r6TW6Cb4wf7B7xn6r6TW6C
  admins:
    access_token: 6SfuFs4ysrVtZHFL6SfuFs4ysrVtZHFL6SfuFs4ysrVtZHFL6SfuF
ssh:
  ssh_user: root
  ssh_key_path: "~/.ssh/id_rsa"
  ssh_port: '22'
defaults:
  region: lon1
  image: centos-6-5-x64
  size: 512mb
  ssh_key: ['foo_key']
  private_networking: 'false'
  backups_enabled: 'false'
  ip6: 'false'

As a workaround for now, you could have multiple entries in the ~/.tugboat file and change by commenting and uncommenting for now

@mikedevita
Copy link

Yeah that would be good and if no team is specified it'd work as normally expected.

Sent from my iPhone

On Oct 8, 2016, at 12:10 PM, Peter Souter notifications@github.com wrote:

@zlanich @mikedevita It's possible to implement this, just not sure of the UX. Any ideas appreciated?

Would something like an environmental flag be good?

TUGBOAT_TEAM=developers tugboat create awesome_app_server

With a config with multiple team entries:


authentication:
developers:
access_token: b4wf7B7xn6r6TW6Cb4wf7B7xn6r6TW6Cb4wf7B7xn6r6TW6C
admins:
access_token: 6SfuFs4ysrVtZHFL6SfuFs4ysrVtZHFL6SfuFs4ysrVtZHFL6SfuF
ssh:
ssh_user: root
ssh_key_path: "~/.ssh/id_rsa"
ssh_port: '22'
defaults:
region: lon1
image: centos-6-5-x64
size: 512mb
ssh_key: ['foo_key']
private_networking: 'false'
backups_enabled: 'false'
ip6: 'false'
As a workaround for now, you could have multiple entries in the ~/.tugboat file and change by commenting and uncommenting for now


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

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

No branches or pull requests

3 participants