Skip to content

Commit

Permalink
Bump botkube dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mszostok committed Feb 19, 2024
1 parent d526447 commit 1122ae4
Show file tree
Hide file tree
Showing 26 changed files with 27 additions and 31 deletions.
2 changes: 1 addition & 1 deletion cmd/executor/ai-face/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/kubeshop/botkube/pkg/config"
"github.com/kubeshop/botkube/pkg/httpx"
"github.com/kubeshop/botkube/pkg/loggerx"
"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cmd/executor/exec/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"github.com/kubeshop/botkube/pkg/api/executor"
"github.com/kubeshop/botkube/pkg/formatx"
"github.com/kubeshop/botkube/pkg/loggerx"
"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"
)

// version is set via ldflags by GoReleaser.
Expand Down
2 changes: 1 addition & 1 deletion cmd/executor/gh/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/kubeshop/botkube/pkg/api/executor"
"github.com/kubeshop/botkube/pkg/config"
"github.com/kubeshop/botkube/pkg/loggerx"
"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion cmd/executor/thread-mate/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
thmate "github.com/kubeshop/botkube-cloud-plugins/internal/executor/thread-mate"
"github.com/kubeshop/botkube/pkg/api"
"github.com/kubeshop/botkube/pkg/api/executor"
"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"
)

const pluginName = "thread-mate"
Expand Down
5 changes: 1 addition & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ require (
github.com/hashicorp/go-plugin v1.4.10
github.com/huandu/xstrings v1.4.0
github.com/keptn/go-utils v0.20.4
github.com/kubeshop/botkube v0.13.1-0.20240208094725-f6ec67a58bef
github.com/kubeshop/botkube v0.13.1-0.20240219113106-577e1e800cff
github.com/muesli/reflow v0.3.0
github.com/olekukonko/tablewriter v0.0.5
github.com/prometheus/client_golang v1.16.0
Expand Down Expand Up @@ -190,6 +190,3 @@ require (
sigs.k8s.io/kustomize/kyaml v0.14.3-0.20230601165947-6ce0bf390ce3 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
)

// will be removed after merging: https://github.com/kubeshop/botkube/pull/1385
replace github.com/kubeshop/botkube => github.com/mszostok/botkube v1.3.1-0.20240215091237-e7ea884691ef
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,8 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/kubeshop/botkube v0.13.1-0.20240219113106-577e1e800cff h1:gBRJRfolQnK8zfl7FwCU+C/fql4DS3srBV/F2TF5prs=
github.com/kubeshop/botkube v0.13.1-0.20240219113106-577e1e800cff/go.mod h1:r/Xka9JVhEFx36XN+vDyKlD7TrMb51ucM9HGoob4vEM=
github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
Expand Down Expand Up @@ -733,8 +735,6 @@ github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9G
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 h1:n6/2gBQ3RWajuToeY6ZtZTIKv2v7ThUy5KKusIT0yc0=
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00/go.mod h1:Pm3mSP3c5uWn86xMLZ5Sa7JB9GsEZySvHYXCTK4E9q4=
github.com/mszostok/botkube v1.3.1-0.20240215091237-e7ea884691ef h1:6dI3qE3laar9ekwAXo9Gc4PqHvR8YFzwI6yCb8wRJsg=
github.com/mszostok/botkube v1.3.1-0.20240215091237-e7ea884691ef/go.mod h1:r/Xka9JVhEFx36XN+vDyKlD7TrMb51ucM9HGoob4vEM=
github.com/muesli/reflow v0.3.0 h1:IFsN6K9NfGtjeggFP+68I4chLZV2yIKsXJFNZ+eWh6s=
github.com/muesli/reflow v0.3.0/go.mod h1:pbwTDkVPibjO2kyvBQRBxTWEEGDGq0FlB1BIKtnHY/8=
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
Expand Down
2 changes: 1 addition & 1 deletion internal/executor/doctor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/kubeshop/botkube/pkg/api/executor"
"github.com/kubeshop/botkube/pkg/config"
"github.com/kubeshop/botkube/pkg/loggerx"
"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion internal/executor/flux/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"

"github.com/kubeshop/botkube/pkg/formatx"
"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"
)

// deleteConfirmPhase represent a confirmation phase for deletion. Taken from flux: v2.0.1.
Expand Down
2 changes: 1 addition & 1 deletion internal/executor/flux/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package flux

import (
"github.com/kubeshop/botkube/pkg/config"
"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"
)

