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 script to help isolate environment during TUF build #26495

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dantecatalfamo
Copy link
Member

@dantecatalfamo dantecatalfamo commented Feb 20, 2025

My little go program that helps isolate the environment for the TUF build process

Copy link

codecov bot commented Feb 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.85%. Comparing base (5d9026b) to head (5f4a4d7).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #26495   +/-   ##
=======================================
  Coverage   63.85%   63.85%           
=======================================
  Files        1661     1661           
  Lines      159221   159243   +22     
  Branches     4181     4181           
=======================================
+ Hits       101671   101687   +16     
- Misses      49612    49616    +4     
- Partials     7938     7940    +2     
Flag Coverage Δ
backend 64.69% <ø> (+<0.01%) ⬆️

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.


fleetUrl := flag.String("fleet", "", "Fleet server URL (required)")
tufUrl := flag.String("tuf", "", "TUF server URL (required)")
enrollSecret := flag.String("enroll", "", "Enroll secret (required)")
Copy link
Contributor

Choose a reason for hiding this comment

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

for consistency with other tools, I'd set this to enroll-secret

Comment on lines +21 to +23
desktop := flag.Bool("desktop", false, "Generate fleet desktop")

fleetUrl := flag.String("fleet", "", "Fleet server URL (required)")
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd do fleet-desktop and fleet-url here for consistency as well

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