mirror of
https://github.com/hanzokms/cli.git
synced 2026-10-30 20:30:00 +00:00
Infisical->KMS across all .go (identifiers + env-var keys + brand strings), e2e env vars + e2e/packages/infisical->kms dir. Only external published deps remain: github.com/infisical/go-sdk + infisical-kmip API symbols (kmsSdk.NewInfisicalClient etc.) and the forked keyring's INFISICAL_VAULT_FILE_PASSPHRASE env contract — these need upstream forks to rename.
24 lines
326 B
Go
24 lines
326 B
Go
package tests
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
"testing"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
// Setup
|
|
fmt.Println("Setting up CLI...")
|
|
SetupCli()
|
|
fmt.Println("Performing user login...")
|
|
UserLoginCmd()
|
|
fmt.Println("Performing kms init...")
|
|
UserInitCmd()
|
|
|
|
// Run the tests
|
|
code := m.Run()
|
|
|
|
// Exit
|
|
os.Exit(code)
|
|
}
|