mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
feat: Update Docker configuration for Copilot debugging
This commit updates the Docker configuration in the `.vscode/launch.json` file to improve the debugging experience for Copilot. It modifies the `Debug: Copilot Locally` configuration by changing the `localRoot` to `${workspaceFolder}/TestServer` and updating the `name` to `Copilot: Debug with Docker`. Additionally, it sets the `port` to `9985`, `remoteRoot` to `/usr/src/app`, and enables `restart` and `autoAttachChildProcesses` for better debugging capabilities. These changes enhance the development workflow and make it easier to debug Copilot locally with Docker.
This commit is contained in:
parent
2a458ec7e6
commit
4587e3136b
3
.github/workflows/reliability-copilot.yml
vendored
3
.github/workflows/reliability-copilot.yml
vendored
@ -23,8 +23,7 @@ jobs:
|
||||
# Run Reliability Copilot in Doker Container
|
||||
- name: Run Copilot
|
||||
run: |
|
||||
docker run --rm \
|
||||
-e ONEUPTIME_URL='https://test.oneuptime.com' \
|
||||
docker run --rm -e ONEUPTIME_URL='https://test.oneuptime.com' \
|
||||
-e ONEUPTIME_REPOSITORY_SECRET_KEY=${{ secrets.COPILOT_ONEUPTIME_REPOSITORY_SECRET_KEY }} \
|
||||
-e CODE_REPOSITORY_PASSWORD=${{ github.token }} \
|
||||
-e CODE_REPOSITORY_USERNAME='simlarsen' \
|
||||
|
@ -31,7 +31,7 @@ export default class Register {
|
||||
if (!pingMonitoringCheck && websiteMonitoringCheck) {
|
||||
// probe is online but ping monitoring is blocked by the cloud provider. Fallback to port monitoring.
|
||||
logger.warn(
|
||||
"Ping monitoring is disabled on this machine. Fallback to port monitoring",
|
||||
"Ping monitoring is disabled on this machine. Ping/ICMP checks are usually disabled by cloud providers (Azure, AWS, GCP, etc.). If you need ICMP checks, please use a different provider or use port checks.",
|
||||
);
|
||||
LocalCache.setString("PROBE", "PING_MONITORING", "PORT");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user