Add Jenkins CI with required merge check #15

Merged
bill merged 3 commits from feature/issue-14 into main 2026-10-23 00:55:21 +00:00
Owner

Closes #14

Deploy Jenkins LTS 2.580.1 beside Gitea on The-Ocean:

  • deploy/jenkins: official image pinned by digest plus python3 and a
    hashed 60-plugin lockfile (Pipeline + Gitea bundle tested by
    ci/jenkins-capacity, plus matrix-auth for named roles)
  • compose: jenkins service with persistent jenkins-home, no published
    ports, 512 MiB RAM / 768 MiB RAM+swap / 0.75 CPU, 256 MiB heap
  • Gitea webhooks restricted to the private jenkins host; Caddy alias
    keeps Jenkins->Gitea checkout and status traffic on the droplet
  • Caddy serves ci.yebilly.me only to Stevens 155.246.0.0/16 and team
    IPs from the untracked .env

Add the instructor's pricing example, unit tests and Declarative
Jenkinsfile (checkout, syntax check, unit tests).

🤖 Generated with Claude Code

Closes #14 Deploy Jenkins LTS 2.580.1 beside Gitea on The-Ocean: - deploy/jenkins: official image pinned by digest plus python3 and a hashed 60-plugin lockfile (Pipeline + Gitea bundle tested by ci/jenkins-capacity, plus matrix-auth for named roles) - compose: jenkins service with persistent jenkins-home, no published ports, 512 MiB RAM / 768 MiB RAM+swap / 0.75 CPU, 256 MiB heap - Gitea webhooks restricted to the private jenkins host; Caddy alias keeps Jenkins->Gitea checkout and status traffic on the droplet - Caddy serves ci.yebilly.me only to Stevens 155.246.0.0/16 and team IPs from the untracked .env Add the instructor's pricing example, unit tests and Declarative Jenkinsfile (checkout, syntax check, unit tests). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
bill added 1 commit 2026-10-22 23:01:53 +00:00
Add Jenkins CI service, pricing app, tests and Jenkinsfile (refs #14)
vpn-dns-gateway/pipeline/pr-main This commit looks good
vpn-dns-gateway/pipeline/head This commit looks good
ad35197ee4
Deploy Jenkins LTS 2.580.1 beside Gitea on The-Ocean:
- deploy/jenkins: official image pinned by digest plus python3 and a
  hashed 60-plugin lockfile (Pipeline + Gitea bundle tested by
  ci/jenkins-capacity, plus matrix-auth for named roles)
- compose: jenkins service with persistent jenkins-home, no published
  ports, 512 MiB RAM / 768 MiB RAM+swap / 0.75 CPU, 256 MiB heap
- Gitea webhooks restricted to the private jenkins host; Caddy alias
  keeps Jenkins->Gitea checkout and status traffic on the droplet
- Caddy serves ci.yebilly.me only to Stevens 155.246.0.0/16 and team
  IPs from the untracked .env

Add the instructor's pricing example, unit tests and Declarative
Jenkinsfile (checkout, syntax check, unit tests).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bill requested review from vsun1 2026-10-22 23:01:53 +00:00
bill added 1 commit 2026-10-22 23:10:30 +00:00
Controlled failure: add instead of multiply in total_price (refs #14)
vpn-dns-gateway/pipeline/pr-main There was a failure building this commit
52b297c2f3
Deliberately breaks the pricing calculation so the Jenkins Test stage
fails (10 + 3 = 13, expected 30) and the required Gitea check blocks
merging PR #15. The next commit restores multiplication.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bill added 1 commit 2026-10-22 23:15:07 +00:00
Repair total_price: restore multiplication (refs #14)
vpn-dns-gateway/pipeline/pr-main This commit looks good
9381d2aa9a
Reverts the controlled failure from 52b297c so the Jenkins Test stage
passes again and the required check on PR #15 turns green.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vsun1 approved these changes 2026-10-23 00:02:40 +00:00
vsun1 left a comment
Owner

Approved

Approved
bill merged commit 420ba4c56b into main 2026-10-23 00:55:21 +00:00
bill deleted branch feature/issue-14 2026-10-23 21:06:49 +00:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ssw590-group1/vpn-dns-gateway#15