Language: English (required)
| Field | Value |
|---|---|
| Ticket | TRL-49 |
| Title | Organize test environment for developers and community |
| Responsible (YouTrack Assignee) | Igor |
| Status | Approved |
| Date | 2026-11-29 |
| Base URL A (Dev community) | https://103.195.5.190:51111 |
| Base URL B (Others / community) | https://103.195.6.73:51111 |
TorgLink needs a shared test environment so developers and the wider community can install known builds, register on always-on test servers, and dogfood the messenger (community metric: client + test registration + chat activity).
Related context:
devgopher.github.io _data/downloads.yml, releases, news).Provide:
ci-builds prerelease links exist on the public site.TorgLink/TorgLink triggers the pipeline; no auto-deploy on every commit; non-Maintainers cannot promote.TorgLink/TorgLink (Maintainer gate), related ShortP2P server artifacts as used today.devgopher.github.io (YouTrack TS for site-only changes if split into child tasks).ci-builds-style prereleases for anonymous links where available.| Option | Summary | Pros | Cons |
|---|---|---|---|
| A | One shared test server for everyone | Simple ops | Dev breakage hits community; rejected by owner |
| B | Two always-on servers (dev community / others); manual Maintainer-only pipeline promote; build catalog on site (+ optional ops doc) | Matches audiences; controlled deploys; reuses existing Actions/site patterns | Two hosts to run; catalog must be kept in sync |
| C | Fully automated CD to test on every main/dev push | Fast feedback | Conflicts with Maintainer gate; unsafe for community server |
Option B — owner-confirmed.
Test servers: promote on TorgLink/TorgLink (workflow_dispatch, Maintainer-only). Inputs: target + ShortP2P branch. Remote: checkout into /shortp2p_server, then nohup dotnet run -c Release in src/Server/ShortP2P.MessengerServer.Api._data/downloads.yml / related site data (and optional community/ or ops note) so each listed build has a stable Actions run (or prerelease) link; refresh cadence defined in implementation.TRL-49 may spawn TRL tasks for server/runbook and TS tasks for site catalog pages.| Environment | Required | Existing / gap | Owner / notes |
|---|---|---|---|
| dev community test server | Always-on + manual promote | Base URL: https://103.195.5.190:51111 |
Maintainer of TorgLink/TorgLink for deploys; uptime on-call TBD |
| others / community test server | Always-on + manual promote | Base URL: https://103.195.6.73:51111 |
Same deploy gate; isolated from dev community |
| prod | Not in scope for this epic | — | — |
| Build catalog (site) | Public list + Actions links | Partial (downloads.yml, news) |
Site repo / TS child tasks as needed |
Secrets: SSH host/user/password for servers A and B live in GitHub Actions secrets on TorgLink/TorgLink (SSH_HOST_A / SSH_USER_A / SSH_PASS_A, SSH_HOST_B / SSH_USER_B / SSH_PASS_B; optional SHORTP2P_GIT_TOKEN). Values never in git. Promote clones https://github.com/TorgLink/ShortP2P, checks out the selected branch into /shortp2p_server, and runs nohup dotnet run -c Release in src/Server/ShortP2P.MessengerServer.Api. Only Maintainers operate promote.
Rollout: promote intentionally per environment. Rollback: redeploy previous known-good artifact via the same manual pipeline.
Export this Markdown to Word (.docx) with the same section headings for sign-off.
Attach both files to the YouTrack issue.