Commit Graph

311 Commits

Author SHA1 Message Date
David Dworken
870243df74
More test fixes 2024-09-15 22:00:11 -07:00
David Dworken
3987b355ea
Add tmate for debugging 2024-09-15 19:29:23 -07:00
David Dworken
11fc92ee5f
Add test coverage to prevent issues like #241 in the future (#244)
* Add test coverage to prevent issues like #241 in the future

* Add debugging

* Fix location of HISHTORY_COMPOSE_TEST var

* Enable tmate for failures

* update

* Re-comment tmate
2024-09-06 17:08:08 -07:00
David Dworken
c8c1523683
Update test goldens + drop duplicate macos version from go tests 2024-08-25 16:04:55 -07:00
David Dworken
7a19b4defd
Upgrade to go1.23 and swap to using the new iters package 2024-08-25 12:24:19 -07:00
David Dworken
7e9f68dd5d
Skip running the smoke test on version releases since it is subject to a race condition with the deploy process 2024-08-18 22:22:42 -07:00
David Dworken
2a71e0744f
Update pre-commit.yml to install make format dependencies 2024-08-11 16:12:46 -07:00
David Dworken
05da87b50a
Remove opensuse smoke tests 2024-07-10 18:43:31 -07:00
David Dworken
8a962cda19
Link /bin/sh for opensuse smoke tests 2024-07-10 18:40:45 -07:00
David Dworken
c0a5a1714d
Install git and tar for opensuse smoke tests 2024-07-10 17:50:37 -07:00
David Dworken
a62a437143
Revert "Remove OpenSUSE since their package repos are currently returning 500 errors"
This reverts commit 62700605d7.
2024-07-10 14:15:19 -07:00
David Dworken
e39ed96c93
Upgrade to setup-go@v4 for automatic caching support 2024-07-10 14:11:09 -07:00
David Dworken
0ed7e9de07
Swap to macos-latest to see if GH has more quota for that tag 2024-07-09 21:45:20 -07:00
David Dworken
fc9f3b6ff1
Update macos version for signer since GH dropped support for macos 11 2024-07-09 21:21:14 -07:00
David Dworken
c0a56eeada
Explicitly install openssl to see if it fixes smoke test errors on arch 2024-07-09 18:41:11 -07:00
David Dworken
3af25fca32
Revert "Add additional test for smoke tests to cover syncing"
This reverts commit 514d95ba4e.
2024-04-14 22:41:31 -07:00
David Dworken
f19e31978b
Move extra delay to a separate job to avoid wasting GH action quota by sleeping in duplicated jobs 2024-04-14 18:31:28 -07:00
David Dworken
514d95ba4e
Add additional test for smoke tests to cover syncing 2024-04-14 18:23:46 -07:00
David Dworken
c616dd7862
Continue-on-error for the DD setup since it will also fail if colima fails 2024-04-05 16:05:37 -07:00
David Dworken
cef2633675
Remove tmate session for debugging 2024-03-25 20:03:10 -07:00
David Dworken
e666881dc6
Set up tmate session to debug slsa releaser 2024-03-25 19:43:21 -07:00
David Dworken
35f9ad28a8
Add SLSA validation with current binary built by SLSA 2024-03-24 21:48:01 -07:00
David Dworken
25e982603a
Disable validation with local build since it seems to fail for some reason 2024-03-24 21:45:28 -07:00
David Dworken
17f0c5720f
Re-enable SLSA verification now that we've updated the SLSA version throughout the repo 2024-03-24 20:54:48 -07:00
David Dworken
e7c2cf1883
Fully disable validation to allow an emergency release due to SLSA breakage 2024-03-24 14:50:00 -07:00
David Dworken
6626567814
Disable validation so we can push out a working binary even though SLSA is broken 2024-03-24 14:41:04 -07:00
David Dworken
c8d1b2caff
Upgrade SLSA releaser due to github.com/slsa-framework/slsa-github-generator/issues/3350 2024-03-24 10:26:55 -07:00
David Dworken
e91eeb1f04
Swap away from brew cask since it appears to be slower 2024-02-11 11:57:18 -08:00
David Dworken
b27fde71c9
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-02-11 11:54:27 -08:00
David Dworken
b95f049c27
Update go action to enable caching of dependencies 2024-02-10 21:59:27 -08:00
David Dworken
a2633e0c5a
Add another dep for arch 2024-02-09 19:14:13 -08:00
David Dworken
62700605d7
Remove OpenSUSE since their package repos are currently returning 500 errors 2024-02-09 19:06:19 -08:00
David Dworken
4d0faabff0
Update arch install command 2024-02-09 19:05:58 -08:00
David Dworken
df24ba1b93
More tweaks to install commands 2024-02-09 19:04:02 -08:00
David Dworken
ae789879c6
Update install commands for OpenSUSE and Arch 2024-02-09 19:02:12 -08:00
David Dworken
826cfd237a
Drop sudo for OpenSUSE 2024-02-09 18:58:45 -08:00
David Dworken
d9d13e8329
Remove sudo since the arch container runs as root 2024-02-09 18:57:24 -08:00
David Dworken
4be3372fff
Update distro-smoke-test.yml 2024-02-09 18:56:49 -08:00
David Dworken
1f7c3ab24e
Add smoke tests for arch 2024-02-09 18:55:24 -08:00
David Dworken
266d5ff01b
Add two more distros for smoke testing 2024-02-09 18:52:38 -08:00
David Dworken
8e716c9404
Install killall command 2024-02-09 18:43:42 -08:00
David Dworken
b4860d3192
Add cgo deps 2024-02-09 18:37:35 -08:00
David Dworken
950db890ea
Dependencies for smoke testing 2024-02-09 18:31:37 -08:00
David Dworken
a99c8c24d3
Skip setting the hostname for smoke tests since we don't need it 2024-02-09 18:29:03 -08:00
David Dworken
7c55c95f1d
More tweaks for smoke testing 2024-02-09 18:27:26 -08:00
David Dworken
9892255657
Fix quotes on container names 2024-02-09 18:25:41 -08:00
David Dworken
4ca37c3851
Add basic smoke test to provide test coverage for other distros (#174) 2024-02-09 18:19:17 -08:00
David Dworken
a38f7e0bfe
Skip DD integration for m1 mac since it seems to fail for mysterious beta-related reasons 2024-02-04 22:29:04 -08: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