Commit graph

417 commits

Author SHA1 Message Date
Roberto Dip
95b1c0df62
add automation to check timestamp.json and send slack notification (#16012)
proposal/idea to check once a day if `timestamps.json` is expired and
send a slack notification if it expires on the same day or it already
expired.
2024-01-10 17:06:52 -03:00
Lucas Manuel Rodriguez
6001d02e3b
Update fleetd CHANGELOG for the 1.20.0 release (#16000) 2024-01-10 13:55:19 -03:00
Lucas Manuel Rodriguez
4627a92447
Move external dependency osquery-in-a-box to monorepo (#15871)
#15563 

- [X] Manual QA for all new/changed functionality

Tested by running the following:

If the changes haven't been merged to `main`:
```sh
fleetctl preview --preview-config 15563-move-external-dep-osquery-in-a-box-to-monorepo
fleetctl preview stop
fleetctl preview reset
```
If the changes were already merged to `main`:
```sh
fleetctl preview 
fleetctl preview stop
fleetctl preview reset
```
2024-01-10 11:45:52 -03:00
Roberto Dip
edaa7acac3
lock in macOS version for Fleet Desktop workers (#16009)
Implementing a safety measure to prevent issues like #15910 in
production.

Setting the macOS version explicitly avoids unexpected changes in the
builder runtime, ensuring the Fleet Desktop executable remains
compatible.

As of this commit, 'macos-latest' refers to 'macos-12'. We're aligning
the worker to this version, although building on macOS 13.x (presently
in GitHub workers' beta) should also be viable.
2024-01-10 11:33:48 -03:00
Victor Lyuboslavsky
14d5c9094b
fleetd-chrome unit tests (#15918) 2024-01-04 21:41:24 -06:00
Zach Wasserman
3244610ed2
Build osquery targets for 5.11.0 (#15892) 2024-01-03 15:03:59 -08:00
Lucas Manuel Rodriguez
1bdd6a98a6
Bump Fleet Desktop version to 1.19.0 (#15819) 2023-12-22 15:16:02 -03:00
Robert Fairburn
255bcd8002
GeoLite2 addon for Dogfood and Cloud (#15643) 2023-12-14 13:22:11 -06:00
Joanne Stableford
654783b715
Update min macOS for fleetctl-workstations to 14.2 (#15622) 2023-12-13 13:08:31 -05:00
Roberto Dip
6353849004
update Go to 1.21.5 (#15592)
for https://github.com/fleetdm/fleet/issues/15584

# Checklist for submitter

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

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Manual QA for all new/changed functionality
2023-12-13 13:57:12 -03:00
Joanne Stableford
fb25b5c564
Update min macOS for workstation canary group to 14.2 (#15588) 2023-12-13 11:28:39 -05:00
Martin Angers
fb01e30f27
Require a custom Clone for cacheable items, add tooling and CI check to help catch issues (#15458) 2023-12-06 14:34:22 -05:00
Tim Lee
e7132454ee
CI fix - Use bash in Start tunnel step (#14872) 2023-11-21 16:15:17 -07:00
Tim Lee
0557f10ac5
14729 smtp settings validation for TLS (#15029) 2023-11-21 11:48:21 -07:00
Eric
ed7c51c9c9
Add --coverpkg flag to go test in the Makefile (#15153)
Related to: #10209

Changes:
 - Updated the go test in the Makefile to have the `--codepkg` flag.
- Added a newline to the `test-go` GH workflow to trigger a run for this
PR


> Note: I'm creating this as a draft PR to see the results of the "Test
Go" workflow
2023-11-20 17:01:19 -06:00
Joanne Stableford
c7af163577
Update fleetctl-workstations to min macOS 14.1.1 (#15209) 2023-11-20 12:50:52 -05:00
Joanne Stableford
f02fa91576
Update fleetctl-workstations-canary to macOS 14.1.1 (#15208) 2023-11-20 12:48:02 -05:00
Joanne Stableford
7945c17a39
Update name for workflow (#15203)
Update name to "Apply latest configuration profiles and macOS updates"
Because it used to say update MDM (workflow is for more than MDM), and
keeps it in line with workstation group.
2023-11-20 12:37:42 -05:00
Lucas Manuel Rodriguez
809cc5e2d3
Bump Fleet Desktop version to v1.18.3 (#15123) 2023-11-14 07:07:55 -03:00
Zach Wasserman
4dff885b16
Generate targets for osquery 5.10.2 (#14828) 2023-11-07 14:32:41 -03:00
Lucas Manuel Rodriguez
a8bf79193f
Update Fleet Desktop to 1.18.2 (#14976) 2023-11-07 14:32:20 -03:00
Luke Heath
91db043094
Use go variable to set version in workflows (#14890) 2023-11-03 09:42:27 -05:00
Sharon Katz
ab7717009e
Add Kolide osquery tables 2023-11-01 20:11:35 -06:00
Robert Fairburn
7b31344988
Dogfood github actions and monitoring module fixes (#14875)
These items fix the github action for use with the updates to the
monitoring module.

Additionally there were some changes needed to the monitoring module to
make it behave inside the GH action.

Once this is approved/merged, the new tag for them monitoring module
will be created as `tf-mod-addon-monitoring-v1.1.1`
2023-11-01 16:34:13 -05:00
Martin Angers
0d3ba2534b
Fix checking for hosts FK when no migrations files were modified (#14866) 2023-11-01 14:41:43 -04:00
Tim Lee
203fdb51ba
Prevent hosts foreign key migrations (#14290) 2023-11-01 09:04:46 -06:00
Zach Wasserman
dbd84cc366
Generate targets for osquery 5.10.1 (#14413) 2023-10-31 10:20:20 -07:00
Eric
2216132267
Update the deploy-fleet-website workflow (#14756)
Clsoes: https://github.com/fleetdm/fleet/issues/14162

Changes:
- Added two steps to the `deploy-fleet-website` workflow to prevent
errors when pushing to the Heroku git repo:
1. The first step runs a command to install the `heroku-repo` plugin in
the Heroku CLI.
2. The second step runs a command to reset the Heroku git repo for the
Fleet website. (This has no impact on the live Heroku app)
2023-10-26 17:24:56 -05:00
dependabot[bot]
4aa1301550
Bump ossf/scorecard-action from 2.1.2 to 2.3.1 (#14723) 2023-10-24 14:25:02 -05:00
Luke Heath
23d8087401
Publish on push to prepare and patch branches (#14648) 2023-10-23 11:41:41 -05:00
Roberto Dip
ad9e30f120
Update Go to v1.21.3 (#14634)
for #14633
2023-10-19 10:01:05 -03:00
dependabot[bot]
12c46af3b2
Bump fleetdm/fleet-mdm-gitops from 1.0.7 to 1.1.0 (#14453) 2023-10-11 13:52:31 -05:00
Roberto Dip
641856c1dc
trigger orbit build on version bump (#14315)
The
[goreleaser-orbit.yaml](https://github.com/fleetdm/fleet/actions/workflows/goreleaser-orbit.yaml)
workflow tends to timeout up to 9-10 times before successfully building
a macOS binary.

We have been using this workflow as a back-up, but it requires doing the
version bump and manually triggering the workflow, which can be error
prone.

This change follows the `workflows/generate-desktop-targets.yml` to
trigger the workflow when the workflow file itself is modified.
2023-10-05 09:52:10 -03:00
Roberto Dip
5a9c0af652
Bump Fleet Desktop version to 1.17.0 (#14179) 2023-09-29 10:02:08 -03:00
Roberto Dip
3bf6f18c16
bump Orbit version to 1.17.0 (#14183) 2023-09-29 10:01:46 -03:00
Luke Heath
d809858f4e
Revert docker publish filtering on pull requests (#14125) 2023-09-26 12:02:50 -05:00
Luke Heath
1e1e28791f
Document milestone release ritual (#13932) 2023-09-25 14:35:36 -05:00
Lucas Manuel Rodriguez
fe7d9f9f8b
Allow manual run of docker publish CI action (#14051)
I need this change to load test #13926.

Due to recent changes we are not triggering a build on every
branch/commit pushed.
For load testing we need a way to trigger a build manually.
2023-09-21 15:14:43 -03:00
Luke Heath
72b3a6b7bb
Remove merge gatekeeper workflow (#13989) 2023-09-18 16:10:09 -05:00
Luke Heath
043976d250
Use GITHUB_TOKEN in merge gatekeeper (#13980) 2023-09-18 13:10:58 -05:00
Luke Heath
9debc2fd2c
Do not skip push commits on docker publish workflow (#13960)
Co-authored-by: Roberto Dip <me@roperzh.com>
2023-09-15 14:32:13 -05:00
Luke Heath
7815a7f695
Gatekeeper should ignore handbook and website PRs (#13948) 2023-09-15 09:57:28 -05:00
Luke Heath
798457d9aa
Do not run docker publish workflow on fork PRs (#13918) 2023-09-13 16:34:39 -05:00
Roberto Dip
ea6b59f179
upgrade Go version to 1.21.1 (#13877)
For #13715, this:

- Upgrades the Go version to `1.21.1`, infrastructure changes are
addressed separately at https://github.com/fleetdm/fleet/pull/13878
- Upgrades the linter version, as the current version doesn't work well
after the Go upgrade
- Fixes new linting errors (we now get errors for memory aliasing in
loops! 🎉 )

After this is merged people will need to:

1. Update their Go version. I use `gvm` and I did it like:

```
$ gvm install go1.21.1
$ gvm use go1.21.1 --default
```

2. Update the local version of `golangci-lint`:

```
$ go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.54.2
```

3. (optional) depending on your setup, you might need to re-install some
packages, for example:

```
# goimports to automatically import libraries
$  go install golang.org/x/tools/cmd/goimports@latest

# gopls for the language server
$ go install golang.org/x/tools/gopls@latest

# etc...
```
2023-09-13 15:59:35 -03:00
Lucas Manuel Rodriguez
811e38c0f2
Add build info to orbit macos build action (#13796) 2023-09-07 13:23:38 -03:00
George Karr
899cb38f22
Allow build orbit to run manually (#13795) 2023-09-07 11:32:05 -03:00
Luke Heath
6130a7bbd7
Bump Fleet Desktop version to 1.16.0 (#13753) 2023-09-06 12:46:47 -05:00
Lucas Manuel Rodriguez
9a3b4cd365
Attempt to stabilize the broken integration.yml workflow (#13653)
#13547

This is an attempt to stabilize this workflow that has been broken for
4-6 months.

# Issue and proposed solution

Github runner VMs re-use UUIDs, which is not supported by Orbit (this
causes a host to be enrolled as two hosts in Fleet), thus, until that is
fixed in https://github.com/fleetdm/fleet/issues/8021 I propose we
stabilize this workflow by testing all `stable` channels only (which is
better than having the build broken all the time IMO).

Once https://github.com/fleetdm/fleet/issues/8021 is fixed we can re-add
the edge channels.
2023-09-01 12:25:17 -03:00
Roberto Dip
5ad734d617
upgrade go to v1.19.12 (#13617) 2023-08-31 13:49:24 -05:00
Luke Heath
204f082fe5
Pin all workflow actions versions by commit (#13462) 2023-08-31 12:09:21 -05:00