Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
# DB_PASSWORD=
# DB_DATABASE=rustdesk_console

# Optional server management nodes (tokens are backend-only; minimum 32 characters).
# RUSTDESK_NODES=[{"id":"local","name":"Local server","url":"http://rustdesk-agent:3001","token":"replace-with-a-random-token-at-least-32-characters"}]

# Docker only: set to 0 when a separate single migration job runs before all replicas.
# DB_MIGRATE_ON_START=1
Expand Down
2 changes: 1 addition & 1 deletion .env.integrated.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
JWT_SECRET=replace-with-an-independent-random-secret
NODE_AGENT_TOKEN=replace-with-an-independent-random-token-at-least-32-characters

SERVER_MANAGEMENT_TOKEN=replace-with-an-independent-random-token-at-least-32-characters
RUSTDESK_RELAY_ADDRESS=rustdesk.example.com:21117
14 changes: 1 addition & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,18 @@

jobs:
test:
name: Backend and node agent tests
name: Backend tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version-file: '.nvmrc'
cache: npm
- run: npm ci
- run: npm test -- --runInBand
- run: node --test agent/*.test.mjs

agent-build:
name: Node agent image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: docker/setup-buildx-action@v4
- uses: docker/build-push-action@v7
with:
context: ./agent
push: false

lint:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
name: Lint
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,4 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup, coding conventions

### Integrated hbbs / hbbr management

See [Server management](docs/server-management.md) for the authenticated server APIs, Docker node agent, server permissions, integrated Compose deployment and CI validation.
See [Server management](docs/server-management.md) for the authenticated server APIs, server registry, server permissions, integrated Compose deployment and CI validation.
6 changes: 0 additions & 6 deletions agent/Dockerfile

This file was deleted.

Loading
Loading