Skip to content

Commit 372c7ce

Browse files
committed
make test repo namespace configurable
1 parent ef87110 commit 372c7ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/webapp/test/getDeploymentImageRef.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import { ECRClient, DeleteRepositoryCommand } from "@aws-sdk/client-ecr";
88

99
describe.skipIf(process.env.RUN_REGISTRY_TESTS !== "1")("getDeploymentImageRef", () => {
1010
const testHost = "123456789012.dkr.ecr.us-east-1.amazonaws.com";
11-
const testNamespace = "test-namespace";
12-
const testProjectRef = "test-project-" + Math.random().toString(36).substring(7);
11+
const testNamespace = process.env.DEPLOY_REGISTRY_NAMESPACE || "test-namespace";
12+
const testProjectRef = "proj_test_" + Math.random().toString(36).substring(7);
1313

1414
const registryId = process.env.DEPLOY_REGISTRY_ID;
1515
const registryTags = "test=test,test2=test2";

0 commit comments

Comments
 (0)