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

feat: ci plugin support update when ci file change #1168

Merged
merged 3 commits into from
Oct 12, 2022

Conversation

steinliber
Copy link
Contributor

@steinliber steinliber commented Oct 11, 2022

Signed-off-by: Meng JiaFeng jiafeng.meng@merico.dev

Pre-Checklist

Note: please complete ALL items in the following checklist.

  • I have read through the CONTRIBUTING.md documentation.
  • My code has the necessary comments and documentation (if needed).
  • I have added relevant tests

Description

  • ci plugin will update file in scm when ci files change
  • rename scm client method for better understandable
  • move ci server related code to server module

Related Issues

close #1161

New Behavior (screenshots if needed)

@steinliber steinliber requested a review from a team as a code owner October 11, 2022 14:20
Signed-off-by: Meng JiaFeng <jiafeng.meng@merico.dev>
pkg/util/scm/git/state.go Outdated Show resolved Hide resolved
Copy link
Member

@iyear iyear left a comment

Choose a reason for hiding this comment

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

LGTM. I am not familar with gitlab library, so I only reviewed the basic logic.

Signed-off-by: Meng JiaFeng <jiafeng.meng@merico.dev>
internal/pkg/plugininstaller/ci/installer.go Outdated Show resolved Hide resolved
internal/pkg/plugininstaller/ci/option.go Show resolved Hide resolved
internal/pkg/plugininstaller/ci/server/server.go Outdated Show resolved Hide resolved
internal/pkg/plugininstaller/ci/server/server.go Outdated Show resolved Hide resolved
Signed-off-by: Meng JiaFeng <jiafeng.meng@merico.dev>
Copy link
Member

@aFlyBird0 aFlyBird0 left a comment

Choose a reason for hiding this comment

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

LGTM

@steinliber steinliber merged commit 4769329 into devstream-io:main Oct 12, 2022
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.

🍀 Proposal: update plugin when ci files changed
4 participants