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

Fleet UI: Add automatic install to custom packages upload #24729

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

RachelElysia
Copy link
Member

Issue

Story #23344
FE #24384

Description

  • Select manual or automatic install type when uploading a custom package

Screenshots/screen recording

Tests updated

Checklist for submitter

If some of the following don't apply, delete the relevant line.

  • Changes file added for user-visible changes in changes/, orbit/changes/ or ee/fleetd-chrome/changes.
  • Added/updated tests
  • Manual QA for all new/changed functionality

Copy link

codecov bot commented Dec 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.55%. Comparing base (abeb16c) to head (71b1d76).
Report is 15 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #24729      +/-   ##
==========================================
- Coverage   63.55%   63.55%   -0.01%     
==========================================
  Files        1601     1601              
  Lines      151668   151672       +4     
  Branches     3951     3952       +1     
==========================================
- Hits        96398    96397       -1     
- Misses      47595    47600       +5     
  Partials     7675     7675              
Flag Coverage Δ
frontend 53.76% <ø> (-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.

@@ -276,6 +277,7 @@ export interface ISoftwareInstallResult {
post_install_script_output: string;
created_at: string;
updated_at: string | null;
automatic_install: boolean;
Copy link
Member Author

Choose a reason for hiding this comment

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

@lucasmrod Will this return? or is it just for post

Copy link
Member

Choose a reason for hiding this comment

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

Just for the POST. Because what makes the installer automated is the fact that it has a policy associated to it. The UI already renders the "Automatic install" using the automatic_install_policies field.

@@ -306,6 +308,7 @@ export interface ISoftwareInstallVersion {

export interface IHostSoftwarePackage {
name: string;
automatic_install: boolean;
Copy link
Member Author

Choose a reason for hiding this comment

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

@lucasmrod Will this return? or is it just for post

Copy link
Member

Choose a reason for hiding this comment

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

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

Successfully merging this pull request may close these issues.

2 participants