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

Add support to publish cfr as a binary using PyInstaller #175

Merged
merged 2 commits into from
Jul 8, 2024
Merged

Conversation

amotl
Copy link
Member

@amotl amotl commented Jun 18, 2024

About

Use PyInstaller to build self-contained application bundles of the CrateDB Cluster Flight Recorder (CFR).

Preview

See section "Artifacts » Produced during runtime" on GHA run #9826830191.

Copy link

codecov bot commented Jun 18, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 81.76%. Comparing base (2f9540f) to head (7fb9df3).
Report is 2 commits behind head on main.

Files Patch % Lines
cratedb_toolkit/cfr/cli.py 50.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #175      +/-   ##
==========================================
+ Coverage   72.01%   81.76%   +9.74%     
==========================================
  Files          79       79              
  Lines        3209     3213       +4     
==========================================
+ Hits         2311     2627     +316     
+ Misses        898      586     -312     
Flag Coverage Δ
influxdb 30.84% <50.00%> (?)
main 59.97% <50.00%> (-0.02%) ⬇️
mongodb 39.24% <50.00%> (?)
pymongo 42.35% <50.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@amotl

This comment was marked as resolved.

@amotl

This comment was marked as resolved.

@amotl amotl force-pushed the s/cfr-binary branch 3 times, most recently from 8b7b6b7 to addaeec Compare July 6, 2024 21:16
@amotl
Copy link
Member Author

amotl commented Jul 7, 2024

Hi again. I've added a basic CI/GHA workflow definition with 7fb9df3, and reported about the outcome on the tracking ticket.

Building upon this, we can think about other build- and publishing-destinations/-procedures/-cycles on behalf of subsequent iterations, if you agree with that approach, @seut.

@amotl amotl requested review from seut and surister July 7, 2024 11:30
@amotl amotl marked this pull request as ready for review July 7, 2024 11:33
@amotl
Copy link
Member Author

amotl commented Jul 8, 2024

Copy link
Member

@seut seut left a comment

Choose a reason for hiding this comment

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

👍 thank you!

@amotl amotl merged commit 488a2a2 into main Jul 8, 2024
27 checks passed
@amotl amotl deleted the s/cfr-binary branch July 8, 2024 08:34
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