Repository navigation
Add plugin for Treasure Data Toolbelt - #176
Conversation
|
Thanks for the contribution @Lewuathe ! Code lgtm but static check is failing due to unformatted files. |
|
@AndyTitu Thank you for letting me know. I fixed the format. Could you please take a look at this one again? |
|
Terribly sorry for the long turnaround! Only one other comment on an older thread, otherwise, this looks good to go! Thank you for your contribution!! |
SimonBarendse
left a comment
There was a problem hiding this comment.
Thank you for the contribution @Lewuathe! Welcome Treasure Data to the ecosystem! ❤️
I think I've found a small typo, and there's one last thing where I think we're good, but I'd like to confirm with a teammate who knows more about that area.
Lewuathe
left a comment
There was a problem hiding this comment.
Thanks for the review!
But I see the lint error in CI.
https://github.com/1Password/shell-plugins/actions/runs/4323502899/jobs/7547182221
I could not reproduce the issue on my machine with the following version. Is there anything wrong with the format?
$ golangci-lint run
$ golangci-lint --version
golangci-lint has version 1.51.2 built from 3e8facb on 2023-02-19T20:54:52Z
florisvdg
left a comment
There was a problem hiding this comment.
Looks good! Left a few small comments below.
Co-authored-by: Floris van der Grinten <floris@grinten.com>
Co-authored-by: Floris van der Grinten <floris@grinten.com>
SimonBarendse
left a comment
There was a problem hiding this comment.
Thank you for the contribution @Lewuathe! ❤️ And welcome to the ecosystem Treasure Data 🎉
Lewuathe
left a comment
There was a problem hiding this comment.
@SimonBarendse @hculea Thanks for the tailored review!
Lewuathe
left a comment
There was a problem hiding this comment.
@florisvdg @SimonBarendse Is there any specific reason not to merge this PR even after it's approved? Is there something I can do?
|
Apologies for the delay, this can indeed be merged. Once merged it will go live in the next 1Password CLI release. |
|
@SimonBarendse Thanks! |
Summary
Add support for a new plugin for the TreasureData Toolbelt
Testing
Setup
Importer
After installing and setting up Treasure Data Toolbelt, a config file should have been created at
~/.td/td.conf.Initialize the Treasure Data plugin and test the importer using this config file. The credentials should be saved in 1Password successfully by selecting this config file. The entry should have
userandapi keyfields.Provisioner
After initializing the Treasure Data plugin and having your Treasure Data credentials saved in 1Password, run a
tdcommand. The provisioner should injectTD_API_KEYenvironment so that the tool can refer to the necessary credential at runtime.Try running the following command.
Note: While testing the provisioner, ensure that your credentials are not currently stored in
~/.td/td.confnor environment variables.