// Config holds Flux executor configuration.
Expand Down
2 changes: 1 addition & 1 deletion internal/executor/flux/diff_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/kubeshop/botkube/pkg/api"
"github.com/kubeshop/botkube/pkg/api/executor"
"github.com/kubeshop/botkube/pkg/formatx"
"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion internal/executor/flux/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/kubeshop/botkube/pkg/api"
"github.com/kubeshop/botkube/pkg/api/executor"
"github.com/kubeshop/botkube/pkg/loggerx"
"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion internal/executor/flux/gh_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/kubeshop/botkube/pkg/api"
"github.com/kubeshop/botkube/pkg/api/executor"
"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"
)

type (
Expand Down
2 changes: 1 addition & 1 deletion internal/executor/helm/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/kubeshop/botkube/pkg/api/executor"
"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"
)

const defaultNamespace = "default"
Expand Down
2 changes: 1 addition & 1 deletion internal/executor/helm/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

"github.com/kubeshop/botkube/pkg/api"
"github.com/kubeshop/botkube/pkg/api/executor"
"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion internal/executor/helm/executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

"github.com/kubeshop/botkube/pkg/api"
"github.com/kubeshop/botkube/pkg/api/executor"
"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"
)

const kc = "KUBECONFIG"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
"baseBody": {
"codeBlock": "Installs a chart archive.\n\nThere are two different ways you to install a Helm chart:\n1. By absolute URL: helm install mynginx https://example.com/charts/nginx-1.2.3.tgz\n2. By chart reference and repo url: helm install --repo https://example.com/charts/ mynginx nginx\n\nUsage:\n helm install [NAME] [CHART] [flags]\n\nFlags:\n --create-namespace\n --generate-name,-g\n --dependency-update\n --description\n --devel\n --disable-openapi-validation\n --dry-run\n --insecure-skip-tls-verify\n --name-template\n --no-hooks\n --pass-credentials\n --password\n --post-renderer\n --post-renderer-args\n --render-subchart-notes\n --replace\n --repo\n --set\n --set-json\n --set-string\n --skip-crds\n --timeout\n --username\n --verify\n --version\n -o,--output\n"
},
"timestamp": "0001-01-01T00:00:00Z",
"parentActivityId": ""
"timestamp": "0001-01-01T00:00:00Z"
}
2 changes: 1 addition & 1 deletion internal/executor/thread-mate/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/kubeshop/botkube/pkg/api/executor"
"github.com/kubeshop/botkube/pkg/config"
"github.com/kubeshop/botkube/pkg/multierror"
"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion internal/executor/x/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package x
import (
_ "embed"

"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"

"github.com/kubeshop/botkube-cloud-plugins/internal/executor/x/getter"
"github.com/kubeshop/botkube/pkg/api"
Expand Down
2 changes: 1 addition & 1 deletion internal/executor/x/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/kubeshop/botkube-cloud-plugins/internal/executor/x/template"
"github.com/kubeshop/botkube/pkg/api"
"github.com/kubeshop/botkube/pkg/api/executor"
"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"
)

// Runner runs command and parse its output if needed.
Expand Down
2 changes: 1 addition & 1 deletion internal/executor/x/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"path/filepath"
"testing"

"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion internal/source/ai-brain/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/kubeshop/botkube/pkg/api/source"
"github.com/kubeshop/botkube/pkg/config"
"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion internal/source/argocd/argocd.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"github.com/kubeshop/botkube/pkg/config"
"github.com/kubeshop/botkube/pkg/formatx"
"github.com/kubeshop/botkube/pkg/loggerx"
"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"
)

var _ source.Source = (*Source)(nil)
Expand Down
2 changes: 1 addition & 1 deletion internal/source/argocd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/kubeshop/botkube/pkg/api/source"
"github.com/kubeshop/botkube/pkg/config"
"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"
)

// Config contains configuration for ArgoCD source plugin.
Expand Down
2 changes: 1 addition & 1 deletion internal/source/github_events/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/kubeshop/botkube-cloud-plugins/internal/source/github_events/templates"
"github.com/kubeshop/botkube/pkg/api/source"
"github.com/kubeshop/botkube/pkg/config"
"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"
)

type (
Expand Down
2 changes: 1 addition & 1 deletion internal/source/keptn/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/kubeshop/botkube/pkg/api/source"
"github.com/kubeshop/botkube/pkg/config"
"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"
)

// Config prometheus configuration
Expand Down
2 changes: 1 addition & 1 deletion internal/source/prometheus/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/kubeshop/botkube/pkg/api/source"
"github.com/kubeshop/botkube/pkg/config"
"github.com/kubeshop/botkube/pkg/pluginx"
pluginx "github.com/kubeshop/botkube/pkg/plugin"
"github.com/kubeshop/botkube/pkg/ptr"
)

Expand Down

0 comments on commit 1122ae4

Please sign in to comment.