refactor: consolidate video enrichment and hub generation into centralized V2 Publisher pipeline

This commit is contained in:
Nubenetes Bot
2026-05-22 17:00:11 +02:00
parent 4eeb1532e1
commit 55202d6b91
4 changed files with 9 additions and 59 deletions
+7 -1
View File
@@ -50,12 +50,18 @@ jobs:
run: |
pip install --no-cache-dir pydantic PyGithub httpx fake-useragent pytz python-dotenv pyyaml tenacity
- name: Run V2 Publisher (Render-Only)
- name: Run V2 Publisher (Enrichment & Rendering)
env:
PYTHONPATH: ${{ github.workspace }}
PYTHONUNBUFFERED: "1"
run: |
# 1. Enrich featured videos with real YouTube metadata (descriptions/titles)
python -u -m src.enrich_videos
# 2. Build the high-density Elite Video Hub page
python -u -m src.v2_video_portal
# 3. Standard V2 Elite generation (Render-Only)
python -u -m src.v2_optimizer --render-only
if [ -f v2_safety_report.md ]; then
cat v2_safety_report.md >> pr_description.md
else
-54
View File
@@ -1,54 +0,0 @@
name: Nubenetes V2 Video Hub Builder
on:
push:
branches:
- develop
paths:
- 'src/v2_video_portal.py'
- 'data/inventory.yaml'
workflow_dispatch:
permissions:
contents: write
concurrency:
group: v2-video-hub-${{ github.ref }}
cancel-in-progress: true
jobs:
build-video-hub:
runs-on: ubuntu-latest
steps:
- name: Repository Synchronization
uses: actions/checkout@v6
with:
ref: develop
- name: Python 3.11 Environment Provisioning
uses: actions/setup-python@v6
with:
python-version: '3.11'
- name: Dependency Installation
run: |
python -m pip install --upgrade pip
pip install pyyaml
- name: Execute Video Portal Generator
run: |
export PYTHONPATH=$PYTHONPATH:.
python src/v2_video_portal.py
- name: Commit and Push Changes
run: |
git config --global user.name "Nubenetes Bot"
git config --global user.email "bot@nubenetes.com"
git add v2-docs/videos.md
if git diff --staged --quiet; then
echo "No changes to commit."
else
git commit -m "docs: automated V2 video hub update [skip ci]"
git pull --rebase origin develop
git push origin develop
fi
+1 -1
View File
@@ -69,7 +69,7 @@ This file contains the accumulated instructions and long-term vision for the aut
- **Semantic Merge Logic**: If multiple URLs point to the same technical project (e.g., `user.github.io` vs `github.com/user/repo`), the agent MUST consolidate them into a single canonical reference, prioritizing the primary repository root.
- **Metadata Merge**: Metadata from multiple sources for the same canonical URL MUST be merged, prioritizing the highest star rating and most recent date.
25. **YouTube Content Enrichment**: Featured videos in the V2 Elite Video Hub MUST be enriched using real-time metadata (titles and descriptions) fetched directly from YouTube. This raw data is then synthesized by AI into technical "Curator Insights" and classified into logical architectural dimensions to ensure 100% content-to-description fidelity.
25. **YouTube Content Enrichment**: Featured videos in the V2 Elite Video Hub MUST be enriched using real-time metadata (titles and descriptions) fetched directly from YouTube. This process is fully integrated into the **V2 Publisher Pipeline** to ensure that all architectural summaries and classifications in `inventory.yaml` maintain 100% content-to-description fidelity across all site regenerations.
24. **Multi-Source Knowledge Discovery**: The discovery engine MUST be extensible beyond social media.
- **Engineering Blogs**: High-depth technical content from engineering blogs (via RSS/Atom) MUST be prioritized for high-impact dimensions.
- **Source Diversity**: Monitor X.com, GitHub Trending, and RSS Feeds to maintain a balanced flow of technical news and architectural deep-dives.
+1 -3
View File
@@ -5,7 +5,6 @@
[![V2 Metadata Engine](https://github.com/nubenetes/awesome-kubernetes/actions/workflows/agentic_v2_metadata.yml/badge.svg)](https://github.com/nubenetes/awesome-kubernetes/actions/workflows/agentic_v2_metadata.yml)
[![V2 AI Curator](https://github.com/nubenetes/awesome-kubernetes/actions/workflows/agentic_v2_ai.yml/badge.svg)](https://github.com/nubenetes/awesome-kubernetes/actions/workflows/agentic_v2_ai.yml)
[![V2 Publisher](https://github.com/nubenetes/awesome-kubernetes/actions/workflows/agentic_v2_publish.yml/badge.svg)](https://github.com/nubenetes/awesome-kubernetes/actions/workflows/agentic_v2_publish.yml)
[![V2 Video Hub](https://github.com/nubenetes/awesome-kubernetes/actions/workflows/agentic_v2_videos.yml/badge.svg)](https://github.com/nubenetes/awesome-kubernetes/actions/workflows/agentic_v2_videos.yml)
[![Intelligent Link Cleaner](https://github.com/nubenetes/awesome-kubernetes/actions/workflows/intelligent_link_cleaner.yml/badge.svg)](https://github.com/nubenetes/awesome-kubernetes/actions/workflows/intelligent_link_cleaner.yml)
**Nubenetes** is a high-density, curated archive of the Kubernetes, Cloud Native, and Agentic AI ecosystem. Since its inception in 2018, it has evolved from a personal collection of references into an autonomous, AI-driven knowledge engine that processes thousands of technical resources to provide a definitive "Source of Truth" for engineers worldwide.
@@ -980,8 +979,7 @@ To maintain transparency and ease of navigation, all key configuration, database
- **V2 Health Monitor:** [`.github/workflows/agentic_v2_health.yml`](.github/workflows/agentic_v2_health.yml) — Weekly archive network validation.
- **V2 Metadata Engine:** [`.github/workflows/agentic_v2_metadata.yml`](.github/workflows/agentic_v2_metadata.yml) — Bi-weekly GitHub social proof extraction.
- **V2 AI Curator:** [`.github/workflows/agentic_v2_ai.yml`](.github/workflows/agentic_v2_ai.yml) — On-demand Gemini-driven deep architectural analysis.
- **V2 Publisher:** [`.github/workflows/agentic_v2_publish.yml`](.github/workflows/agentic_v2_publish.yml) — Automatic V2 portal generation (Fast-Track rendering).
- **V2 Video Hub Builder:** [`.github/workflows/agentic_v2_videos.yml`](.github/workflows/agentic_v2_videos.yml) — Automated builder for the high-density Elite Video Hub.
- **V2 Publisher:** [`.github/workflows/agentic_v2_publish.yml`](.github/workflows/agentic_v2_publish.yml) — Integrated V2 portal generation (Enrichment, Video Hub, and Fast-Track rendering).
- **Link Health Check:** [`.github/workflows/intelligent_link_cleaner.yml`](.github/workflows/intelligent_link_cleaner.yml) — Perpetual archive integrity engine.
- **README Metrics Sync:** [`.github/workflows/readme_sync.yml`](.github/workflows/readme_sync.yml)
- **Emergency PR Generator:** [`.github/workflows/agentic_v2_pr_only.yml`](.github/workflows/agentic_v2_pr_only.yml) — Data recovery off-ramp.