kubeshop / monokle-core

Monokle validation engine, CLI and shared UI components
MIT License
18 stars 3 forks source link

Allow synchronization with explicit project slug #564

Closed f1ames closed 12 months ago

f1ames commented 12 months ago

This PR extends synchronizer synchronization API to allow passing project slug with path / repo data. This is useful for scenarios where integration already has project slug (e.g. it was passed by user/developer). It also reduces API requests and permissions issue (e.g. when using Automation Token, getUser query is not allowed and it was used to fetch project slug for repo data).

Needed for https://github.com/kubeshop/monokle-saas/issues/2037.

Changes

Fixes

Checklist

changeset-bot[bot] commented 12 months ago

🦋 Changeset detected

Latest commit: 3c3f400a231e5d6500d5e69867c0fcbd294857ad

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------------------- | ----- | | @monokle/synchronizer | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR