Skip to content

Commit 6afb67d

Browse files
committed
rm
1 parent 0742fc3 commit 6afb67d

File tree

9 files changed

+3
-378
lines changed

9 files changed

+3
-378
lines changed

framework/cmd/main.go

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package main
33
import (
44
"embed"
55
"fmt"
6-
"github.com/smartcontractkit/chainlink-testing-framework/framework/components/s3provider"
76
"io/fs"
87
"log"
98
"os"
@@ -244,68 +243,6 @@ func main() {
244243
return err
245244
},
246245
},
247-
{
248-
Name: "s3",
249-
Usage: "Controls local S3",
250-
Subcommands: []*cli.Command{
251-
{
252-
Name: "up",
253-
Usage: "ctf s3 up",
254-
Aliases: []string{"u"},
255-
Description: "Spins up a local S3 provider (minio)",
256-
Flags: []cli.Flag{
257-
&cli.StringFlag{
258-
Name: "access-key",
259-
Aliases: []string{"a"},
260-
Usage: "set access key (default: randomly generated)",
261-
Required: false,
262-
},
263-
&cli.StringFlag{
264-
Name: "secret-key",
265-
Aliases: []string{"s"},
266-
Usage: "set secret key (default: randomly generated)",
267-
Required: false,
268-
},
269-
},
270-
Action: func(c *cli.Context) error {
271-
accessKey := c.String("access-key")
272-
secretKey := c.String("secret-key")
273-
274-
var myS3 s3provider.Provider
275-
var err error
276-
if accessKey != "" && secretKey != "" {
277-
myS3, err = s3provider.NewMinioFactory().New(
278-
s3provider.WithPort(9000),
279-
s3provider.WithConsolePort(9001),
280-
s3provider.WithAccessKey(accessKey),
281-
s3provider.WithSecretKey(secretKey),
282-
s3provider.WithKeep(),
283-
)
284-
} else {
285-
myS3, err = s3provider.NewMinioFactory().New(
286-
s3provider.WithPort(9000),
287-
s3provider.WithConsolePort(9001),
288-
s3provider.WithKeep(),
289-
)
290-
}
291-
292-
if err != nil {
293-
L.Error().Msg(err.Error())
294-
return err
295-
}
296-
framework.L.Info().Msg(fmt.Sprintf(
297-
"S3 provider running:\tEndpoint: %s\tConsole URL: %s\tAccessKey: %s\tSecretKey: %s\tBucket: %s",
298-
myS3.GetEndpoint(),
299-
myS3.GetConsoleURL(),
300-
myS3.GetAccessKey(),
301-
myS3.GetSecretKey(),
302-
myS3.GetBucket(),
303-
))
304-
return nil
305-
},
306-
},
307-
},
308-
},
309246
},
310247
}
311248

framework/components/blockchain/anvil.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func newAnvil(in *Input) (*Output, error) {
4545
entryPoint = append(entryPoint, in.DockerCmdParamsOverrides...)
4646
req.Entrypoint = entryPoint
4747

48-
framework.L.Info().Any("Cmd", strings.Join(entryPoint, " ")).Bool("HostNetworkMode", in.HostNetworkMode).Msg("Creating anvil with command")
48+
framework.L.Info().Any("Cmd", strings.Join(entryPoint, " ")).Msg("Creating anvil with command")
4949

5050
return createGenericEvmContainer(in, req, false)
5151
}

framework/components/s3provider/interfaces.go

Lines changed: 0 additions & 14 deletions
This file was deleted.

framework/components/s3provider/minio.go

Lines changed: 0 additions & 241 deletions
This file was deleted.

framework/components/s3provider/minio_test.go

Lines changed: 0 additions & 41 deletions
This file was deleted.

framework/examples/myproject/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,8 +598,8 @@ github.com/hako/durafmt v0.0.0-20200710122514-c0fb7b4da026 h1:BpJ2o0OR5FV7vrkDYf
598598
github.com/hako/durafmt v0.0.0-20200710122514-c0fb7b4da026/go.mod h1:5Scbynm8dF1XAPwIwkGPqzkM/shndPm79Jd1003hTjE=
599599
github.com/hashicorp/consul/api v1.31.2 h1:NicObVJHcCmyOIl7Z9iHPvvFrocgTYo9cITSGg0/7pw=
600600
github.com/hashicorp/consul/api v1.31.2/go.mod h1:Z8YgY0eVPukT/17ejW+l+C7zJmKwgPHtjU1q16v/Y40=
601-
github.com/hashicorp/consul/sdk v0.16.2 h1:cGX/djeEe9r087ARiKVWwVWCF64J+yW0G6ftZMZYbj0=
602-
github.com/hashicorp/consul/sdk v0.16.2/go.mod h1:onxcZjYVsPx5XMveAC/OtoIsdr32fykB7INFltDoRE8=
601+
github.com/hashicorp/consul/sdk v0.16.1 h1:V8TxTnImoPD5cj0U9Spl0TUxcytjcbbJeADFF07KdHg=
602+
github.com/hashicorp/consul/sdk v0.16.1/go.mod h1:fSXvwxB2hmh1FMZCNl6PwX0Q/1wdWtHJcZ7Ea5tns0s=
603603
github.com/hashicorp/cronexpr v1.1.2 h1:wG/ZYIKT+RT3QkOdgYc+xsKWVRgnxJ1OJtjjy84fJ9A=
604604
github.com/hashicorp/cronexpr v1.1.2/go.mod h1:P4wA0KBl9C5q2hABiMO7cp6jcIg96CDh1Efb3g1PWA4=
605605
github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=

0 commit comments

Comments
 (0)