Skip to content

feat: Allow passing an auth token when downloading Hub plugins#138

Merged
kodiakhq[bot] merged 3 commits intomainfrom
feat/support_hub_auth
Oct 26, 2023
Merged

feat: Allow passing an auth token when downloading Hub plugins#138
kodiakhq[bot] merged 3 commits intomainfrom
feat/support_hub_auth

Conversation

@erezrokah
Copy link
Member

Summary

Related to https://github.com/cloudquery/cloudquery-issues/issues/737 (internal issue).
This should unlock paid plugins downloads from the Hub. CLI PR coming in a bit


Use the following steps to ensure your PR is ready to be reviewed

  • Read the contribution guidelines 🧑‍🎓
  • Run go fmt ./... to format your code 🖊
  • Lint your changes via golangci-lint run 🚨 (install golangci-lint here)
  • Update or add tests 🧪
  • Ensure the status checks below are successful ✅

typ PluginType
}{
{testName: "should download test plugin from cloudquery registry", team: "cloudquery", plugin: "test", version: "v3.1.11", typ: PluginSource},
{testName: "should download test plugin from cloudquery registry", team: "cloudquery", plugin: "azuredevops", version: "v3.0.12", typ: PluginSource},
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test plugin is private so we can't download it without an auth token. It worked before due to a bug we fixed

tmpDir := t.TempDir()
cfg := Config{
Name: "test",
Name: "azuredevops",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test plugin is private so we can't download it without an auth token. It worked before due to a bug we fixed

@erezrokah erezrokah requested review from disq and removed request for yevgenypats October 26, 2023 10:19
@erezrokah erezrokah added the automerge Add to automerge PRs once requirements are met label Oct 26, 2023
@erezrokah erezrokah requested review from a team and bbernays and removed request for a team and disq October 26, 2023 13:21
@erezrokah erezrokah requested review from hermanschaaf and removed request for bbernays October 26, 2023 13:29
Co-authored-by: Kemal <223029+disq@users.noreply.github.com>
@kodiakhq kodiakhq bot merged commit b9f491d into main Oct 26, 2023
@kodiakhq kodiakhq bot deleted the feat/support_hub_auth branch October 26, 2023 13:33
kodiakhq bot pushed a commit that referenced this pull request Oct 26, 2023
🤖 I have created a release *beep* *boop*
---


## [1.13.0](v1.12.3...v1.13.0) (2023-10-26)


### Features

* Allow passing an auth token when downloading Hub plugins ([#138](#138)) ([b9f491d](b9f491d))


### Bug Fixes

* **deps:** Update github.com/cloudquery/arrow/go/v14 digest to dbcb149 ([#130](#130)) ([e91be81](e91be81))
* **deps:** Update github.com/cloudquery/arrow/go/v14 digest to f46436f ([#137](#137)) ([f92d39c](f92d39c))
* **deps:** Update module github.com/cloudquery/cloudquery-api-go to v1.2.9 ([#133](#133)) ([866eb55](866eb55))
* **deps:** Update module github.com/cloudquery/cloudquery-api-go to v1.3.0 ([#134](#134)) ([5ba2f68](5ba2f68))
* **deps:** Update module github.com/cloudquery/cloudquery-api-go to v1.4.0 ([#135](#135)) ([9d8001d](9d8001d))
* **deps:** Update module github.com/cloudquery/cloudquery-api-go to v1.4.1 ([#136](#136)) ([6e1bef2](6e1bef2))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Add to automerge PRs once requirements are met feat

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants