Commit Graph

301 Commits

Author SHA1 Message Date
David Dworken
99e3d3ddda
Revert "Remove OpenSUSE since their package repos are currently returning 500 errors"
This reverts commit 62700605d7.
2024-08-11 12:29:38 -07:00
David Dworken
607cbeece2
Upgrade to setup-go@v4 for automatic caching support 2024-08-11 12:29:38 -07:00
David Dworken
bee26274d5
Swap to macos-latest to see if GH has more quota for that tag 2024-08-11 12:29:38 -07:00
David Dworken
36f3fac657
Update macos version for signer since GH dropped support for macos 11 2024-08-11 12:29:38 -07:00
David Dworken
e4b87f844a
Explicitly install openssl to see if it fixes smoke test errors on arch 2024-08-11 12:29:38 -07:00
David Dworken
21c7f5e0db
Revert "Add additional test for smoke tests to cover syncing"
This reverts commit 514d95ba4e.
2024-08-11 12:29:37 -07:00
David Dworken
96616d5c1a
Move extra delay to a separate job to avoid wasting GH action quota by sleeping in duplicated jobs 2024-08-11 12:29:37 -07:00
David Dworken
55e9e4dc00
Add additional test for smoke tests to cover syncing 2024-08-11 12:29:37 -07:00
David Dworken
8ca3835cb0
Continue-on-error for the DD setup since it will also fail if colima fails 2024-08-11 12:29:37 -07:00
David Dworken
e3b159a5be
Remove tmate session for debugging 2024-08-11 12:29:37 -07:00
David Dworken
26ffaf8d28
Set up tmate session to debug slsa releaser 2024-08-11 12:29:37 -07:00
David Dworken
59e8a6dd5b
Add SLSA validation with current binary built by SLSA 2024-08-11 12:29:37 -07:00
David Dworken
0c3e515008
Disable validation with local build since it seems to fail for some reason 2024-08-11 12:29:37 -07:00
David Dworken
2c9dc48977
Re-enable SLSA verification now that we've updated the SLSA version throughout the repo 2024-08-11 12:29:37 -07:00
David Dworken
78aa513cd4
Fully disable validation to allow an emergency release due to SLSA breakage 2024-08-11 12:29:37 -07:00
David Dworken
0328587910
Disable validation so we can push out a working binary even though SLSA is broken 2024-08-11 12:29:37 -07:00
David Dworken
4c66c4253a
Upgrade SLSA releaser due to github.com/slsa-framework/slsa-github-generator/issues/3350 2024-08-11 12:29:37 -07:00
David Dworken
af58ed6a1d
Swap away from brew cask since it appears to be slower 2024-08-11 12:29:36 -07:00
David Dworken
33bc582d8b
Run integration tests in parallel to speed up testing (#175)
* Remove a few direct DB insertions to prepare for parallel tests

* Revert "Remove a few direct DB insertions to prepare for parallel tests"

This reverts commit f8a3552ad8.

* Add rudimentary experiment of splitting tests into two chunks to make them faster

* Add missing tag

* Remove code that enforces that all goldens are used, since it is incompatible with how tests are currently split into chunks

* Lay out the framework for checking goldens being used across all test runs

* Fix missing brace

* Revert "Remove code that enforces that all goldens are used, since it is incompatible with how tests are currently split into chunks"

This reverts commit 06cc3eedbc.

* Add initial work towards checking that all goldens are used

* Delete incorrect and unreferenced matrix

* Upgrade actions/upload-artifact to see if that makes the download in the next job work

* Alternatively, try downloading the artifact by name

* Update golden checker to read all the golden artifacts

* Swap to using glob to enumerate all golden files, rather than hardcoding them

* Remove debugging commands

* Remove goldens that are actually used

* Remove another golden that is actually used

* Add more comprehensive support for test sharding

* Fix references to test shards and increase shard count

* Shard the fuzz test

* Add debug prints

* Mark additional tests for sharding

* Fix logic error that broke test sharding

* Remove debug print

* Fix incorrect logic with skipping the fuzz test

* Move sharding functions to testutils and add some comments

* Upgrade all setup-go actions to enable caching of deps

* Remove goldens that don't exist

* Remove new line

* Reduce delay

* Correct stage name

* Remove incorrect skip code from the first version of sharding

* Remove unused import

* Reduce number of test shards to match GitHub's limit of 5 concurrent macos jobs

* Use cask for installing homebrew to speed up github actions

* More cleanup for unused goldens
2024-08-11 12:29:36 -07:00
David Dworken
1c963bed8a
Update go action to enable caching of dependencies 2024-08-11 12:29:36 -07:00
David Dworken
4744bb7317
Add another dep for arch 2024-08-11 12:29:36 -07:00
David Dworken
c8892fd331
Remove OpenSUSE since their package repos are currently returning 500 errors 2024-08-11 12:29:36 -07:00
David Dworken
46ad008b76
Update arch install command 2024-08-11 12:29:36 -07:00
David Dworken
64860f5028
More tweaks to install commands 2024-08-11 12:29:36 -07:00
David Dworken
078514439d
Update install commands for OpenSUSE and Arch 2024-08-11 12:29:36 -07:00
David Dworken
fee074b14c
Drop sudo for OpenSUSE 2024-08-11 12:29:36 -07:00
David Dworken
902fb45f6f
Remove sudo since the arch container runs as root 2024-08-11 12:29:36 -07:00
David Dworken
c517bf00e5
Update distro-smoke-test.yml 2024-08-11 12:29:36 -07:00
David Dworken
eea467a973
Add smoke tests for arch 2024-08-11 12:29:36 -07:00
David Dworken
f8e425b985
Add two more distros for smoke testing 2024-08-11 12:29:36 -07:00
David Dworken
f7e6c962be
Install killall command 2024-08-11 12:29:36 -07:00
David Dworken
2b86d9dabf
Add cgo deps 2024-08-11 12:29:36 -07:00
David Dworken
b4fb00ab96
Dependencies for smoke testing 2024-08-11 12:29:36 -07:00
David Dworken
e177b823dc
Skip setting the hostname for smoke tests since we don't need it 2024-08-11 12:29:36 -07:00
David Dworken
0649d0c9d2
More tweaks for smoke testing 2024-08-11 12:29:36 -07:00
David Dworken
a5249cec3f
Fix quotes on container names 2024-08-11 12:29:36 -07:00
David Dworken
b9813ddcd4
Add basic smoke test to provide test coverage for other distros (#174) 2024-08-11 12:29:36 -07:00
David Dworken
a6333ea995
Skip DD integration for m1 mac since it seems to fail for mysterious beta-related reasons 2024-08-11 12:29:36 -07:00
David Dworken
212c24c30c
Add tests running on macos-14 with m1 (#169)
* Add tests running on macos-14 with m1

* Run macos setup steps on macos-14 with m1
2024-02-04 10:55:11 -08:00
David Dworken
d8eb079e5f
Add .zip file extension for go tests artifact 2023-12-28 19:32:09 -08:00
David Dworken
aa4afcfa29
Add OS to testlog output to separate macos and linux test logs 2023-12-21 18:27:46 -08:00
David Dworken
2b327f965a
Update to latest version of gotestsum from main rather than from my fork, now that my patch has been merged 2023-12-20 19:57:02 -08:00
David Dworken
81081073a3
Add test log as an exported file from github actions 2023-12-20 15:02:16 -08:00
David Dworken
0a81799609
Remove PR trigger for SLSA releaser, since it purposefully can't run on non-master branches 2023-12-09 15:53:05 -08:00
David Dworken
f88e1d5b3b
Add dollar sign to fix github actions templating for outputs 2023-12-03 16:58:13 -08:00
David Dworken
bdaf0f8a65
Make TUI always take exactly the full width of the terminal through more precise calculations of the overhead used for the table (#136)
* Make TUI always take exactly the full width of the terminal through more precise calculations of the overhead used for the table

* Update TUI goldens for more accurate TUI sizing

* More golden updates for wider table sizing

* Include failed test goldens as artifacts for easier test fixing on github actions
2023-12-03 13:15:38 -08:00
David Dworken
5f694da421
Enable SLSA release tests for pull requests to detect issues like 3005ad8fe9 before they're merged 2023-11-25 08:24:16 -08:00
David Dworken
1a450c0817 Add basic sanity test to confirm that our interactions with the OpenAI API are correct 2023-11-12 02:57:23 -08:00
David Dworken
5cebea00af
Run SLSA validation with the production release of hishtory too 2023-11-10 18:10:46 -08:00
David Dworken
42a7b80579
Update slsa releaser to run with write permissions so it can release the hishtory-release-validation-completed file 2023-11-08 19:51:49 -08:00