Skip to content

fix: Add X-Meta-User-Team-Name during docker push#16013

Merged
kodiakhq[bot] merged 1 commit into
cloudquery:mainfrom
erezrokah:fix/add_missing_header_docker_publish
Jan 3, 2024
Merged

fix: Add X-Meta-User-Team-Name during docker push#16013
kodiakhq[bot] merged 1 commit into
cloudquery:mainfrom
erezrokah:fix/add_missing_header_docker_publish

Conversation

@erezrokah
Copy link
Copy Markdown
Member

Summary

The requirement for this header was added recently in the backend to track downloads, so the backend needs to know the team that's downloading the plugin. It's less relevant for the push operation though, but still needed. It's ok to use the team from the manifest - it just has to be any team the user is a part of. During push we already verify the token used to push has access to the team.

@erezrokah erezrokah added the automerge Automatically merge once required checks pass label Jan 3, 2024
@kodiakhq kodiakhq Bot merged commit 129b7c2 into cloudquery:main Jan 3, 2024
kodiakhq Bot pushed a commit that referenced this pull request Jan 12, 2024
🤖 I have created a release *beep* *boop*
---


## [5.0.0](cli-v4.4.0...cli-v5.0.0) (2024-01-12)


### ⚠ BREAKING CHANGES

* Remove deprecated top level spec options (#15999). The following deprecated spec options were removed:
    * source plugin top level spec:
      * `concurrency`
      * `table_concurrency`
      * `resource_concurrency`
      * `backend`
      * `backend_spec`
    * destination plugin top level spec:
      * `batch_size`
      * `batch_size_bytes`
      
    **For most users this shouldn't be a breaking change**. We've deprecated these options a while ago and some were moved to the plugin level spec. If you were using the deprecated options on a CLI version lower than `v5.0.0` you should have gotten a warning about it.

### Features

* Add JSON schema for CLI specs ([#15998](#15998)) ([da02049](da02049))
* Remove deprecated spec options (#15999) ([9e25f4a](9e25f4a))
* Upload images from markdown files to CDN when publishing ([#16033](#16033)) ([cf7cdb1](cf7cdb1))


### Bug Fixes

* Add `X-Meta-User-Team-Name` during docker push ([#16013](#16013)) ([129b7c2](129b7c2))
* Add missing `X-Meta-User-Team-Name` header and manifest types option ([#16113](#16113)) ([9d8899e](9d8899e))
* **deps:** Update github.com/apache/arrow/go/v15 digest to 6d44906 ([#16115](#16115)) ([8b0ae62](8b0ae62))
* **deps:** Update module github.com/cloudquery/cloudquery-api-go to v1.6.4 ([#16067](#16067)) ([2e7b7d6](2e7b7d6))
* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.16.2 ([#15948](#15948)) ([2def2ef](2def2ef))
* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.16.3 ([#16002](#16002)) ([e2d5605](e2d5605))
* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.16.4 ([#16126](#16126)) ([6a776ae](6a776ae))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](#15932)) ([2292b5a](2292b5a))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.1 ([#16069](#16069)) ([edda65c](edda65c))

---
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

area/cli automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants