che-operator/.vscode/launch.json

240 lines
6.0 KiB
JSON

{
"version": "0.2.0",
"configurations": [
{
"type": "bashdb",
"request": "launch",
"name": "Make release",
"cwd": "${workspaceFolder}",
"program": "${workspaceFolder}/make-release.sh",
"args": [
"7.30.0",
"--release",
"--check-resources",
"--release-olm-files"
]
},
{
"type": "bashdb",
"request": "launch",
"name": "Bash-Debug (release-olm-files.sh)",
"cwd": "${workspaceFolder}",
"program": "${workspaceFolder}/olm/release-olm-files.sh",
"args": [
"7.30.0"
]
},
{
"type": "bashdb",
"request": "launch",
"name": "Bash-Debug (testCatalog.sh) minikube stable",
"cwd": "${workspaceFolder}/olm",
"program": "${workspaceFolder}/olm/testCatalog.sh",
"args": [
"-p",
"kubernetes",
"-c",
"stable",
"-i",
"quay.io/eclipse/eclipse-che-kubernetes-opm-catalog:test",
"-n",
"eclipse-che",
]
},
{
"type": "bashdb",
"request": "launch",
"name": "Bash-Debug (testCatalog.sh) minikube next",
"cwd": "${workspaceFolder}/olm",
"program": "${workspaceFolder}/olm/testCatalog.sh",
"args": [
"-p",
"kubernetes",
"-c",
"next",
"-i",
"quay.io/eclipse/eclipse-che-kubernetes-opm-catalog:next",
"-n",
"eclipse-che",
]
},
{
"type": "bashdb",
"request": "launch",
"name": "Bash-Debug (testCatalog.sh) openshift next",
"cwd": "${workspaceFolder}",
"program": "${workspaceFolder}/olm/testCatalog.sh",
"args": [
"-p",
"openshift",
"-c",
"next",
"-i",
"quay.io/eclipse/eclipse-che-openshift-opm-catalog:next",
"-n",
"eclipse-che",
]
},
{
"type": "bashdb",
"request": "launch",
"name": "Bash-Debug (testCatalog.sh) openshift stable",
"cwd": "${workspaceFolder}",
"program": "${workspaceFolder}/olm/testCatalog.sh",
"args": [
"-p",
"openshift",
"-c",
"stable",
"-i",
"quay.io/eclipse/eclipse-che-openshift-opm-catalog:test",
"-n",
"eclipse-che",
]
},
{
"type": "bashdb",
"request": "launch",
"name": "Bash-Debug (testUpdate.sh) minikube stable",
"cwd": "${workspaceFolder}/olm",
"program": "${workspaceFolder}/olm/testUpdate.sh",
"args": [
"-p",
"kubernetes",
"-c",
"stable",
"-i",
"quay.io/eclipse/eclipse-che-kubernetes-opm-catalog:test",
"-n",
"eclipse-che"
]
},
{
"type": "bashdb",
"request": "launch",
"name": "Bash-Debug (testUpdate.sh) minikube next",
"cwd": "${workspaceFolder}/olm",
"program": "${workspaceFolder}/olm/testUpdate.sh",
"args": [
"-p",
"kubernetes",
"-c",
"next",
"-i",
"quay.io/eclipse/eclipse-che-kubernetes-opm-catalog:next",
"-n",
"eclipse-che"
]
},
{
"type": "bashdb",
"request": "launch",
"name": "Bash-Debug (testUpdate.sh) openshift stable",
"cwd": "${workspaceFolder}/olm",
"program": "${workspaceFolder}/olm/testUpdate.sh",
"args": [
"-p",
"openshift",
"-c",
"stable",
"-i",
"quay.io/eclipse/eclipse-che-openshift-opm-catalog:test",
"-n",
"eclipse-che"
]
},
{
"type": "bashdb",
"request": "launch",
"name": "Bash-Debug (testUpdate.sh) openshift next",
"cwd": "${workspaceFolder}/olm",
"program": "${workspaceFolder}/olm/testUpdate.sh",
"args": [
"-p",
"openshift",
"-c",
"next",
"-i",
"quay.io/eclipse/eclipse-che-openshift-opm-catalog:next",
"-n",
"eclipse-che"
]
},
{
"type": "bashdb",
"request": "launch",
"name": "Bash-Debug (buildCatalog.sh) Kubernetes platfrom",
"cwd": "${workspaceFolder}/olm",
"program": "./buildCatalog.sh",
"args": [
"-p",
"kubernetes",
"-c",
"next",
"-i",
"quay.io/eclipse/eclipse-che-kubernetes-opm-catalog:next"
]
},
{
"type": "bashdb",
"request": "launch",
"name": "Bash-Debug (buildCatalog.sh) Openshift platform",
"cwd": "${workspaceFolder}/olm",
"program": "./buildCatalog.sh",
"args": [
"-p",
"openshift",
"-c",
"next",
"-i",
"quay.io/eclipse/eclipse-che-openshift-opm-catalog:next"
]
},
{
"type": "bashdb",
"request": "launch",
"name": "Bash-Debug (simplest configuration)",
"program": "${file}",
},
{
"name": "Launch Main *.go File",
"type": "go",
"request": "launch",
"program": "${file}",
},
{
"useApiV1": false,
"dlvLoadConfig": {
"followPointers": true,
"maxVariableRecurse": 1,
"maxStringLen": 3000,
"maxArrayValues": 100,
"maxStructFields": -1
},
"name": "Che Operator",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/main.go",
"env": {
"CHE_FLAVOR": "che",
"CONSOLE_LINK_NAME": "che",
"CONSOLE_LINK_DISPLAY_NAME": "Eclipse Che",
"CONSOLE_LINK_SECTION": "Red Hat Applications",
"CONSOLE_LINK_IMAGE": "/dashboard/assets/branding/loader.svg",
"CHE_IDENTITY_SECRET": "che-identity-secret",
"CHE_IDENTITY_POSTGRES_SECRET": "che-identity-postgres-secret",
"CHE_POSTGRES_SECRET": "che-postgres-secret",
"CHE_SERVER_TRUST_STORE_CONFIGMAP_NAME": "ca-certs",
"MAX_CONCURRENT_RECONCILES": 10,
},
"envFile": "/tmp/che-operator-debug.env",
"cwd": "${workspaceFolder}",
"args": [
"--defaults-path",
"config/manager/manager.yaml"
]
}
]
}