fleet/orbit/pkg
Andrea Scarpino b488b0e1db
[fleetctl] fix deb package build (#23796)
I'm trying to setup a GitLab CI job to build the deb packages, but it
fails with:

```
Error: open output file: open build/fleet-osquery_1.35.0_amd64.deb: no such file or directory
```

It happens because I can't mount the `build` volume as I would do on my
local pc. To reproduce:

```
docker run -it fleetdm/fleetctl package --type=deb --fleet-url=my.url --enroll-secret=mysecret
```

`pkg` and `msi` works fine. I can workaround it by creating the `build`
dir first, but I think that's also fleetctl job to create it.

# Checklist for submitter

- [ ] 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.
- [ ] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [ ] Added support on fleet's osquery simulator `cmd/osquery-perf` for
new osquery data ingestion features.
- [ ] Added/updated tests
- [ ] If paths of existing endpoints are modified without backwards
compatibility, checked the frontend/CLI for any necessary changes
- [ ] If database migrations are included, checked table schema to
confirm autoupdate
- For database migrations:
- [ ] Checked schema for all modified table for columns that will
auto-update timestamps during migration.
- [ ] Confirmed that updating the timestamps is acceptable, and will not
cause unwanted side effects.
- [ ] Ensured the correct collation is explicitly set for character
columns (`COLLATE utf8mb4_unicode_ci`).
- [ ] Manual QA for all new/changed functionality
- For Orbit and Fleet Desktop changes:
- [ ] Orbit runs on macOS, Linux and Windows. Check if the orbit
feature/bugfix should only apply to one platform (`runtime.GOOS`).
- [ ] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux.
- [ ] Auto-update manual QA, from released version of component to new
version (see [tools/tuf/test](../tools/tuf/test/README.md)).
2024-11-18 10:43:41 -03:00
..
augeas fleetctl, API, copy updates around host identifiers (#20220) 2024-07-09 10:25:01 -07:00
bitlocker fix formatting of unrecognized BitLocker erorr (#21220) 2024-08-09 11:52:50 -03:00
build Add user agent to Orbit HTTP client (#5429) 2022-05-02 11:03:49 -07:00
constant Delete Fleet Desktop auth token when we detect a migrated host (#23658) 2024-11-09 23:35:49 -06:00
cryptoinfo Enable staticcheck Go linter. (#23487) 2024-11-05 11:16:24 -06:00
dataflatten Add gosimple linter (#23250) 2024-10-29 14:17:51 -05:00
execuser Adding telemetry for specific Fleet Desktop errors (#23349) 2024-10-31 14:24:42 -05:00
go-paniclog Fix Fleet Desktop bugs on Windows (#16402) 2024-01-29 18:52:55 -03:00
insecure Make creation of http.Client uniform across the codebase (#3097) 2021-11-24 15:56:54 -05:00
installer Enable staticcheck Go linter. (#23487) 2024-11-05 11:16:24 -06:00
keystore Add gosimple linter (#23250) 2024-10-29 14:17:51 -05:00
logging Reduce orbit logging when the server is down (#16968) 2024-02-21 15:36:15 -03:00
migration fix: add missing comments 2024-08-15 19:00:47 -04:00
osquery Perform early restart before starting sub-systems and minor refactor of orbit sub-systems (#20610) 2024-07-19 12:44:43 -03:00
osservice 8009 fleet desktop icon duplication (#8017) 2022-10-13 10:58:37 -03:00
packaging [fleetctl] fix deb package build (#23796) 2024-11-18 10:43:41 -03:00
platform Fix Fleet Desktop bugs on Windows (#16402) 2024-01-29 18:52:55 -03:00
process Fleetctl to package .app bundles for osquery (and changes for orbit to support them) (#4393) 2022-03-15 16:04:12 -03:00
profiles feat: manual MDM migration updates (#21115) 2024-08-08 15:46:42 -04:00
scripts Updating golangci-lint to 1.61.0 (#22973) 2024-10-18 12:38:26 -05:00
setup_experience fix: make icon not as big (#23176) 2024-10-24 12:04:59 -04:00
swiftdialog Swiftdialog Closed method (#23024) 2024-11-12 15:52:46 -05:00
table Add team_identifier to macOS software (#23766) 2024-11-15 14:17:04 -03:00
token Fixing fleetd to NOT make unnecessary duplicate call to orbit/device_token endpoint. (#15543) 2023-12-10 17:00:24 -06:00
update Adding logging to TestRenewEnrollmentProfilePrevented (#23742) 2024-11-13 09:27:39 -06:00
user fix: don't attempt to launch fleet desktop until the user is logged into GUI (#16090) 2024-01-17 10:00:28 -05:00
useraction Catch signals for graceful fleet desktop exit (#23054) 2024-10-24 12:09:55 -04:00
windows Add Kolide osquery tables 2023-11-01 20:11:35 -06:00