tugboat
tugboat copied to clipboard
Does Tugboat Support Multiple Teams Yet?
I'm a member of 2 DO teams and I can only see Droplets for one of my teams.
@zlanich Is that possible through the API? I thought each key only allows access to one team
each key is separate for each team, i would think do would need to release the concept of global keys... but idk
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 [email protected] 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.
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.
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 [email protected] 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.
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 [email protected] 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 [email protected] 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.
@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
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 [email protected] 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.