mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
52 lines
1.8 KiB
JSON
52 lines
1.8 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Launch Server",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "auto",
|
|
"program": "./cli/main.go",
|
|
"args": ["server", "--config", "${workspaceFolder}/.devcontainer/config.json"],
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"PATH": "${workspaceFolder}/.venv/bin:${env:PATH}",
|
|
"SEMAPHORE_ADMIN_PASSWORD": "test123"
|
|
}
|
|
},
|
|
{
|
|
"name": "Launch Server with remote Runner",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "auto",
|
|
"program": "./cli/main.go",
|
|
"args": ["server", "--config", "${workspaceFolder}/.devcontainer/config.json"],
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"PATH": "${workspaceFolder}/.venv/bin:${env:PATH}",
|
|
"SEMAPHORE_USE_REMOTE_RUNNER": "true"
|
|
}
|
|
},
|
|
{
|
|
"name": "Launch Runner",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "auto",
|
|
"program": "./cli/main.go",
|
|
"args": ["runner", "start", "--config", "${workspaceFolder}/.devcontainer/config-runner.json", "--log-level", "debug"],
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"PATH": "${workspaceFolder}/.venv/bin:${env:PATH}"
|
|
}
|
|
},
|
|
{
|
|
"name": "Launch E2E Tests without Server",
|
|
"type": "pwa-node",
|
|
"request": "launch",
|
|
"runtimeExecutable": "task",
|
|
"args": ["e2e:test:local"],
|
|
"cwd": "${workspaceFolder}",
|
|
"console": "integratedTerminal",
|
|
}
|
|
]
|
|
} |