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: check if the number of plugins on s3 is correct #1321

Merged

Conversation

KeHaohaoke
Copy link
Contributor

@KeHaohaoke KeHaohaoke commented Dec 8, 2022

Signed-off-by: KeHaoKH hao.ke@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

check if the number of plugins on s3 is correct.
By calculating the total number of local plugin files and comparing it with the total number of plugins in the corresponding directory of s3 (minus the number of dtm files for 3 platforms, i.e. 3), if they are not equal, an error message is returned after script execution.

New Behavior (screenshots if needed)

I took out the relevant pieces of logic in the script, named it a test script, and tested the results as follows:

image

Signed-off-by: KeHaoKH <hao.ke@merico.dev>
Signed-off-by: KeHaoKH <hao.ke@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

@daniel-hutao daniel-hutao merged commit 13a1cf8 into devstream-io:main Dec 9, 2022
@daniel-hutao daniel-hutao deleted the feat-kehao-check-s3plugin-num branch December 9, 2022 07:05
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.

4 participants