Skip to content

Commit

Permalink
ci: pipeline manifest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
opensaucerer committed Nov 25, 2023
1 parent 043ef82 commit baa5c77
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,6 @@ jobs:
AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}
CREDENTIALS_FILE_PATH: ${{ secrets.CREDENTIALS_FILE_PATH }}
PINATA_JWT: ${{ secrets.PINATA_JWT }}
WASABI_API_KEY: ${{ secrets.WASABI_API_KEY }}
WASABI_SECRET_KEY: ${{ secrets.WASABI_SECRET_KEY }}
WASABI_BUCKET_NAME: ${{ secrets.WASABI_BUCKET_NAME }}
16 changes: 8 additions & 8 deletions wasabi/wasabi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ var (
bridge bifrost.RainbowBridge
err error

API_KEY = os.Getenv("API_KEY")
API_SECRET = os.Getenv("API_SECRET")
BUCKET_NAME = os.Getenv("BUCKET_NAME")
REGION = os.Getenv("REGION")
WASABI_API_KEY = os.Getenv("WASABI_API_KEY")
WASABI_API_SECRET = os.Getenv("WASABI_API_SECRET")
WASABI_BUCKET_NAME = os.Getenv("WASABI_BUCKET_NAME")
WASABI_REGION = os.Getenv("WASABI_REGION")
)

func setup(t *testing.T) {

bridge, err = bifrost.NewRainbowBridge(&bifrost.BridgeConfig{
DefaultBucket: BUCKET_NAME,
DefaultBucket: WASABI_BUCKET_NAME,
DefaultTimeout: 10,
Provider: bifrost.WasabiCloudStorage,
EnableDebug: true,
PublicRead: true,
AccessKey: API_KEY,
SecretKey: API_SECRET,
Region: REGION,
AccessKey: WASABI_API_KEY,
SecretKey: WASABI_API_SECRET,
Region: WASABI_REGION,
})
if err != nil {
t.Error(err.(bifrost.Error).Code(), err)
Expand Down

0 comments on commit baa5c77

Please sign in to comment.