Skip to content

Commit ffbb968

Browse files
committed
Use alternative container images from gallery.ecr.aws.
Signed-off-by: Felix Fontein <[email protected]>
1 parent 8019097 commit ffbb968

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

hcvault/keysource_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func TestMain(m *testing.M) {
4141
}
4242

4343
// Pull the image, create a container based on it, and run it
44-
resource, err := pool.Run("vault", testVaultVersion, []string{"VAULT_DEV_ROOT_TOKEN_ID=" + testVaultToken})
44+
resource, err := pool.Run("gallery.ecr.aws/hashicorp/vault", testVaultVersion, []string{"VAULT_DEV_ROOT_TOKEN_ID=" + testVaultToken})
4545
if err != nil {
4646
logger.Fatalf("could not start resource: %s", err)
4747
}

kms/keysource_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ const (
3333
// testLocalKMSImage is a container image repository reference to a mock
3434
// version of AWS' Key Management Service.
3535
// Ref: https://github.com/nsmithuk/local-kms
36-
testLocalKMSImage = "docker.io/nsmithuk/local-kms"
36+
testLocalKMSImage = "gallery.ecr.aws/nsmithuk/local-kms"
3737
// testLocalKMSImage is the container image tag to use.
38-
testLocalKMSTag = "3.11.1"
38+
testLocalKMSTag = "3.11.7"
3939
)
4040

4141
// TestMain initializes an AWS KMS server using Docker, writes the HTTP address

0 commit comments

Comments
 (0)