Skip to content

Commit

Permalink
I think it ... works?
Browse files Browse the repository at this point in the history
  • Loading branch information
djeebus committed Nov 8, 2024
1 parent eb33b5b commit 5e8ca6b
Show file tree
Hide file tree
Showing 19 changed files with 1,276 additions and 163 deletions.
3 changes: 3 additions & 0 deletions .mockery.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
with-expecter: true
dir: "mocks/{{.PackageName}}/mocks"
packages:
github.com/zapier/kubechecks/pkg/vcs:
config:
all: true
github.com/zapier/kubechecks/pkg/vcs/github_client:
# place your package-specific config here
config:
Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ helm-cr 1.6.1
helm-ct 3.8.0
kubeconform 0.6.3
kustomize 5.1.0
mockery 2.46.3
staticcheck 2024.1.1
tilt 0.33.2
2 changes: 2 additions & 0 deletions cmd/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ func init() {
newStringOpts().withDefault("1.23.0"))
boolFlag(flags, "show-debug-info", "Set to true to print debug info to the footer of MR comments (KUBECHECKS_SHOW_DEBUG_INFO).")

stringFlag(flags, "argocd-repository-endpoint", `Location of the argocd repository service endpoint.`,
newStringOpts().withDefault("argocd-repo-server.argocd:8081"))
stringFlag(flags, "label-filter", `(Optional) If set, The label that must be set on an MR (as "kubechecks:<value>") for kubechecks to process the merge request webhook (KUBECHECKS_LABEL_FILTER).`)
stringFlag(flags, "openai-api-token", "OpenAI API Token.")
stringFlag(flags, "webhook-url-base", "The endpoint to listen on for incoming PR/MR event webhooks. For example, 'https://checker.mycompany.com'.")
Expand Down
6 changes: 5 additions & 1 deletion mocks/affected_apps/mocks/mock_Matcher.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion mocks/affected_apps/mocks/mock_argoClient.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion mocks/generator/mocks/mock_AppsGenerator.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 13 additions & 1 deletion mocks/generator/mocks/mock_Generator.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 17 additions & 1 deletion mocks/github_client/mocks/mock_IssuesServices.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 17 additions & 1 deletion mocks/github_client/mocks/mock_PullRequestsServices.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 21 additions & 1 deletion mocks/github_client/mocks/mock_RepositoriesServices.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5e8ca6b

Please sign in to comment.