Skip to content

ci: add Jenkins Kubernetes release pipeline - #8

Merged
nonepointer666 merged 1 commit into
nonepointer666:mainfrom
cyssayyes-source:feat/proxy-typesense-search
Sep 15, 2026
Merged

nonepointer666 merged 1 commit into
nonepointer666:mainfrom
cyssayyes-source:feat/proxy-typesense-search

Conversation

@cyssayyes-source

Copy link
Copy Markdown
Contributor

Summary

  • route browser Typesense searches through the help-center Nginx at /typesense/multi_search, while keeping the internal Typesense address server-side
  • add a Jenkins release script that synchronizes Outline once, builds the site and search records from the same snapshot, pushes an immutable image, updates Typesense, and optionally rolls out Kubernetes
  • add a runtime-only Dockerfile so Jenkins does not fetch Outline again while packaging the image
  • reduce GitHub Actions to pull-request legacy validation because Jenkins owns production deployment
  • document Jenkins credentials, environment variables, agent requirements, and the exact release command

Validation

  • npm run build:jenkins
  • 49 Node tests passed
  • TypeScript typecheck passed
  • synchronized 1069 Outline documents
  • generated 10542 search records and 1073 HTML files
  • verified the frontend bundle uses /typesense, excludes the Kubernetes-internal Typesense hostname, and does not contain the admin key
  • parsed the GitHub Actions workflow and checked the Jenkins shell script syntax

Deployment notes

The Jenkins agent must have Node.js 20+ (22 recommended), Docker, kubectl, curl, at least 4 GiB memory, and network access to Outline, Typesense, Harbor, and the Kubernetes API. Docker/Kubernetes execution could not be tested locally because Docker Desktop was unavailable; the release script waits for rollout completion and performs health and real Typesense proxy smoke checks so Jenkins fails if deployment is not operational.

@nonepointer666
nonepointer666 merged commit f34c6c2 into nonepointer666:main Sep 15, 2026
1 check passed
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.

2 participants