Commit Graph

90 Commits

Author SHA1 Message Date
Zach Wasserman
b56c620007
Pin actions to commit (#3566) 2022-01-04 09:30:02 -08:00
Zach Wasserman
ee96418d82
Add integration test for fleetctl preview (#3545)
Add nightly and manual job to run `fleetctl preview` and check for enrolled hosts.

Works on macOS and Linux. Windows cannot be tested on GitHub Actions due to lack of Docker Linux support.
2022-01-01 09:24:52 -08:00
Zach Wasserman
404ca8a2bc
Download artifact to build path in staging deploy (#3540) 2021-12-30 15:57:51 -08:00
Zach Wasserman
26479ccd3f
Start staging tunnel in background (#3538) 2021-12-30 15:00:36 -08:00
Zach Wasserman
e008f70e1f
Fix staging action to deploy Fleet server on PR and merge (#3531) 2021-12-30 13:23:39 -08:00
Zach Wasserman
12df9fbfce
Add Fleet server deployment in CI (#3530)
Still needs further testing as it must be merged to `main` to test it out on GitHub.
2021-12-29 20:29:18 -08:00
Zach Wasserman
ab664e5304
Clean up E2E testing configurations (#3360) 2021-12-24 12:18:00 -08:00
Zach Wasserman
46ec514ffc
Remove certificate file after import in Orbit release Action (#3416)
Otherwise, GoReleaser errors due to a dirty git tree.
2021-12-19 17:43:54 -08:00
Zach Wasserman
698ef79495
Update GitHub goreleaser configuration for Orbit (#3414) 2021-12-19 17:37:54 -08:00
Zach Wasserman
4e72ebb68f
Build Orbit releases in GitHub Actions (#3413)
Complete build including macOS signing+notarization.
2021-12-19 17:06:17 -08:00
Zach Wasserman
cad7674430
Disable fail-fast for E2E test runs (#3342)
Also update to Go 1.17+
2021-12-12 18:10:06 -08:00
Zach Wasserman
4e7a0ce88a
Upload Cypress recordings/screenshots on E2E failure (#3341) 2021-12-12 18:08:07 -08:00
Tomas Touceda
a0404b6736
Add software count API (#3105)
* Add software count API

* Fix makefile

* Fine no mock generating at this point

* Actually, one last try

* Use go install instead

* Fix go sum/mod

* Improve documentation

* Try setting node to 14
2021-12-03 10:54:17 -03:00
Zach Wasserman
850d36543d
Filter GitHub actions triggers on file types (#3009)
Reduce the total amount of Actions running by only running actions
relevant to the changes.
2021-11-18 15:14:29 -08:00
Zach Wasserman
8d4416b2d3
Update Go versions to 1.17.2 (#2805) 2021-11-04 19:50:00 -07:00
Zach Wasserman
8dc34be3a3
Updates and fixes for packaging (#2682)
- Fix Windows MSI generation by changing permissions (#2655).
- Refactor temp directory initialization.
- Use root user for Wine in WiX Docker container.
- Support .pkg packaging on Linux without dependencies (besides Docker)
2021-10-27 16:17:41 -07:00
Zach Wasserman
27a4fa75d0
Run Actions on patch branches (#2565) 2021-10-18 14:49:32 -07:00
Martin Angers
eda6d60be8
Add replicas to the redis docker-compose setup. (#2511) 2021-10-18 08:33:26 -04:00
Tomas Touceda
07342e95c9
Need to checkout code explicitly (#2192) 2021-09-22 17:26:02 -03:00
Tomas Touceda
1db2acbff7
Add host count input (#2191) 2021-09-22 17:21:50 -03:00
Tomas Touceda
8600d71d35
Add osquery perf (#2190)
* Add osquery perf

* Update dockerfile and gh action
2021-09-22 17:18:55 -03:00
Zach Wasserman
bc3d7fbe2b
Always check doc links in CI (#2178)
- Check all links on every PR to better avoid broken links.
2021-09-22 10:29:43 -04:00
Zach Wasserman
8b04b84b0c
Fix tagging branch name in development Docker publish (#2167) 2021-09-21 14:01:38 -07:00
Benjamin Edwards
bd8cda15ce
Publish development Docker images (#2114)
Publish Docker images for the following events:
1) A user with write access to the repo opens a PR.
2) Any commit is made to the `main`, or `patch-*` branches.
2021-09-21 13:06:22 -07:00
Zach Wasserman
dd31779aac
Increase timeout for golangci-lint (#2143) 2021-09-20 11:13:55 -07:00
Martin Angers
86dce785ae
Improve performance of the Go test suite (#2060)
Closes #1805
2021-09-20 14:09:38 -04:00
Zach Wasserman
a905cb3be5
Update SSO configuration docs (#2092)
- Include full example for Google IDP configuration
2021-09-16 12:47:04 -07:00
Mike McNeil
029f67d36b
remove concept of "Detection", for now (in favor of what's coming) (#2046)
* remove concept of "Detection", for now (in favor of what's coming)

* remove extra --- to make YAML parse properly

* Simplify the check to remove remediation check for now

* Run compile script any time docs or handbook is changed
2021-09-14 11:43:45 -05:00
Tomas Touceda
6d2ae02efd
Rename core->free and basic->premium (#1870)
* Rename core->free and basic->premium

* Fix lint js

* Comment out portion of test that seems to timeout

* Rename tier  to premium if basic is still loaded
2021-09-03 13:05:23 -03:00
Martin Angers
9a0871a2f1
Address issues related to Redis Cluster support (#1885)
Closes #1847 .
2021-09-01 16:32:57 -04:00
Zach Wasserman
530f913d6a
Run go tests & codecov only on Go PRs (#1826) 2021-08-26 11:25:25 -07:00
Zach Wasserman
8a15f6d270
Add codecov to CI (#1824)
This should cause codecov to run on all pull requests and all commits to main.

Currently only doing coverage for Go files.
2021-08-26 09:53:10 -07:00
Martin Angers
80fb3cb145
Run golangci-lint with the make lint-go target, adjust workflows (#1778) 2021-08-24 15:36:50 -04:00
Martin Angers
e61cb7e0db
Configure golangci-lint for the whole repository
Add a relatively minimal set of linters that raise safe and 
mostly un-opinionated issues with the code. It runs 
automatically on CI via a github action.
2021-08-24 13:35:03 -04:00
Mike McNeil
5659ba92e4
Deploy compiled HTML to the remote even though it's in the gitignore. (#1709) 2021-08-17 20:08:25 -05:00
RachelElysia
4858f3ace0
Flash Messages: Fix 4 second success render (#1662) 2021-08-13 10:29:04 -04:00
Zach Wasserman
451493b1ea
Update goreleaser configs for 4.2.0 (#1650) 2021-08-11 17:13:11 -07:00
Tomas Touceda
3d8a766ca1
Make receive calls to redis conn thread safe (#1641)
* Make receive calls to redis conn thread safe

Also removes REDIS_TEST env var. Redis is lightweight and fast, no need
to skip these tests.

* No need to increase the wait
2021-08-11 17:34:35 -03:00
Zach Wasserman
ce89d851af
Update semgrep configuration (#1581)
- Disable sarif generation (may have been causing bug in Semgrep).
- Enable manual workflow dispatch.
2021-08-06 10:02:45 -07:00
Zach Wasserman
b1fb520a1d
Add semgrep scanning configuration (#1571)
Runs a nightly semgrep scan.
2021-08-05 18:23:58 -07:00
Tomas Touceda
b927f7064d Fix workflows 2021-08-05 13:16:49 -03:00
Tomas Touceda
4fe6b2c67d No need to login to docker hub for orbit 2021-08-04 17:00:19 -03:00
Tomas Touceda
9b9407a16d Update workflows 2021-08-04 17:00:19 -03:00
Tomas Touceda
82ab0a798e
Add host users (#1334)
* Add host users

* Add changes file and test removing pull_request from the on test

* Remove users and store the removal timestamp

* Improve test yml to allow for PRs from forks
2021-07-13 17:15:38 -03:00
Zach Wasserman
bd68c52a52
Configure CodeQL to target appropriate files (#1357)
Excludes vendored dependencies in fleetdm.com.
2021-07-13 12:27:09 -07:00
Zach Wasserman
00ebf5dcd3
Configure CodeQL Action (#1355)
Adds code quality checks via GitHub's built in CodeQL engine.
2021-07-12 10:25:49 -07:00
Martavis Parker
5d0c7e510e
New Cypress configs and commands (#1268)
* #1024 added configs and commands to run

* #1024 fixed github actions for e2e tests

* #1024 optimized test configs
2021-07-01 10:32:12 -07:00
Zach Wasserman
a3958ac24c
Add write permission for release-helm Action (#1259)
- Also pin the Action to specific commit hash.
2021-06-29 12:43:13 -07:00
Zach Wasserman
2976e34935
Add environment to release action (#1222)
This allows the action to get access to Docker Hub credentials.
2021-06-25 19:58:35 -07:00
Zach Wasserman
07b89c4cbd
Implement release automation (#1215)
- Use goreleaser to automate release process.
- Add new dockerfiles for fleet (with fleetctl) and fleetctl (only).
- Add GitHub Action Workflow to run goreleaser on new tag.
- Update NPM to match new archive naming.
2021-06-25 18:40:26 -07:00