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

chore: integrate goreleaser for user_scripts and restructuring #6911

Merged
merged 6 commits into from
Jan 25, 2025

Conversation

prashant-shahi
Copy link
Member

@prashant-shahi prashant-shahi commented Jan 23, 2025

Summary

Integrate goreleaser for user_scripts and restructuring

Related Issues / PR's

NA

Screenshots

NA

Affected Areas and Manually Tested Areas

NA


Important

Integrate GoReleaser for user_scripts, restructure directories, and update Makefile with new targets.

  • Integration:
    • Add .github/workflows/goreleaser.yaml for GoReleaser on tag pushes.
    • Add scripts/clickhouse/histogramquantile/.goreleaser.yaml for GoReleaser configuration.
  • Makefile:
    • Add CH_HISTOGRAM_QUANTILE_DIRECTORY variable.
    • Add goreleaser-snapshot and goreleaser-snapshot-histogram-quantile targets.
  • Deprecation:
    • Add .deprecated file in deploy/docker/clickhouse-setup/user_scripts.
  • File Restructuring:
    • Rename histogramQuantile.go to main.go and move to scripts/clickhouse/histogramquantile.

This description was created by Ellipsis for 59fe968. It will automatically update as commits are pushed.

@prashant-shahi prashant-shahi requested a review from a team as a code owner January 23, 2025 12:40
Copy link

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@github-actions github-actions bot added the chore label Jan 23, 2025
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Reviewed everything up to 12a9f0f in 14 seconds

More details
  • Looked at 77 lines of code in 4 files
  • Skipped 1 files when reviewing.
  • Skipped posting 2 drafted comments based on config settings.
1. scripts/clickhouse/histogramquantile/.goreleaser.yaml:18
  • Draft comment:
    The 'main' field should specify the path to the main package, typically ending with a main.go file. Ensure the path is correct.
  • Reason this comment was not posted:
    Comment did not seem useful.
2. Makefile:20
  • Draft comment:
    Avoid using the component/index.tsx file structure approach, as it makes it difficult to debug and find components using global search tools like VS Code. This rule is not violated in this PR, so no changes are needed here.
  • Reason this comment was not posted:
    Confidence changes required: 0%
    The file structure approach using component/index.tsx is not present in the diff, so no comment is needed for that rule.

Workflow ID: wflow_BAEOdTwIsVtaBqsl


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Copy link

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

Copy link

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

❌ Changes requested. Incremental review on 59fe968 in 34 seconds

More details
  • Looked at 44 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. Makefile:196
  • Draft comment:
    No issues found related to the specified rules.
  • Reason this comment was not posted:
    Confidence changes required: 0%
    The Makefile and .goreleaser.yaml files do not contain any violations of the specified rules. The changes in the Makefile are related to the integration of GoReleaser, and the .goreleaser.yaml file is properly structured for its purpose. No hardcoded colors, inline styles, or unrelated functions are present.

Workflow ID: wflow_uDchDAQ4uuJJQ9DO


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@prashant-shahi prashant-shahi enabled auto-merge (squash) January 24, 2025 17:10
@prashant-shahi prashant-shahi merged commit c30c882 into main Jan 25, 2025
16 checks passed
@prashant-shahi prashant-shahi deleted the chore/ch-scripts branch January 25, 2025 11:40
@grandwizard28
Copy link
Collaborator

@prashant-shahi please create a corresponding PR on charts repo as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants