diff --git a/.github/workflows/api-ci.yml b/.github/workflows/api-ci.yml index 152bc79..73fb618 100644 --- a/.github/workflows/api-ci.yml +++ b/.github/workflows/api-ci.yml @@ -1,4 +1,5 @@ name: API - Build & Test +# CI/CD: Automated testing for FastAPI backend on pull requests on: pull_request: diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index a42468e..a817b33 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -1,4 +1,5 @@ name: Deploy Documentation +# CI/CD: Build and deploy MkDocs documentation to Cloudflare Pages on: push: diff --git a/.github/workflows/frontend-ci-cd.yml b/.github/workflows/frontend-ci-cd.yml index 38b5c6e..25d9436 100644 --- a/.github/workflows/frontend-ci-cd.yml +++ b/.github/workflows/frontend-ci-cd.yml @@ -1,4 +1,5 @@ name: Frontend - Build & Deploy +# CI/CD: Build, test, and deploy React frontend to hosting service on: pull_request: diff --git a/.github/workflows/release-agent.yml b/.github/workflows/release-agent.yml index bb77f3a..858b639 100644 --- a/.github/workflows/release-agent.yml +++ b/.github/workflows/release-agent.yml @@ -1,4 +1,6 @@ name: Release Agent +# CI/CD: Build and release Go agent binaries (.deb packages and archives) for multiple architectures +# Triggers: Version tags (v*) or manual workflow dispatch on: push: diff --git a/agent/main.go b/agent/main.go index 5b1217b..7c5524b 100644 --- a/agent/main.go +++ b/agent/main.go @@ -1,3 +1,5 @@ +// ChatOps Agent - Go application for server monitoring +// CI/CD: Version tags (v*) trigger release workflow to build binaries and .deb packages package main import ( diff --git a/api/app/main.py b/api/app/main.py index b2821bb..96b2652 100644 --- a/api/app/main.py +++ b/api/app/main.py @@ -1,3 +1,5 @@ +# FastAPI application entry point +# CI/CD: Changes here trigger API build and test workflow from contextlib import asynccontextmanager from fastapi import FastAPI from fastapi.middleware.cors import CORSMiddleware diff --git a/docs/index.md b/docs/index.md index 515c709..b494bbe 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,4 +1,5 @@ # ChatOps Documentation + Welcome to the ChatOps documentation! ChatOps is a comprehensive server monitoring and management platform that enables you to monitor, manage, and control your servers from a single, intuitive web dashboard. diff --git a/web/src/App.tsx b/web/src/App.tsx index b314248..f449bdd 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -1,3 +1,5 @@ +// React application root component +// CI/CD: Changes here trigger frontend build and deployment workflow import { BrowserRouter, Routes, Route, Navigate } from 'react-router-dom'; import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; import { Toaster } from 'sonner'; diff --git a/web/src/pages/servers/ServersPage.tsx b/web/src/pages/servers/ServersPage.tsx index 45fcc08..a87b53d 100644 --- a/web/src/pages/servers/ServersPage.tsx +++ b/web/src/pages/servers/ServersPage.tsx @@ -145,7 +145,7 @@ export const ServersPage = () => {

Servers

-

Manage and monitor your servers

+

Manage and monitor your servers and Life