Commit Graph

406 Commits

Author SHA1 Message Date
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
Luke Heath
0541618aeb
Add merge gatekeeper action (#13546) 2023-08-31 11:11:46 -05:00
Lucas Manuel Rodriguez
4654450bc8
Fix expected number of hosts for the Test fleetctl preview workflow (#13605)
Similar to the other we fixed recently the same way:
https://github.com/fleetdm/fleet/pull/13329
2023-08-30 17:45:41 -03:00
Lucas Manuel Rodriguez
f701dc55ed
CI: Add shell cmd for windows runner and add some debug logs to help troubleshoot (#13592)
After @rfairburn made the DNS change the clouldflared tunnel started
working again (after months of being broken).

#13547

Run: https://github.com/fleetdm/fleet/actions/runs/6025182774

This PR adds some fixes to the two workflows that make use of
cloudflared.
There are still some issues to fix but these are some changes needed to
continue/help troubleshooting.
2023-08-30 15:49:47 -03:00
KanchiMoe
dece8e179c
Upversion markdown-link-check Github action (#12026) 2023-08-22 13:57:45 -07:00
Lucas Manuel Rodriguez
cafbe161a1
Bump fleet desktop version to 1.15.0 to generate artifacts and release (#13393) 2023-08-18 15:23:38 -05:00
Zach Wasserman
4ecc7db6d6
Complete removal of Cypress (#13389)
Remove the last of the dependencies and configuration around Cypress
since we no longer use it for testing.
2023-08-18 11:06:12 -06:00
Lucas Manuel Rodriguez
f9d6cf986b
Fix expected number of hosts in fleetctl-preview-latest workflow (#13329)
#13182

[This PR](https://github.com/fleetdm/osquery-in-a-box/pull/18) in the
osquery-in-a-box repository recently added a new host to the simulated
host list which broke the CI job in the fleetdm/fleet repository.

PR run with this branch:
https://github.com/fleetdm/fleet/actions/runs/5866786432

PS: One of the reasons we had this osquery-in-a-box repository outside
the monorepo was to not break customers using `fleetctl preview`. But
now that we have Fleet Sandbox and we don't encourage users to use
`fleetctl preview`:
1. Does it  make sense to have the separate repository?
2. Does it make sense to continue supporting this workflow in CI?
2023-08-15 14:16:07 -03:00
Luke Heath
3dfe4c74bb
Update action version (#13136) 2023-08-03 14:27:32 -07:00
Joanne Stableford
79b8dd8e8f
Update fleetctl-workstations to min macOS 13.5 (#13109) 2023-08-02 18:38:11 -04:00
Joanne Stableford
ea934424ae
Update fleetctl-workstations-canary min OS to macOS 13.5 (#13108) 2023-08-02 18:22:46 -04:00
Roberto Dip
d9de78e9fc
upgrade Go version to 1.19.11 (#12902) 2023-07-26 11:09:22 -07:00