Skip to content

Cherry-Pick: Remove default EXE install/uninstall scripts, require entering install/uninstall scripts on EXE upload#27709

Merged
iansltx merged 2 commits intorc-minor-fleet-v4.66.0from
cherry-pick-27267-drop-exe-install-scripts
Apr 1, 2025
Merged

Cherry-Pick: Remove default EXE install/uninstall scripts, require entering install/uninstall scripts on EXE upload#27709
iansltx merged 2 commits intorc-minor-fleet-v4.66.0from
cherry-pick-27267-drop-exe-install-scripts

Conversation

@iansltx
Copy link
Copy Markdown
Member

@iansltx iansltx commented Mar 31, 2025

Merged into main in #27268.

…l/uninstall scripts on EXE upload (#27268)

For #27267.

Below is what's shown immediately after selecting an EXE:

<img width="1254" alt="image"
src="https://github.com/user-attachments/assets/a28d8565-de88-448a-bdbc-92aefc34ad55"
/>


TODO:

* Tests
* GitOps requirements changes
* Disabling add button/adding errors when required scripts aren't
specified

# Checklist for submitter

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

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files)
for more information.
- [x] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [x] Added/updated automated tests
- [x] A detailed QA plan exists on the associated ticket (if it isn't
there, work with the product group's QA engineer to add it)
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Luke Heath <luke@fleetdm.com>
Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
Co-authored-by: RachelElysia <rachel@fleetdm.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 31, 2025

Codecov Report

Attention: Patch coverage is 68.75000% with 10 lines in your changes missing coverage. Please review.

Please upload report for BASE (rc-minor-fleet-v4.66.0@a09f1c8). Learn more about missing BASE report.

Files with missing lines Patch % Lines
ee/server/service/software_installers.go 50.00% 9 Missing and 1 partial ⚠️
Additional details and impacted files
@@                    Coverage Diff                    @@
##             rc-minor-fleet-v4.66.0   #27709   +/-   ##
=========================================================
  Coverage                          ?   63.78%           
=========================================================
  Files                             ?     1744           
  Lines                             ?   165794           
  Branches                          ?     4488           
=========================================================
  Hits                              ?   105746           
  Misses                            ?    51802           
  Partials                          ?     8246           
Flag Coverage Δ
backend 64.59% <68.75%> (?)
frontend 54.25% <ø> (?)

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@iansltx
Copy link
Copy Markdown
Member Author

iansltx commented Mar 31, 2025

@lukeheath sorry, I'm gonna pull the workflow change out of this because, since the it-and-security script move didn't get cherry-picked, this breaks that test rather than fixing it. On a call now otherwise I would've fixed that earlier.

@iansltx iansltx assigned jahzielv and unassigned ksykulev Mar 31, 2025
@iansltx iansltx merged commit e530314 into rc-minor-fleet-v4.66.0 Apr 1, 2025
36 checks passed
@iansltx iansltx deleted the cherry-pick-27267-drop-exe-install-scripts branch April 1, 2025 00:28
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