Upgrade CI to Python 3.13-slim-trixie images
Some checks failed
Debian Forge CI/CD Pipeline / Build and Test (push) Failing after 1m58s
Debian Forge CI/CD Pipeline / Security Audit (push) Failing after 6s
Debian Forge CI/CD Pipeline / Package Validation (push) Successful in 55s
Debian Forge CI/CD Pipeline / Status Report (push) Has been skipped
Some checks failed
Debian Forge CI/CD Pipeline / Build and Test (push) Failing after 1m58s
Debian Forge CI/CD Pipeline / Security Audit (push) Failing after 6s
Debian Forge CI/CD Pipeline / Package Validation (push) Successful in 55s
Debian Forge CI/CD Pipeline / Status Report (push) Has been skipped
- ✅ Changed from debian:trixie-slim to python:3.13-slim-trixie - ✅ All 4 CI jobs now use official Python Trixie images - ✅ Pre-installed Python 3.13 with optimized environment - ✅ Smaller image size (slim variant) for faster CI builds - ✅ Official Python support for Debian Trixie - ✅ Updated comments and documentation references - ✅ Maintains modern OSTree packages from Trixie repositories
This commit is contained in:
parent
571d15bbb3
commit
05cbc7e679
1 changed files with 12 additions and 7 deletions
|
|
@ -18,7 +18,7 @@ jobs:
|
||||||
name: Build and Test
|
name: Build and Test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: debian:trixie-slim
|
image: python:3.13-slim-trixie
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Test secret priority
|
- name: Test secret priority
|
||||||
|
|
@ -40,7 +40,8 @@ jobs:
|
||||||
|
|
||||||
- name: Setup environment
|
- name: Setup environment
|
||||||
run: |
|
run: |
|
||||||
# Using Debian Trixie (testing) for modern OSTree packages with full features
|
# Using Python 3.13-slim-trixie for modern Python + Debian Trixie packages
|
||||||
|
# Trixie provides modern OSTree packages with full features
|
||||||
# Bookworm (stable) has outdated OSTree packages missing critical functionality
|
# Bookworm (stable) has outdated OSTree packages missing critical functionality
|
||||||
# Try apt-cacher-ng first, fallback to Debian's automatic mirror selection
|
# Try apt-cacher-ng first, fallback to Debian's automatic mirror selection
|
||||||
echo "Checking for apt-cacher-ng availability..."
|
echo "Checking for apt-cacher-ng availability..."
|
||||||
|
|
@ -98,6 +99,10 @@ jobs:
|
||||||
|
|
||||||
- name: Setup Python environment
|
- name: Setup Python environment
|
||||||
run: |
|
run: |
|
||||||
|
# Python 3.13 is pre-installed in python:3.13-slim-trixie
|
||||||
|
echo "Python version: $(python3 --version)"
|
||||||
|
echo "Pip version: $(pip3 --version)"
|
||||||
|
|
||||||
# Create virtual environment
|
# Create virtual environment
|
||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
|
|
@ -180,7 +185,7 @@ jobs:
|
||||||
echo '' >> CI_SUMMARY.md
|
echo '' >> CI_SUMMARY.md
|
||||||
echo '## Build Status' >> CI_SUMMARY.md
|
echo '## Build Status' >> CI_SUMMARY.md
|
||||||
echo '- **Status**: ✅ SUCCESS' >> CI_SUMMARY.md
|
echo '- **Status**: ✅ SUCCESS' >> CI_SUMMARY.md
|
||||||
echo '- **Container**: debian:trixie-slim' >> CI_SUMMARY.md
|
echo '- **Container**: python:3.13-slim-trixie' >> CI_SUMMARY.md
|
||||||
echo '- **Python Version**: '"$(python3 --version)" >> CI_SUMMARY.md
|
echo '- **Python Version**: '"$(python3 --version)" >> CI_SUMMARY.md
|
||||||
echo '' >> CI_SUMMARY.md
|
echo '' >> CI_SUMMARY.md
|
||||||
echo '## Built Packages' >> CI_SUMMARY.md
|
echo '## Built Packages' >> CI_SUMMARY.md
|
||||||
|
|
@ -331,7 +336,7 @@ jobs:
|
||||||
name: Security Audit
|
name: Security Audit
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: debian:trixie-slim
|
image: python:3.13-slim-trixie
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Setup environment
|
- name: Setup environment
|
||||||
|
|
@ -370,7 +375,7 @@ jobs:
|
||||||
name: Package Validation
|
name: Package Validation
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: debian:trixie-slim
|
image: python:3.13-slim-trixie
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Setup environment
|
- name: Setup environment
|
||||||
|
|
@ -438,7 +443,7 @@ jobs:
|
||||||
name: Status Report
|
name: Status Report
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: debian:trixie-slim
|
image: python:3.13-slim-trixie
|
||||||
needs: [build-and-test, security, package]
|
needs: [build-and-test, security, package]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -469,7 +474,7 @@ jobs:
|
||||||
echo "- **Commit**: $(git rev-parse --short HEAD 2>/dev/null || echo 'Unknown')" >> STATUS_REPORT.md
|
echo "- **Commit**: $(git rev-parse --short HEAD 2>/dev/null || echo 'Unknown')" >> STATUS_REPORT.md
|
||||||
echo "- **Branch**: $(git branch --show-current 2>/dev/null || echo 'Unknown')" >> STATUS_REPORT.md
|
echo "- **Branch**: $(git branch --show-current 2>/dev/null || echo 'Unknown')" >> STATUS_REPORT.md
|
||||||
echo "- **Date**: $(date '+%Y-%m-%d %H:%M:%S UTC')" >> STATUS_REPORT.md
|
echo "- **Date**: $(date '+%Y-%m-%d %H:%M:%S UTC')" >> STATUS_REPORT.md
|
||||||
echo "- **Container**: debian:trixie-slim" >> STATUS_REPORT.md
|
echo "- **Container**: python:3.13-slim-trixie" >> STATUS_REPORT.md
|
||||||
echo "" >> STATUS_REPORT.md
|
echo "" >> STATUS_REPORT.md
|
||||||
echo "All CI jobs completed successfully! 🎉" >> STATUS_REPORT.md
|
echo "All CI jobs completed successfully! 🎉" >> STATUS_REPORT.md
|
||||||
echo "" >> STATUS_REPORT.md
|
echo "" >> STATUS_REPORT.md
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue