Skip to content

Commit b4d7e16

Browse files
committed
VSCode Launch.json Sample
Signed-off-by: Tiger Kaovilai <[email protected]>
1 parent 06f152c commit b4d7e16

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.vscode/launch.json.sample

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Launch E2E",
9+
"type": "go",
10+
"request": "launch",
11+
"mode": "auto",
12+
"program": "${fileDirname}",
13+
"buildFlags": "-tags=include_oss,include_gcs",
14+
// run from pkg/e2e_test.go
15+
"cwd": "${workspaceFolder}",
16+
"env": {
17+
"UDISTRIBUTION_TEST_E2E_ENABLE": "true",
18+
// Config per https://docs.docker.com/registry/configuration/
19+
// Using env format per https://docs.docker.com/registry/configuration/#override-specific-configuration-options
20+
"REGISTRY_STORAGE": "s3",
21+
"REGISTRY_STORAGE_S3_BUCKET": "internal-bucket-554a0929-70b8-4dd6-bf5e-49f1b2e989aa",
22+
"REGISTRY_STORAGE_S3_ACCESSKEY": "acKey",
23+
"REGISTRY_STORAGE_S3_SECRETKEY": "scKey",
24+
"REGISTRY_STORAGE_S3_REGION": "us-east-1",
25+
"REGISTRY_STORAGE_S3_REGIONENDPOINT": "https://s3-openshift-storage.apps.tkaovila.svnp.p1.openshiftapps.com",
26+
// "REGISTRY_STORAGE_S3_REGIONENDPOINT": "https://s3-openshift-storage.apps.tkaovila.svnp.p1.openshiftapps.com:443", This do not work yet.
27+
},
28+
}
29+
]
30+
}

0 commit comments

Comments
 (0)