Skip to content

Commit 6e5e6bb

Browse files
committed
e2e: add frankenstein test build
This is meant to use the Regal version from whatever is in the current checkout, together with OPA as defined in Regal's go.mod. It's an early warning against dependency problems that only become apparent when we're using all of OPA, not the subset of its functionality that Regal already uses. Signed-off-by: Stephan Renatus <stephan@styra.com>
1 parent 2bbe76e commit 6e5e6bb

4 files changed

Lines changed: 558 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,17 @@ jobs:
8282
- run: echo "race detector failed but job is optional"
8383
if: job.steps.race.status == failure()
8484

85+
frankenstein:
86+
runs-on: ubuntu-latest
87+
steps:
88+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
89+
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
90+
with:
91+
go-version-file: go.mod
92+
- run: |
93+
go run .
94+
working-directory: e2e/testbuild
95+
8596
code_coverage:
8697
runs-on: ubuntu-latest
8798
steps:

e2e/testbuild/go.mod

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
module github.com/styrainc/regal/e2e/testbuild
2+
3+
go 1.24.3
4+
5+
require (
6+
github.com/open-policy-agent/opa v1.5.1
7+
github.com/styrainc/regal v0.34.1
8+
)
9+
10+
require (
11+
dario.cat/mergo v1.0.2 // indirect
12+
github.com/Microsoft/go-winio v0.6.2 // indirect
13+
github.com/ProtonMail/go-crypto v1.1.6 // indirect
14+
github.com/agnivade/levenshtein v1.2.1 // indirect
15+
github.com/arl/statsviz v0.6.0 // indirect
16+
github.com/beorn7/perks v1.0.1 // indirect
17+
github.com/bytecodealliance/wasmtime-go/v3 v3.0.2 // indirect
18+
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
19+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
20+
github.com/cloudflare/circl v1.6.1 // indirect
21+
github.com/containerd/containerd/v2 v2.1.1 // indirect
22+
github.com/containerd/errdefs v1.0.0 // indirect
23+
github.com/containerd/log v0.1.0 // indirect
24+
github.com/containerd/platforms v1.0.0-rc.1 // indirect
25+
github.com/coreos/go-semver v0.3.1 // indirect
26+
github.com/cyphar/filepath-securejoin v0.4.1 // indirect
27+
github.com/dgraph-io/badger/v4 v4.7.0 // indirect
28+
github.com/dgraph-io/ristretto/v2 v2.2.0 // indirect
29+
github.com/dustin/go-humanize v1.0.1 // indirect
30+
github.com/emirpasic/gods v1.18.1 // indirect
31+
github.com/fatih/color v1.18.0 // indirect
32+
github.com/felixge/fgprof v0.9.5 // indirect
33+
github.com/felixge/httpsnoop v1.0.4 // indirect
34+
github.com/fsnotify/fsnotify v1.9.0 // indirect
35+
github.com/gdamore/encoding v1.0.0 // indirect
36+
github.com/gdamore/tcell v1.1.4 // indirect
37+
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
38+
github.com/go-git/go-billy/v5 v5.6.2 // indirect
39+
github.com/go-git/go-git/v5 v5.16.0 // indirect
40+
github.com/go-ini/ini v1.67.0 // indirect
41+
github.com/go-logr/logr v1.4.2 // indirect
42+
github.com/go-logr/stdr v1.2.2 // indirect
43+
github.com/go-viper/mapstructure/v2 v2.2.1 // indirect
44+
github.com/gobwas/glob v0.2.3 // indirect
45+
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
46+
github.com/golang/protobuf v1.5.4 // indirect
47+
github.com/google/flatbuffers v25.2.10+incompatible // indirect
48+
github.com/google/go-dap v0.12.0 // indirect
49+
github.com/google/pprof v0.0.0-20250422154841-e1f9c1950416 // indirect
50+
github.com/google/uuid v1.6.0 // indirect
51+
github.com/gorilla/mux v1.8.1 // indirect
52+
github.com/gorilla/websocket v1.5.0 // indirect
53+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.1 // indirect
54+
github.com/inconshreveable/mousetrap v1.1.0 // indirect
55+
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
56+
github.com/json-iterator/go v1.1.12 // indirect
57+
github.com/jstemmer/go-junit-report/v2 v2.1.0 // indirect
58+
github.com/kevinburke/ssh_config v1.2.0 // indirect
59+
github.com/klauspost/compress v1.18.0 // indirect
60+
github.com/lucasb-eyer/go-colorful v1.0.3 // indirect
61+
github.com/mattn/go-colorable v0.1.13 // indirect
62+
github.com/mattn/go-isatty v0.0.20 // indirect
63+
github.com/mattn/go-runewidth v0.0.16 // indirect
64+
github.com/moby/locker v1.0.1 // indirect
65+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
66+
github.com/modern-go/reflect2 v1.0.2 // indirect
67+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
68+
github.com/olekukonko/tablewriter v0.0.5 // indirect
69+
github.com/opencontainers/go-digest v1.0.0 // indirect
70+
github.com/opencontainers/image-spec v1.1.1 // indirect
71+
github.com/owenrumney/go-sarif/v2 v2.3.3 // indirect
72+
github.com/pdevine/go-asciisprite v0.1.6 // indirect
73+
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
74+
github.com/peterh/liner v1.2.2 // indirect
75+
github.com/pjbgf/sha1cd v0.3.2 // indirect
76+
github.com/pkg/profile v1.7.0 // indirect
77+
github.com/prometheus/client_golang v1.22.0 // indirect
78+
github.com/prometheus/client_model v0.6.2 // indirect
79+
github.com/prometheus/common v0.63.0 // indirect
80+
github.com/prometheus/procfs v0.16.1 // indirect
81+
github.com/rcrowley/go-metrics v0.0.0-20250401214520-65e299d6c5c9 // indirect
82+
github.com/rivo/uniseg v0.4.7 // indirect
83+
github.com/sagikazarmark/locafero v0.7.0 // indirect
84+
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
85+
github.com/sirupsen/logrus v1.9.3 // indirect
86+
github.com/skeema/knownhosts v1.3.1 // indirect
87+
github.com/sourcegraph/conc v0.3.0 // indirect
88+
github.com/sourcegraph/jsonrpc2 v0.2.1 // indirect
89+
github.com/spf13/afero v1.12.0 // indirect
90+
github.com/spf13/cast v1.7.1 // indirect
91+
github.com/spf13/cobra v1.9.1 // indirect
92+
github.com/spf13/pflag v1.0.6 // indirect
93+
github.com/spf13/viper v1.20.1 // indirect
94+
github.com/styrainc/roast v0.10.0 // indirect
95+
github.com/subosito/gotenv v1.6.0 // indirect
96+
github.com/tchap/go-patricia/v2 v2.3.2 // indirect
97+
github.com/vektah/gqlparser/v2 v2.5.26 // indirect
98+
github.com/xanzy/ssh-agent v0.3.3 // indirect
99+
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
100+
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
101+
github.com/yashtewari/glob-intersection v0.2.0 // indirect
102+
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
103+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.60.0 // indirect
104+
go.opentelemetry.io/otel v1.35.0 // indirect
105+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.35.0 // indirect
106+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.35.0 // indirect
107+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.35.0 // indirect
108+
go.opentelemetry.io/otel/metric v1.35.0 // indirect
109+
go.opentelemetry.io/otel/sdk v1.35.0 // indirect
110+
go.opentelemetry.io/otel/trace v1.35.0 // indirect
111+
go.opentelemetry.io/proto/otlp v1.5.0 // indirect
112+
go.uber.org/atomic v1.9.0 // indirect
113+
go.uber.org/automaxprocs v1.6.0 // indirect
114+
go.uber.org/multierr v1.9.0 // indirect
115+
golang.org/x/crypto v0.37.0 // indirect
116+
golang.org/x/net v0.39.0 // indirect
117+
golang.org/x/sync v0.14.0 // indirect
118+
golang.org/x/sys v0.33.0 // indirect
119+
golang.org/x/text v0.24.0 // indirect
120+
golang.org/x/time v0.11.0 // indirect
121+
google.golang.org/genproto/googleapis/api v0.0.0-20250218202821-56aae31c358a // indirect
122+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250218202821-56aae31c358a // indirect
123+
google.golang.org/grpc v1.72.0 // indirect
124+
google.golang.org/protobuf v1.36.6 // indirect
125+
gopkg.in/warnings.v0 v0.1.2 // indirect
126+
gopkg.in/yaml.v3 v3.0.1 // indirect
127+
oras.land/oras-go/v2 v2.5.0 // indirect
128+
sigs.k8s.io/yaml v1.4.0 // indirect
129+
)
130+
131+
replace github.com/styrainc/regal => ../../

0 commit comments

Comments
 (0)