Author SHA1 Message Date
nageshwaran_manikumar 745049681b docs: finalize DevOps IT manual v1.7 with Chapters 7 and 8 refs #15
Build DevOps IT Manual / Compile LaTeX PDF (push) Successful in 5m41s
2026-11-30 21:46:45 -05:00
nageshwaran_manikumar 99fb0ad1fe ci: automate Python tests and clean release artifacts refs #15 2026-11-30 20:56:51 -05:00
nageshwaran_manikumar 6cee97faa6 test: verify missing database status refs #15
startup-product-gitea-ci/pipeline/head This commit looks good
2026-11-30 20:17:04 -05:00
nageshwaran_manikumar 570f024fa2 ci: add final project Jenkins pipeline refs #15
startup-product-gitea-ci/pipeline/head This commit looks good
2026-11-30 19:49:14 -05:00
61 changed files with 1537 additions and 4 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ on:
push:
branches:
- main
- feature/15-final-project
workflow_dispatch:
jobs:
@@ -21,7 +22,7 @@ jobs:
run: |
set -eu
SHORT_SHA="$(printf '%s' "$GITHUB_SHA" | cut -c1-7)"
BUILD_ID="v1.5+build.${GITHUB_RUN_NUMBER}.${SHORT_SHA}"
BUILD_ID="v1.7+build.${GITHUB_RUN_NUMBER}.${SHORT_SHA}"
cat > manual/build_metadata.tex <<EOF
\renewcommand{\BuildIdentifier}{${BUILD_ID}}
+143
View File
@@ -0,0 +1,143 @@
pipeline {
agent any
options {
disableConcurrentBuilds()
skipDefaultCheckout(true)
timeout(time: 10, unit: 'MINUTES')
buildDiscarder(logRotator(
numToKeepStr: '5',
artifactNumToKeepStr: '3'
))
}
stages {
stage('Checkout') {
steps {
checkout scm
sh 'git log -1 --oneline'
}
}
stage('Verify Build Tools') {
steps {
sh '''
node --version
npm --version
python3 --version
'''
}
}
stage('JavaScript Validation') {
steps {
dir('app') {
sh 'npm run check'
}
}
}
stage('JavaScript Unit Tests') {
steps {
dir('app') {
sh 'npm test'
}
}
}
stage('Python Validation') {
steps {
dir('pricing-service') {
sh '''
python3 -m py_compile app.py test_app.py
echo "Python syntax validation PASSED"
'''
}
}
}
stage('Python Unit Tests') {
steps {
dir('pricing-service') {
sh '''
set -eu
export PYTHONPATH=/var/jenkins_home/final-project-python-deps
export PYTHONDONTWRITEBYTECODE=1
python3 -m unittest -v test_app
echo "Python unit tests PASSED"
'''
}
}
}
stage('Versioned Package') {
steps {
sh '''
set -eu
VERSION="1.0.${BUILD_NUMBER}"
rm -rf dist
mkdir -p dist
printf '%s\\n' "$VERSION" > dist/VERSION
git rev-parse HEAD > dist/COMMIT
python3 -m zipfile -c \
"dist/startup-product-${VERSION}.zip" \
app/package.json \
app/src \
app/test \
pricing-service/app.py \
pricing-service/test_app.py \
pricing-service/requirements.txt \
pricing-service/Dockerfile \
dist/VERSION \
dist/COMMIT
echo "Package version: $VERSION"
ls -lh dist/
'''
}
}
stage('Verify Package Integrity') {
steps {
sh '''
set -eu
python3 -m zipfile -t \
"dist/startup-product-1.0.${BUILD_NUMBER}.zip"
echo "Package integrity PASSED"
'''
}
}
stage('Archive Artifacts') {
steps {
archiveArtifacts(
artifacts: 'dist/*',
fingerprint: true,
onlyIfSuccessful: true
)
}
}
}
post {
success {
echo 'FINAL PROJECT BASELINE BUILD PASSED'
}
failure {
echo 'FINAL PROJECT BASELINE BUILD FAILED'
}
always {
echo "Build number: ${env.BUILD_NUMBER}"
echo "Build URL: ${env.BUILD_URL}"
}
}
}
+7
View File
@@ -15,3 +15,10 @@ test("reports unhealthy when database is disconnected", () => {
database: "disconnected"
});
});
test("reports unhealthy when database status is missing", () => {
assert.deepEqual(getHealthStatus(), {
status: "unhealthy",
database: "disconnected"
});
});
+158
View File
@@ -0,0 +1,158 @@
\chapter{Customer Support and Incident Management}
\label{chap:customer-support}
\section{Purpose and Scope}
This chapter documents the customer support workflow
implemented using Zammad and its integration with
the existing Gitea engineering workflow.
A simulated pricing API incident was used to
demonstrate ticket management, engineering escalation,
technical investigation, access control, customer
communication, and incident closure.
\section{Support Platform}
Zammad was deployed using Docker Compose.
Deployment, configuration, and runtime verification
logs are maintained in the local dos-support
evidence directory.
\section{Customer Support Incident}
The simulated incident was recorded as Zammad
ticket 60002, titled Pricing API returns an error.
The ticket was assigned to the Student Agent
with high priority.
An engineering investigation was created in Gitea
as issue 14, referencing the corresponding
customer support ticket.
\section{Technical Investigation}
The recorded engineering investigation reported:
\begin{itemize}
\item Production HTTPS health: Healthy, V2.
\item Staging HTTPS health: Healthy, V2.
\item Production pricing endpoint successfully verified.
\item Starter pricing: \$5.
\item Basic pricing: \$12.
\item Pro pricing: \$30.
\item Enterprise pricing: \$60.
\item The reported error could not be reproduced.
\item No corrective deployment or infrastructure
changes were required.
\end{itemize}
\section{Public and Internal Message Visibility}
The ticket contained three public articles and
two internal notes. Article visibility was corrected
and verified using both customer and agent views.
The following figures document the correction
and role-specific visibility verification.
\newcommand{\supportfigure}[3]{%
\begin{figure}[!htbp]
\centering
\includegraphics[
width=\linewidth,
height=0.72\textheight,
keepaspectratio
]{img/chapter7-evidence/#1}
\caption{#2}
\label{fig:#3}
\end{figure}
\clearpage
}
\supportfigure
{06-visibility-correction-20261126.png}
{Backend article visibility correction and successful
verification with evidence checksum.}
{support-visibility-correction}
\supportfigure
{07-customer-visibility-verification-20261126.png}
{Customer view showing three public messages
without the two internal notes.}
{support-customer-view}
\supportfigure
{08-agent-visibility-verification-20261126.png}
{Agent view showing internal investigation notes
and public customer communication.}
{support-agent-view}
\section{Incident Resolution and Closure}
The investigation findings were communicated
to the customer through Zammad. The incident
was classified as unable to reproduce rather
than a repaired software defect.
The Zammad ticket and corresponding Gitea
engineering issue were subsequently closed.
\supportfigure
{09-ticket-closure-20261126.png}
{Zammad ticket 60002 showing closed status.}
{support-ticket-closure}
\supportfigure
{10-engineering-issue-open-20261126.png}
{Gitea engineering issue 14 referencing
Zammad ticket 60002.}
{support-engineering-issue}
\supportfigure
{11-engineering-investigation-results-20261126.png}
{Documented engineering investigation results
for production and staging environments.}
{support-investigation}
\supportfigure
{12a-engineering-final-resolution-20261126.png}
{Final engineering resolution documenting
the unable-to-reproduce outcome.}
{support-final-resolution}
\supportfigure
{12b-engineering-issue-closure-20261126.png}
{Closed Gitea engineering issue 14.}
{support-engineering-closure}
\section{Evidence Management}
The local evidence directory contains six
timestamped log files covering deployment
preparation, configuration, Zammad deployment,
runtime verification, engineering investigation,
and article visibility correction.
\supportfigure
{13-local-evidence-inventory-20261126.png}
{Local terminal evidence inventory showing
the six supporting log files.}
{support-evidence-inventory}
The screenshots demonstrate the recorded support
workflow. The original logs provide additional
technical evidence and should be retained with
the submission materials.
\section{Conclusion}
The simulated incident demonstrates the
customer support lifecycle from ticket
investigation and engineering escalation
through customer communication and closure.
Customer-facing communication was separated
from internal engineering notes, and both
support and engineering records were closed
without unnecessary infrastructure changes.
File diff suppressed because it is too large Load Diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 820 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 793 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 651 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 655 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 531 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 537 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 763 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 393 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 588 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 503 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 513 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 566 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 595 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 406 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1001 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 499 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 465 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 817 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

+32 -3
View File
@@ -9,7 +9,7 @@
\setlength{\parskip}{4pt}\setlength{\parindent}{0pt}
\captionsetup{font=small,labelfont=bf}
\pagestyle{fancy}\fancyhf{}
\fancyhead[L]{SSW 590 DevOps IT Manual}\fancyhead[R]{Version 1.6}\fancyfoot[C]{\thepage}\fancyfoot[R]{\small Stevens Institute of Technology}
\fancyhead[L]{SSW 590 DevOps IT Manual}\fancyhead[R]{Version 1.7}\fancyfoot[C]{\thepage}\fancyfoot[R]{\small Stevens Institute of Technology}
\lstset{basicstyle=\ttfamily\footnotesize,breaklines=true,frame=single,backgroundcolor=\color{black!4},columns=fullflexible,keepspaces=true,showstringspaces=false}
\newcommand{\vok}{\textcolor{green!45!black}{\textbf{VERIFIED}}}
\newcommand{\vpart}{\textcolor{orange!85!black}{\textbf{PARTIAL}}}
@@ -29,10 +29,10 @@
{\Large SSW 590 --- DevOps\par}\vspace{1cm}
{\Huge\bfseries DevOps IT Manual\par}\vspace{.4cm}
{\LARGE Startup Foundation with Gitea\par}\vspace{1.2cm}
{\large Version 1.6\par}{\large Student Edition\par}\vspace{1.5cm}
{\large Version 1.7\par}{\large Student Edition\par}\vspace{1.5cm}
{\large Nageshwaran Manikumar and Shiv Patel\par}\vspace{.6cm}
Instructor: Darian Muresan\par Stevens Institute of Technology\par\vspace{.6cm}
November 26, 2026\par\vspace{1.5cm}
November 30, 2026\par\vspace{1.5cm}
\textbf{Gitea:} \url{https://git.nageshwaran.dev}\par
\textbf{Product repository:} \url{https://git.nageshwaran.dev/SSW590-Startup/startup-product}\par
\textbf{Build identifier:} \BuildIdentifier\par
@@ -50,6 +50,7 @@ Newest entry first. Entries 1.0 and 1.1 are reconstructed from the timestamps on
\begin{tabularx}{\linewidth}{@{}p{1.9cm}p{1.1cm}p{1.5cm}Y p{2.4cm}@{}}
\toprule
Date / Ver. & Author & Change & Details & Changed at\\\midrule
Nov 30, 2026 / 1.7 & NM, SP & Final DevOps project & Integrated Chapters 7 and 8; documented CI/CD, automated testing, release artifacts, deployment, monitoring, SWOT analysis and reverse documentation. & Ch.~7--8 \\ \addlinespace
Nov 26, 2026 / 1.6 & NM, SP & Secure delivery revision & Added Jenkins security gates, restricted approval, immutable registry releases, HTTPS environments, measured recovery drills and operational runbooks. & Ch.~6 \\ \addlinespace
Nov 13, 2026 / 1.5 & NM, SP & Secure delivery and rollback & Documented versioned Docker releases, container hardening, Ansible deployment, idempotency, staging verification, and tested v2-to-v1 rollback and v2 recovery. & Ch.~6 \\ \addlinespace
@@ -440,6 +441,10 @@ The earlier Gitea deployment and screenshot evidence remain in Chapters 1--2. Ch
\input{chapters/chapter6}
\input{chapters/chapter7}
\input{chapters/chapter8}
\appendix
\chapter{Glossary}
\begin{description}[nosep]
@@ -465,5 +470,29 @@ The earlier Gitea deployment and screenshot evidence remain in Chapters 1--2. Ch
\chapter*{AI Assistance Record}
AI (Anthropic Claude) was used on Oct 2, 2026 to organize this manual and draft text from the team's own terminal and browser screenshots. The team must verify every statement against the live system before submitting. No credentials were supplied or included.
\paragraph{Additional AI Assistance}
OpenAI ChatGPT was used during subsequent project
development through November 30, 2026, to assist
with technical planning, command and configuration
generation, troubleshooting, pipeline implementation,
LaTeX documentation, SWOT analysis, evidence
organization, and PDF review.
AI-generated commands and configuration changes
were executed and checked by the student during
the implementation process.
The implementation results are supported by
captured terminal output, pipeline logs, generated
artifacts, and screenshots from the project
environment.
AI assistance does not constitute independent
verification of the live infrastructure. The
project team remains responsible for the accuracy,
security, and completeness of the submitted work.
\printindex
\end{document}
+25
View File
@@ -0,0 +1,25 @@
PROJECT_NAME = "SSW590 Startup Pricing Service"
PROJECT_NUMBER = 1.0.4
OUTPUT_DIRECTORY = manual/reverse-docs/generated
INPUT = pricing-service/app.py pricing-service/test_app.py
FILE_PATTERNS = *.py
RECURSIVE = NO
EXTRACT_ALL = YES
EXTRACT_PRIVATE = YES
EXTRACT_STATIC = YES
GENERATE_HTML = YES
GENERATE_LATEX = YES
SOURCE_BROWSER = YES
INLINE_SOURCES = YES
HAVE_DOT = YES
CLASS_GRAPH = YES
COLLABORATION_GRAPH = YES
CALL_GRAPH = YES
CALLER_GRAPH = YES
DOT_IMAGE_FORMAT = png
QUIET = NO
WARN_IF_UNDOCUMENTED = NO