Deploys to test without waiting for Lighthouse and with group write access #4

Merged
Sluijsens merged 12 commits from feature/frontend-shell into master 2026-10-19 18:12:39 +02:00
Owner

Two pipeline improvements found during the first test deploys.

Test deploys without waiting for Lighthouse

  • deploy-test now waits only for check. Lighthouse runs alongside as information, so test updates about 8 minutes sooner.
  • deploy-production still waits for both check and lighthouse, so accessibility, best-practices and SEO problems never go live.
  • Branch protection on master stays as it is: only check is required.

Group write access is enough on the test folder

  • scp -r dist/. also set the mode of the target folder, which only its owner may do (remote setstat: Permission denied).
  • The step now copies the contents (dist/*, with dotglob for hidden files), so the deploy user no longer has to own the folder.

The first successful test deploy (run 531) is verified on https://test.andreaslop.nl: pages, deep links, 404, security headers, noindex, caching and the HTTP-to-HTTPS redirect.

Generated with Claude Code

Two pipeline improvements found during the first test deploys. ## Test deploys without waiting for Lighthouse - `deploy-test` now waits only for `check`. Lighthouse runs alongside as information, so test updates about 8 minutes sooner. - `deploy-production` still waits for both `check` and `lighthouse`, so accessibility, best-practices and SEO problems never go live. - Branch protection on `master` stays as it is: only `check` is required. ## Group write access is enough on the test folder - `scp -r dist/.` also set the mode of the target folder, which only its owner may do (`remote setstat: Permission denied`). - The step now copies the contents (`dist/*`, with `dotglob` for hidden files), so the deploy user no longer has to own the folder. The first successful test deploy (run 531) is verified on https://test.andreaslop.nl: pages, deep links, 404, security headers, `noindex`, caching and the HTTP-to-HTTPS redirect. Generated with [Claude Code](https://claude.com/claude-code)
Sluijsens added 3 commits 2026-10-19 09:35:01 +02:00
Test exists to try things out, so it now deploys as soon as the check
job passes; Lighthouse runs alongside and its reports are information.
Production still waits for both check and Lighthouse, so accessibility,
best-practices and SEO problems never go live.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`scp -r dist/.` also sets the mode of the target folder, which only its
owner may do. Copying the contents (`dist/*`, with dotglob for hidden
files) leaves the folder itself alone, so group write access on the test
folder is enough.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Logs the first successful test deploy in the AI-DLC audit
Continuous Integration / check (pull_request) Successful in 6m5s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / deploy-production (pull_request) Canceled after 0s
Continuous Integration / lighthouse (pull_request) Canceled after 1m27s
736756a36b
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sluijsens added 1 commit 2026-10-19 09:41:42 +02:00
Documents the deploy user and test folder rights
Continuous Integration / check (pull_request) Successful in 5m40s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 11m48s
Continuous Integration / deploy-production (pull_request) Skipped
7750971170
The pipeline logs in as gitea-workflow, a member of the www-data group.
The test folder needs group write access (775, or 2775 with setgid);
new folders get 755 by default, which made the first deploys fail.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sluijsens added 1 commit 2026-10-19 11:50:45 +02:00
Adds the monitoring plan and setup for the front-end shell
Continuous Integration / check (pull_request) Successful in 6m2s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / deploy-production (pull_request) Canceled after 0s
Continuous Integration / lighthouse (pull_request) Canceled after 12m29s
0bfe50e723
Monitoring reuses the existing Sentry organisation, the self-hosted
Umami instance and UptimeRobot, with e-mail alerts. One build serves
both environments; the browser picks test or production from the
hostname and sends nothing on other hosts. Sentry captures errors only,
loads after the page and stores no personal data. Code changes follow
after approval.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sluijsens added 1 commit 2026-10-19 12:09:11 +02:00
Adds Sentry and Umami monitoring to the site
Continuous Integration / lighthouse (pull_request) Canceled after 0s
Continuous Integration / deploy-test (pull_request) Canceled after 0s
Continuous Integration / deploy-production (pull_request) Canceled after 0s
Continuous Integration / check (pull_request) Canceled after 2m22s
6d3a1566c2
Sentry loads after the page and reports errors only, without personal data;
Umami counts visits per environment. Both only run on andreaslop.nl and
test.andreaslop.nl. The CSP allows just these two hosts, and builds carry the
commit SHA as release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sluijsens added 1 commit 2026-10-19 12:10:38 +02:00
Logs the Sentry IP setting in the AI-DLC audit
Continuous Integration / check (pull_request) Successful in 6m5s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 12m25s
Continuous Integration / deploy-production (pull_request) Skipped
51d2dc1e10
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sluijsens added 2 commits 2026-10-19 14:17:16 +02:00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Runs deploys first and lets a second runner share the work
Continuous Integration / check (pull_request) Successful in 6m0s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Failing after 1m13s
Continuous Integration / deploy-production (pull_request) Skipped
0eec9a4ea0
Jobs now pick runners by label: check and Lighthouse run on any Linux runner,
deploys only on the Pi. The test deploy is listed before Lighthouse, so a single
runner deploys first while two runners run both at once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sluijsens added 2 commits 2026-10-19 16:14:32 +02:00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Redirects www to andreaslop.nl and closes out the front-end shell
Continuous Integration / check (pull_request) Successful in 6m9s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 12m16s
Continuous Integration / deploy-production (pull_request) Skipped
c24f629869
IIS now sends www.andreaslop.nl to https://andreaslop.nl in one step, so
monitoring and search engines see a single address. The go-live steps check
the redirect and wait for the privacy statement, and the readiness checklist
lists what is left for the go-live.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sluijsens added 1 commit 2026-10-19 17:22:48 +02:00
Documents how the PC runner gets preference over the Pi
Continuous Integration / check (pull_request) Successful in 57s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 3m45s
Continuous Integration / deploy-production (pull_request) Skipped
0ddaaa2cb1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sluijsens merged commit 8f0f32261c into master 2026-10-19 18:12:39 +02:00
Sluijsens deleted branch feature/frontend-shell 2026-10-19 18:12:39 +02:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SLP_Software/AndreaSlopFotografie#4