David Dworken
|
465f7812ef
|
Update slsa-releaser.yml
|
2023-11-06 22:38:45 -08:00 |
|
David Dworken
|
4e699ff349
|
Update slsa-releaser.yml
|
2023-11-06 22:38:07 -08:00 |
|
David Dworken
|
90c0b787d9
|
Increase delay to account for GitHub artifacts being slow to publish
|
2023-11-06 22:05:59 -08:00 |
|
David Dworken
|
606ed6ccb0
|
Download the artifact from this specific run to ensure we aren't getting outdated hishtory binaries
|
2023-11-06 21:47:14 -08:00 |
|
David Dworken
|
eaccc7b638
|
Skip installing dedicated package for sha1sum since coreutils includes it
|
2023-11-06 21:25:52 -08:00 |
|
David Dworken
|
8567b4cbdf
|
Run sha256sum in macos signer too for debuging purposes
|
2023-11-06 21:17:09 -08:00 |
|
David Dworken
|
72be3ee0c7
|
Update slsa-releaser.yml
|
2023-11-05 20:08:54 -08:00 |
|
David Dworken
|
a10913f188
|
Update slsa-releaser.yml to run tmate even if tests pass
|
2023-11-05 18:38:40 -08:00 |
|
David Dworken
|
222340a97c
|
Add tmate for debugging darwin attestation failures
|
2023-11-05 18:25:27 -08:00 |
|
David Dworken
|
19ee1816be
|
Revert "Add SLSA attestation validation with latest released hishtory binary too" because the released binary doesn't support the validate-binary subcommand yet
This reverts commit 259f6b7858 .
|
2023-11-05 18:05:20 -08:00 |
|
David Dworken
|
259f6b7858
|
Add SLSA attestation validation with latest released hishtory binary too
|
2023-11-05 17:20:53 -08:00 |
|
David Dworken
|
1264388ea9
|
Swap post-release validation to happen in a dedicated python script
|
2023-11-05 12:57:58 -08:00 |
|
David Dworken
|
9834c6f492
|
Add validation of macos signatures
|
2023-11-05 12:42:00 -08:00 |
|
David Dworken
|
0eb362e123
|
Remove requests requirement since we no longer are using it
|
2023-11-05 12:39:07 -08:00 |
|
David Dworken
|
6cc7057d1e
|
Swap to running SLSA validation on macos since we need codesign_allocate to validate signatures on macos
|
2023-11-05 12:37:49 -08:00 |
|
David Dworken
|
e00bc22dfd
|
Add SLSA self-validation for hishtory-linux-arm64
|
2023-11-05 12:27:44 -08:00 |
|
David Dworken
|
61224a447c
|
Add SLSA self-validation for hishtory-darwin-arm64
|
2023-11-05 12:25:58 -08:00 |
|
David Dworken
|
be2bbb37c6
|
Add SLSA self-validation for hishtory-darwin-amd64
|
2023-11-05 12:24:47 -08:00 |
|
David Dworken
|
8709ec9208
|
Update macos signer to be stricter about ensuring the files exist, and failing if they don't
|
2023-11-05 12:22:47 -08:00 |
|
David Dworken
|
a65c3799ed
|
Manually download github artifact rather than using the action since the action seems to be flaky
|
2023-11-05 11:37:14 -08:00 |
|
David Dworken
|
04c915512a
|
Add GITHUB_TOKEN to tmate for interactive debugging
|
2023-11-05 10:54:37 -08:00 |
|
David Dworken
|
55e187d6df
|
Add tmate for debugging why actions/download-artifact appears to not be working
|
2023-11-05 10:28:05 -08:00 |
|
David Dworken
|
2a57ec1d73
|
Add ls for debugging
|
2023-11-05 01:33:35 -07:00 |
|
David Dworken
|
c918bcd3cb
|
Update slsa validation to not validate version when running in github actions, since the one in actions isn't associated with a released version
|
2023-11-05 01:15:54 -07:00 |
|
David Dworken
|
c3c74970b0
|
Swap slsa validation to use hishtory built at head
|
2023-11-05 00:55:01 -07:00 |
|
David Dworken
|
acf46893e9
|
Clone repo and setup go for validation
|
2023-11-04 09:51:58 -07:00 |
|
David Dworken
|
a10a796eaa
|
Another attempt at getting validation to work on github actions
|
2023-11-03 23:36:30 -07:00 |
|
David Dworken
|
13ba6f38f7
|
Add pwd for debugging
|
2023-11-03 23:25:57 -07:00 |
|
David Dworken
|
723d04e196
|
Remove slsa validation for macos binaries since the artifact upload currently isn't working
|
2023-11-03 23:24:27 -07:00 |
|
David Dworken
|
dcd58fe27d
|
Fix SLSA releaser to specify required parameter path
|
2023-11-03 22:42:52 -07:00 |
|
David Dworken
|
92537a085c
|
Upload artifacts from macos signer even if this isn't a release, since they're needed for validation
|
2023-11-03 22:31:43 -07:00 |
|
David Dworken
|
da99e46e42
|
Swap SLSA releaser to use GH steps to pass through files, rather than downloading via HTTP
|
2023-11-03 22:18:24 -07:00 |
|
David Dworken
|
4673b99579
|
Add integration to validate macos signers too
|
2023-11-03 22:16:11 -07:00 |
|
David Dworken
|
87dee94aab
|
Add initial version of slsa releaser that validates the generated SLSA signatures
|
2023-11-03 22:10:11 -07:00 |
|
David Dworken
|
982f7b5f02
|
Add extra delay to see if that allows DD metrics to go through
|
2023-10-22 19:37:09 -07:00 |
|
David Dworken
|
238177897e
|
Swap to cloning gotestsum over https:// rather than SSH to fix auth
|
2023-10-22 17:09:13 -07:00 |
|
David Dworken
|
772ab6cc87
|
Update makefile to use my forked version of gotestsum that contains https://github.com/gotestyourself/gotestsum/pull/377
|
2023-10-22 17:06:36 -07:00 |
|
David Dworken
|
6e1589c1d8
|
Update github actions to export the test results json for both OSs, and to do it even if the test are an overall failure
|
2023-10-22 11:12:11 -07:00 |
|
David Dworken
|
8b9e3dfb10
|
Export testrun.json as a file so that we can also download it for manual inspection/processing
|
2023-10-22 00:21:47 -07:00 |
|
David Dworken
|
df9c6e8786
|
Swap to using gotestsum for retrying flaky tests
|
2023-10-21 15:41:32 -07:00 |
|
David Dworken
|
4202e057ef
|
Update docker compose test to ensure that the redaction worked
|
2023-10-15 19:05:32 -07:00 |
|
David Dworken
|
3ec8ffad80
|
Fix accepting the hishtory redact prompt in github action tests
|
2023-10-15 12:32:05 -07:00 |
|
David Dworken
|
215e71293d
|
Add basic check that hishtory redaction works in the self-hosting tests
|
2023-10-15 11:52:06 -07:00 |
|
David Dworken
|
63da1d9cd4
|
Run tests for releases too
|
2023-10-10 22:20:07 -07:00 |
|
David Dworken
|
7ad1e2fb03
|
Upgrade to go 1.21 which offers fully reproducible builds (on top of SLSA's attestations)
|
2023-10-01 18:00:58 -07:00 |
|
David Dworken
|
a711ed0767
|
Disable tmate session for failed docker compose tests
|
2023-09-23 20:38:35 -07:00 |
|
David Dworken
|
bd03f90b0b
|
Increase go version in pre-commit for staticcheck
|
2023-09-23 13:07:50 -07:00 |
|
David Dworken
|
2ad06d1cb2
|
Install deps for pre-commit
|
2023-09-23 13:03:54 -07:00 |
|
David Dworken
|
05c6cf8833
|
Capitalize github action name for consistency
|
2023-09-23 12:47:50 -07:00 |
|
David Dworken
|
2608230ec7
|
Add github action for pre-commit enforcement
|
2023-09-23 12:46:16 -07:00 |
|
David Dworken
|
ac5131fe4b
|
Add netbsd binary for #87
|
2023-09-19 18:54:04 -07:00 |
|
David Dworken
|
3baef9aeff
|
Update docker compose test to simplify it and make it more reliable
|
2023-09-17 21:25:37 -07:00 |
|
David Dworken
|
b478eadeae
|
Merge pull request #106 from lsmoura/sergio/isolated-server
Create isolated server struct that encapsulates all server logic
|
2023-09-13 21:31:51 -07:00 |
|
Sergio Moura
|
b93a365055
|
use actions/checkout@v4 for go-test.yml
|
2023-09-13 10:35:18 -04:00 |
|
David Dworken
|
4c40a8a177
|
Skip datadog setup for release commits since we also skip tests for release commits
|
2023-09-12 18:57:21 -07:00 |
|
David Dworken
|
392ebfb0fd
|
Fix yaml syntax error introduced in 27d5c59263
|
2023-09-08 19:41:42 -07:00 |
|
David Dworken
|
27d5c59263
|
Skip datadog integratio on macos if colima fails to start, since colima appears to be flaky due to a code signing error
|
2023-09-08 19:27:16 -07:00 |
|
David Dworken
|
084af932ea
|
Update docker-compose test to hopefully run and properly record a command in hishtory
|
2023-09-08 18:05:11 -07:00 |
|
David Dworken
|
cc10689d09
|
Skip running DD on non-master branches so that PRs can run successfully
|
2023-09-08 09:59:55 -07:00 |
|
David Dworken
|
294bf78d25
|
Loosen bash options for docker compose
|
2023-09-07 22:45:24 -07:00 |
|
David Dworken
|
8db87d2a1e
|
Try customizing the shell for github actions to force it to run as a login shell
|
2023-09-07 22:37:41 -07:00 |
|
David Dworken
|
82d311e3e7
|
Enable tmate for docker-compose test debugging
|
2023-09-07 22:12:41 -07:00 |
|
David Dworken
|
fe75d67ede
|
Link colima's docker socket to the default location
|
2023-09-07 22:02:08 -07:00 |
|
David Dworken
|
c67b6b8c82
|
Install docker on macos github action so the datadog integration works
|
2023-09-07 22:00:47 -07:00 |
|
David Dworken
|
2154d9e707
|
Split docker compose test into two stages
|
2023-09-07 18:51:13 -07:00 |
|
David Dworken
|
daa4fa2a00
|
Fix indentation error in go-test.yml
|
2023-09-07 18:32:17 -07:00 |
|
David Dworken
|
a13549851c
|
Add basic datadog integration to monitor test failures in github actions
|
2023-09-07 18:30:47 -07:00 |
|
David Dworken
|
9dcc80e9a8
|
Run hishtory from local dir in docker-compose tests since the shell hasn't been restarted so it isn't yet in the path
|
2023-09-07 18:29:24 -07:00 |
|
David Dworken
|
81655953b8
|
Improve the docker compose test by having it check that entries are getting recorded and properly synced
|
2023-09-07 18:15:47 -07:00 |
|
David Dworken
|
efa9ddd6df
|
Upgrade checkout action
|
2023-09-04 21:23:22 -07:00 |
|
David Dworken
|
22abfbc733
|
Add overall test retries for all tests to make github action tests even more reliable
|
2023-09-04 19:30:38 -07:00 |
|
David Dworken
|
25eae144d8
|
Revert all tmpfs related commits, since running in a tmpfs doesn't seem to meaningfully improve test reliability
|
2023-09-04 18:03:46 -07:00 |
|
David Dworken
|
069705ef41
|
Move setting of TZ variable into Makefile so it is always set even if doing local development in a different timezone
|
2023-09-02 18:28:37 -07:00 |
|
David Dworken
|
a2617e970a
|
Fix tmpfs creation for macos
|
2023-09-02 18:25:09 -07:00 |
|
David Dworken
|
9de10560a6
|
Re-enable tmate debugging
|
2023-09-02 18:17:16 -07:00 |
|
David Dworken
|
9dafa40872
|
Remove || true to force macos setup to complete successfully
|
2023-09-02 18:16:53 -07:00 |
|
David Dworken
|
4c2e49885f
|
Fix tmpfs mount command for linux
|
2023-09-02 18:11:29 -07:00 |
|
David Dworken
|
46b2d5a26a
|
Enable tmate for debugging
|
2023-09-02 18:06:46 -07:00 |
|
David Dworken
|
f0bd50dac6
|
Fix string quotes in github actions template
|
2023-09-02 18:04:31 -07:00 |
|
David Dworken
|
d9893397b7
|
Split test setup into separate stages for each OS
|
2023-09-02 18:03:26 -07:00 |
|
David Dworken
|
d51dba8375
|
Split tests and setup into different stages
|
2023-09-02 17:58:36 -07:00 |
|
David Dworken
|
0ee8c1c796
|
Add sudo for ram disk creation
|
2023-09-02 17:35:22 -07:00 |
|
David Dworken
|
96446eb62c
|
Configure a ram disk for ~/.hishtory/ to make sqlite run faster
|
2023-09-02 17:33:02 -07:00 |
|
David Dworken
|
4e93727dd0
|
Disable tmate session for Github Actions
|
2023-08-27 18:23:21 -07:00 |
|
David Dworken
|
9be83ea361
|
Give the server releaser write access
|
2023-02-24 18:59:11 -08:00 |
|
David Dworken
|
4c49e4fca1
|
Remove github.ref constraint so it releases the server binary for all tags
|
2023-02-24 18:53:20 -08:00 |
|
David Dworken
|
d1763455c4
|
Rename actions for consistent naming scheme
|
2023-02-24 09:56:49 -08:00 |
|
David Dworken
|
54ce34be52
|
Exclude darwin/arm since that isn't a valid combination for #78
|
2023-02-24 09:55:51 -08:00 |
|
David Dworken
|
11ffa3b7f3
|
Fix yaml syntax error for #78
|
2023-02-24 09:53:04 -08:00 |
|
David Dworken
|
b25241d7b5
|
Add initial draft of an action to release server binaries for #78
|
2023-02-24 09:51:16 -08:00 |
|
David Dworken
|
27cd544524
|
Add support for arm7 for #63 to support raspberry pis
|
2023-02-18 22:00:39 -08:00 |
|
David Dworken
|
477c30230a
|
Enable tmate debugging
|
2023-02-13 20:36:12 -08:00 |
|
David Dworken
|
c29fa90207
|
Disable tmate
|
2022-12-18 22:03:02 -08:00 |
|
David Dworken
|
d606b5c2ba
|
Uprade tmux on ubuntu to see if that fixes the test failures on actions
|
2022-12-13 17:15:11 -08:00 |
|
David Dworken
|
5c3f023260
|
enable tmate for debugging
|
2022-12-12 20:32:50 -08:00 |
|
David Dworken
|
7c86b812bf
|
Add support for linux arm64 for #48
|
2022-12-11 20:39:45 -08:00 |
|
David Dworken
|
0cd7d2e4a4
|
Remove tmate
|
2022-11-16 20:43:29 -08:00 |
|
David Dworken
|
5b66943b9a
|
Update isAction golden after last commit + remove shell:bash that was only needed for windows
|
2022-11-12 08:07:49 -08:00 |
|
David Dworken
|
6e7822ebae
|
Attempt to fix github action only test failures
|
2022-11-12 06:18:05 -08:00 |
|
David Dworken
|
e81548dd1b
|
Remove tmate
|
2022-11-09 16:16:14 -08:00 |
|