Compare commits
No commits in common. "35d44963a2752d26d2b64a572b946897b1cf3620" and "19f8f764c93fca8d548c5a79cbcde59af2008e44" have entirely different histories.
35d44963a2
...
19f8f764c9
4 changed files with 5 additions and 7 deletions
|
|
@ -12,6 +12,4 @@ FROM scratch
|
|||
COPY --from=builder /checker-email-keys /checker-email-keys
|
||||
USER 65534:65534
|
||||
EXPOSE 8080
|
||||
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
||||
CMD ["/checker-email-keys", "-healthcheck"]
|
||||
ENTRYPOINT ["/checker-email-keys"]
|
||||
|
|
|
|||
|
|
@ -298,8 +298,8 @@ func TestRuleEvaluate_KindFiltering(t *testing.T) {
|
|||
continue
|
||||
}
|
||||
states := r.Evaluate(context.Background(), obs, sdk.CheckerOptions{})
|
||||
if len(states) != 1 || states[0].Status != sdk.StatusUnknown {
|
||||
t.Fatalf("PGP rule on SMIMEA kind should yield single Unknown state, got %+v", states)
|
||||
if len(states) != 1 || states[0].Status != sdk.StatusInfo {
|
||||
t.Fatalf("PGP rule on SMIMEA kind should yield single Info state, got %+v", states)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
2
go.mod
2
go.mod
|
|
@ -3,7 +3,7 @@ module git.happydns.org/checker-email-keys
|
|||
go 1.25.0
|
||||
|
||||
require (
|
||||
git.happydns.org/checker-sdk-go v1.5.0
|
||||
git.happydns.org/checker-sdk-go v1.4.0
|
||||
github.com/ProtonMail/go-crypto v1.1.0-alpha.0
|
||||
github.com/miekg/dns v1.1.72
|
||||
)
|
||||
|
|
|
|||
4
go.sum
4
go.sum
|
|
@ -1,5 +1,5 @@
|
|||
git.happydns.org/checker-sdk-go v1.5.0 h1:5uD5Cm6xJ+lwnhbJ09iCXGHbYS9zRh+Yh0NeBHkAPBY=
|
||||
git.happydns.org/checker-sdk-go v1.5.0/go.mod h1:aNAcfYFfbhvH9kJhE0Njp5GX0dQbxdRB0rJ0KvSC5nI=
|
||||
git.happydns.org/checker-sdk-go v1.4.0 h1:sO8EnF3suhNgYLRsbmCZWJOymH/oNMrOUqj3FEzJArs=
|
||||
git.happydns.org/checker-sdk-go v1.4.0/go.mod h1:aNAcfYFfbhvH9kJhE0Njp5GX0dQbxdRB0rJ0KvSC5nI=
|
||||
github.com/ProtonMail/go-crypto v1.1.0-alpha.0 h1:nHGfwXmFvJrSR9xu8qL7BkO4DqTHXE9N5vPhgY2I+j0=
|
||||
github.com/ProtonMail/go-crypto v1.1.0-alpha.0/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE=
|
||||
github.com/cloudflare/circl v1.3.7 h1:qlCDlTPz2n9fu58M0Nh1J/JzcFpfgkFHHX3O35r5vcU=
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue