Skip to content

Commit 1226f3e

Browse files
committed
Remove minio client on CI
1 parent ddad75e commit 1226f3e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

archives/archives_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import (
99
"testing"
1010
"time"
1111

12+
"github.com/aws/aws-sdk-go-v2/aws"
13+
"github.com/aws/aws-sdk-go/service/s3"
1214
"github.com/jmoiron/sqlx"
1315
_ "github.com/lib/pq"
1416
"github.com/nyaruka/gocommon/aws/cwatch"
@@ -41,6 +43,8 @@ func setup(t *testing.T) (context.Context, *runtime.Runtime) {
4143
s3Client, err := NewS3Client(config)
4244
require.NoError(t, err)
4345

46+
s3Client.Client.CreateBucket(ctx, &s3.CreateBucketInput{Bucket: aws.String("temba-archives")})
47+
4448
slog.SetDefault(slog.New(slog.NewTextHandler(os.Stdout, &slog.HandlerOptions{Level: slog.LevelDebug})))
4549

4650
CW, err := cwatch.NewService(config.AWSAccessKeyID, config.AWSSecretAccessKey, config.AWSRegion, config.CloudwatchNamespace, config.DeploymentID)

0 commit comments

Comments
 (0)