Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow synchronization with explicit project slug #564

Merged
merged 3 commits into from
Nov 13, 2023

Conversation

f1ames
Copy link
Contributor

@f1ames f1ames commented Nov 9, 2023

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

  • As above.

Fixes

  • None.

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

Copy link

changeset-bot bot commented Nov 9, 2023

🦋 Changeset detected

Latest commit: 3c3f400

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

@f1ames f1ames force-pushed the f1ames/feat/synchronize-explicit-project branch from 4810cb0 to 3c3f400 Compare November 9, 2023 13:25
@f1ames f1ames merged commit 3b57fff into main Nov 13, 2023
2 checks passed
@f1ames f1ames deleted the f1ames/feat/synchronize-explicit-project branch November 13, 2023 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants