diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 340c811..2028cab 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://gitea.com/actions/checkout - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 @@ -97,7 +97,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://gitea.com/actions/checkout - name: Set up Python uses: actions/setup-python@v4 @@ -133,7 +133,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://gitea.com/actions/checkout - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -192,7 +192,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://gitea.com/actions/checkout - name: Wait for VictoriaMetrics run: | @@ -243,7 +243,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://gitea.com/actions/checkout - name: Deploy to staging run: | @@ -268,7 +268,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://gitea.com/actions/checkout - name: Deploy to production run: | @@ -295,7 +295,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://gitea.com/actions/checkout - name: Install Apache Bench run: | diff --git a/.gitea/workflows/docs.yml b/.gitea/workflows/docs.yml index 975330e..891f519 100644 --- a/.gitea/workflows/docs.yml +++ b/.gitea/workflows/docs.yml @@ -26,7 +26,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://gitea.com/actions/checkout - name: Set up Python uses: actions/setup-python@v4 @@ -126,7 +126,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://gitea.com/actions/checkout - name: Set up Python uses: actions/setup-python@v4 @@ -223,7 +223,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://gitea.com/actions/checkout - name: Set up Python uses: actions/setup-python@v4 diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 7142b34..fd02dbb 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://gitea.com/actions/checkout with: fetch-depth: 0 @@ -74,7 +74,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://gitea.com/actions/checkout - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 @@ -112,7 +112,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://gitea.com/actions/checkout - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -152,7 +152,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://gitea.com/actions/checkout - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@master @@ -181,7 +181,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://gitea.com/actions/checkout - name: Deploy to production run: | diff --git a/.gitea/workflows/security.yml b/.gitea/workflows/security.yml index a0f7b95..d782a76 100644 --- a/.gitea/workflows/security.yml +++ b/.gitea/workflows/security.yml @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://gitea.com/actions/checkout - name: Set up Python uses: actions/setup-python@v4 @@ -91,7 +91,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://gitea.com/actions/checkout - name: Check GitHub token availability run: | @@ -168,7 +168,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://gitea.com/actions/checkout - name: Set up Python uses: actions/setup-python@v4 @@ -213,7 +213,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://gitea.com/actions/checkout - name: Set up Python uses: actions/setup-python@v4 @@ -294,7 +294,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: https://gitea.com/actions/checkout - name: Set up Python uses: actions/setup-python@v4 diff --git a/DEPLOYMENT_CHECKLIST.md b/DEPLOYMENT_CHECKLIST.md index cdc8d2d..bb449a2 100644 --- a/DEPLOYMENT_CHECKLIST.md +++ b/DEPLOYMENT_CHECKLIST.md @@ -259,7 +259,7 @@ make health-check **Deployment Date**: ___________ **Deployed By**: ___________ -**Version**: v3.1.1 +**Version**: v3.1.2 **Environment**: ___________ **Sign-off**: diff --git a/GITEA_SETUP_SUMMARY.md b/GITEA_SETUP_SUMMARY.md index df480f6..552d300 100644 --- a/GITEA_SETUP_SUMMARY.md +++ b/GITEA_SETUP_SUMMARY.md @@ -222,12 +222,12 @@ Your repository is now equipped with: 2. **Configure deployment environments** (staging/production) 3. **Set up monitoring dashboards** for workflow metrics 4. **Configure notifications** for team collaboration -5. **Create your first release** with `git tag v3.1.1` +5. **Create your first release** with `git tag v3.1.2` Your **Northern Thailand Ping River Monitor** is now ready for professional development and deployment! ๐ŸŽŠ --- -**Workflow Version**: v3.1.1 +**Workflow Version**: v3.1.2 **Setup Date**: 2025-08-12 **Repository**: https://git.b4l.co.th/grabowski/Northern-Thailand-Ping-River-Monitor \ No newline at end of file diff --git a/README.md b/README.md index 0fe855e..ad605e7 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ A comprehensive real-time water level monitoring system for the Ping River Basin in Northern Thailand, covering Royal Irrigation Department (RID) stations from Chiang Dao to Nakhon Sawan with advanced data collection, storage, and visualization capabilities. -[![CI/CD](https://git.b4l.co.th/B4L/Northern-Thailand-Ping-River-Monitor/actions/workflows/ci.yml/badge.svg)](https://git.b4l.co.th/B4L/Northern-Thailand-Ping-River-Monitor/actions) [![Security](https://git.b4l.co.th/B4L/Northern-Thailand-Ping-River-Monitor/actions/workflows/security.yml/badge.svg)](https://git.b4l.co.th/B4L/Northern-Thailand-Ping-River-Monitor/actions) [![Documentation](https://git.b4l.co.th/B4L/Northern-Thailand-Ping-River-Monitor/actions/workflows/docs.yml/badge.svg)](https://git.b4l.co.th/B4L/Northern-Thailand-Ping-River-Monitor/actions) [![Python](https://img.shields.io/badge/Python-3.9+-blue.svg)](https://python.org) [![FastAPI](https://img.shields.io/badge/FastAPI-0.104+-green.svg)](https://fastapi.tiangolo.com) [![Docker](https://img.shields.io/badge/Docker-Ready-blue.svg)](https://docker.com) [![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE) [![Version](https://img.shields.io/badge/Version-v3.1.1-blue.svg)](https://git.b4l.co.th/B4L/Northern-Thailand-Ping-River-Monitor/releases) +[![CI/CD](https://git.b4l.co.th/B4L/Northern-Thailand-Ping-River-Monitor/actions/workflows/ci.yml/badge.svg)](https://git.b4l.co.th/B4L/Northern-Thailand-Ping-River-Monitor/actions) [![Security](https://git.b4l.co.th/B4L/Northern-Thailand-Ping-River-Monitor/actions/workflows/security.yml/badge.svg)](https://git.b4l.co.th/B4L/Northern-Thailand-Ping-River-Monitor/actions) [![Documentation](https://git.b4l.co.th/B4L/Northern-Thailand-Ping-River-Monitor/actions/workflows/docs.yml/badge.svg)](https://git.b4l.co.th/B4L/Northern-Thailand-Ping-River-Monitor/actions) [![Python](https://img.shields.io/badge/Python-3.9+-blue.svg)](https://python.org) [![FastAPI](https://img.shields.io/badge/FastAPI-0.104+-green.svg)](https://fastapi.tiangolo.com) [![Docker](https://img.shields.io/badge/Docker-Ready-blue.svg)](https://docker.com) [![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE) [![Version](https://img.shields.io/badge/Version-v3.1.2-blue.svg)](https://git.b4l.co.th/B4L/Northern-Thailand-Ping-River-Monitor/releases) ## ๐ŸŒŸ Features diff --git a/docs/GITEA_WORKFLOWS.md b/docs/GITEA_WORKFLOWS.md index 288a4be..968a091 100644 --- a/docs/GITEA_WORKFLOWS.md +++ b/docs/GITEA_WORKFLOWS.md @@ -297,6 +297,6 @@ make validate-workflows --- -**Workflow Version**: v3.1.1 +**Workflow Version**: v3.1.2 **Last Updated**: 2025-08-12 **Maintained By**: Ping River Monitor Team \ No newline at end of file diff --git a/scripts/generate_badges.py b/scripts/generate_badges.py index 01fbfa5..7d0f7c2 100644 --- a/scripts/generate_badges.py +++ b/scripts/generate_badges.py @@ -29,7 +29,7 @@ def main(): "FastAPI": generate_badge_url("FastAPI", "0.104%2B", "green"), "Docker": generate_badge_url("Docker", "Ready", "blue"), "License": generate_badge_url("License", "MIT", "green"), - "Version": generate_badge_url("Version", "v3.1.1", "blue"), + "Version": generate_badge_url("Version", "v3.1.2", "blue"), } print("# Status Badges") diff --git a/scripts/init_git.bat b/scripts/init_git.bat index 0975d25..f633894 100644 --- a/scripts/init_git.bat +++ b/scripts/init_git.bat @@ -13,7 +13,7 @@ REM Add all files git add . REM Initial commit -git commit -m "Initial commit: Northern Thailand Ping River Monitor v3.1.1 +git commit -m "Initial commit: Northern Thailand Ping River Monitor v3.1.2 Features: - Real-time water level monitoring for Ping River Basin diff --git a/scripts/init_git.sh b/scripts/init_git.sh index 3ecbd29..5f69b2a 100644 --- a/scripts/init_git.sh +++ b/scripts/init_git.sh @@ -66,7 +66,7 @@ fi git add . # Initial commit -git commit -m "Initial commit: Northern Thailand Ping River Monitor v3.1.1 +git commit -m "Initial commit: Northern Thailand Ping River Monitor v3.1.2 Features: - Real-time water level monitoring for Ping River Basin diff --git a/setup.py b/setup.py index aabf88a..b8f8c92 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ for req in requirements: setup( name="northern-thailand-ping-river-monitor", - version="3.1.1", + version="3.1.2", author="Ping River Monitor Team", author_email="contact@example.com", description="Real-time water level monitoring system for the Ping River Basin in Northern Thailand", diff --git a/src/__init__.py b/src/__init__.py index 990a718..def8828 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -6,7 +6,7 @@ A comprehensive real-time water level monitoring system for the Ping River Basin in Northern Thailand, covering Royal Irrigation Department (RID) stations. """ -__version__ = "3.1.1" +__version__ = "3.1.2" __author__ = "Ping River Monitor Team" __description__ = "Northern Thailand Ping River Monitoring System" diff --git a/src/main.py b/src/main.py index 7c9a012..1922005 100644 --- a/src/main.py +++ b/src/main.py @@ -297,7 +297,7 @@ Examples: ) logger.info("๐Ÿ”๏ธ Northern Thailand Ping River Monitor starting...") - logger.info(f"Version: 3.1.1") + logger.info(f"Version: 3.1.2") logger.info(f"Log level: {args.log_level}") try: diff --git a/src/web_api.py b/src/web_api.py index d3156b9..5251de2 100644 --- a/src/web_api.py +++ b/src/web_api.py @@ -143,7 +143,7 @@ async def lifespan(app: FastAPI): app = FastAPI( title="Northern Thailand Ping River Monitor API", description="Real-time water level monitoring system for Northern Thailand's Ping River Basin stations", - version="3.1.1", + version="3.1.2", lifespan=lifespan ) diff --git a/tests/test_integration.py b/tests/test_integration.py index a5cd6c3..780ac31 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -165,7 +165,7 @@ def test_logging(): def main(): """Run all tests""" - print("๐Ÿงช Running integration tests for Northern Thailand Ping River Monitor v3.1.1") + print("๐Ÿงช Running integration tests for Northern Thailand Ping River Monitor v3.1.2") print("=" * 60) tests = [