2 Commits

Author SHA1 Message Date
root
dc4abf3774 Install Python via apt instead of setup-python in KB health workflow
All checks were successful
Deploy Skill to OCI / deploy (push) Successful in 24s
actions/setup-python@v5 fails on the arm64 Gitea runner with "version '3.12'
with architecture 'arm64' was not found" — the prebuilt Python manifest
doesn't cover this runner/arch combo. Use the system python3 from apt; the
link-check scripts don't require 3.12 specifically.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 11:00:56 -03:00
root
01baff1f5b Ship Oracle FY26 PPTX template in repo so MCP server finds it
The 13MB template was caught by the global *.pptx ignore rule, leaving
generate_deck failing with "Template not found" in any environment that
builds from a fresh clone (MCP server container included). Whitelist it
alongside the existing sample-output exception.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 10:57:02 -03:00
3 changed files with 8 additions and 6 deletions

View File

@@ -18,25 +18,26 @@ jobs:
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
run: |
sudo apt-get update -qq
sudo apt-get install -y python3 python3-pip
python3 --version
- name: Install dependencies
run: pip install requests beautifulsoup4 pyyaml
run: python3 -m pip install --user requests beautifulsoup4 pyyaml
- name: Check Architecture Center links
id: check
continue-on-error: true
run: |
python tools/refresh_arch_catalog.py --check-links 2>&1 | tee /tmp/link-check.txt
python3 tools/refresh_arch_catalog.py --check-links 2>&1 | tee /tmp/link-check.txt
echo "exit_code=$?" >> $GITHUB_OUTPUT
- name: Check SKU catalog freshness
id: sku
continue-on-error: true
run: |
python tools/refresh_sku_catalog.py --validate 2>&1 | tee -a /tmp/link-check.txt
python3 tools/refresh_sku_catalog.py --validate 2>&1 | tee -a /tmp/link-check.txt
- name: Create issue if problems found
if: steps.check.outcome == 'failure'

1
.gitignore vendored
View File

@@ -5,6 +5,7 @@ __pycache__/
output/
*.pptx
!examples/sample-output/*.pptx
!templates/Oracle_PPT-template_FY26.pptx
# OCI Toolkit binary (download from Oracle, don't commit)
kb/diagram/OCI Library.xml

Binary file not shown.