Skip to content

Commit

Permalink
Fix Cloud Slack Dev E2E tests after GQL model changes (#1335)
Browse files Browse the repository at this point in the history
- Fix Cloud Slack Dev E2E tests after GQL model changes
- Fix pushing the latest Helm chart
  • Loading branch information
pkosiec authored Dec 18, 2023
1 parent 2955f95 commit e4b054d
Show file tree
Hide file tree
Showing 10 changed files with 87 additions and 1,344 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/prod-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
cancel-in-progress: false
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Helm
uses: azure/setup-helm@v3
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/publish-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: Publish main helm chart
on:
workflow_dispatch:
push:
paths:
- 'helm/**'
- '.github/workflows/**'
branches:
- 'main'

Expand Down
2 changes: 1 addition & 1 deletion test/cloud-slack-dev-e2e/cloud_slack_dev_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ import (
"k8s.io/client-go/util/homedir"
stringsutil "k8s.io/utils/strings"

gqlModel "github.com/kubeshop/botkube/internal/remote/graphql"
"github.com/kubeshop/botkube/pkg/api"
"github.com/kubeshop/botkube/pkg/bot/interactive"
"github.com/kubeshop/botkube/pkg/formatx"
"github.com/kubeshop/botkube/test/cloud_graphql"
gqlModel "github.com/kubeshop/botkube/test/cloud_graphql/model"
"github.com/kubeshop/botkube/test/commplatform"
"github.com/kubeshop/botkube/test/diff"
"github.com/kubeshop/botkube/test/helmx"
Expand Down
4 changes: 3 additions & 1 deletion test/cloud-slack-dev-e2e/gql.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

package cloud_slack_dev_e2e

import gqlModel "github.com/kubeshop/botkube/test/cloud_graphql/model"
import (
gqlModel "github.com/kubeshop/botkube/internal/remote/graphql"
)

// AuditEvent represents audit event.
type AuditEvent struct {
Expand Down
160 changes: 80 additions & 80 deletions test/cloud_graphql/graphql_client.go

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions test/cloud_graphql/model/connected_platforms.go

This file was deleted.

3 changes: 0 additions & 3 deletions test/cloud_graphql/model/doc.go

This file was deleted.

Loading

0 comments on commit e4b054d

Please sign in to comment.