Skip to content

feat: add VPS baseline provisioning assets#139

Merged
GitAddRemote merged 4 commits into
mainfrom
feature/ISSUE-107
Apr 25, 2026
Merged

feat: add VPS baseline provisioning assets#139
GitAddRemote merged 4 commits into
mainfrom
feature/ISSUE-107

Conversation

@GitAddRemote
Copy link
Copy Markdown
Owner

@GitAddRemote GitAddRemote commented Apr 24, 2026

Summary

  • add bootstrap, swap, and certificate scripts for the Linode VPS
  • add nginx configs for api, station, and bot subdomains
  • document the baseline VPS setup flow under infra
  • extend the shared infra validation suite with VPS baseline coverage

Testing

  • pnpm --filter infra test

Depends on #106
Closes #107

@GitAddRemote GitAddRemote changed the base branch from feature/ISSUE-135 to feature/ISSUE-106 April 24, 2026 07:08
@GitAddRemote GitAddRemote requested a review from Copilot April 24, 2026 07:23
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds baseline VPS provisioning assets under infra/ to support Linode server setup (bootstrap + swap + cert issuance scripts), initial Nginx vhost configs, documentation for the setup flow, and extends the infra validation tests to cover these new assets.

Changes:

  • Added VPS baseline shell scripts (bootstrap, swap setup, cert issuance) and Nginx site configs for api, station, and bot.
  • Documented the VPS baseline setup flow in infra/README.md.
  • Extended infra tests to validate script syntax, presence of expected steps, Nginx upstreams, and script executability.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
infra/tests/infrastructure.test.mjs Adds infra validations for new scripts and Nginx configs (syntax + content assertions).
infra/scripts/setup-swap.sh Introduces a swap provisioning script for the VPS baseline.
infra/scripts/issue-certs.sh Adds a one-shot cert issuance + renewal verification script using Certbot.
infra/scripts/bootstrap-vps.sh Adds a bootstrap script to install Docker/Nginx/Certbot, create deploy user, and call swap setup.
infra/nginx/station.drdnt.org.conf Adds HTTP vhost config for Station reverse proxy.
infra/nginx/bot.drdnt.org.conf Adds HTTP vhost config for bot subdomain (placeholder upstream).
infra/nginx/api.drdnt.org.conf Adds HTTP vhost config for API reverse proxy to backend.
infra/README.md Documents the VPS baseline workflow and what each script/config provides.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread infra/nginx/station.drdnt.org.conf Outdated
Comment thread infra/README.md Outdated
Comment thread infra/tests/infrastructure.test.mjs
Comment thread infra/tests/infrastructure.test.mjs
Comment thread infra/scripts/setup-swap.sh
Comment thread infra/scripts/bootstrap-vps.sh Outdated
- add bootstrap, swap, and certificate scripts for the Linode VPS

- add nginx configs for api, station, and bot subdomains

- document the baseline VPS setup flow under infra
- add an infra workspace package with node-based tests

- validate VPS bootstrap scripts and nginx configs through pnpm test
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread infra/tests/infrastructure.test.mjs Outdated
Comment thread infra/nginx/station.drdnt.org.conf Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Base automatically changed from feature/ISSUE-106 to main April 25, 2026 23:24
@GitAddRemote GitAddRemote merged commit 9c2ab04 into main Apr 25, 2026
6 checks passed
@GitAddRemote GitAddRemote deleted the feature/ISSUE-107 branch April 25, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tech Story: VPS baseline provisioning (Nginx, Certbot, deploy user)

2 participants