From 906f9e265b54aae2c93c574ee4fea6f0ee2f6bec Mon Sep 17 00:00:00 2001 From: joe Date: Wed, 13 Aug 2025 22:25:01 -0700 Subject: [PATCH] Switch from rust:slim-trixie to rust:trixie for better stability - Replace slim variant with full rust:trixie container - Full container should have better compatibility and fewer SIGSEGV issues - Keep rustup installation for stable Rust version control - Update all job containers consistently --- .forgejo/workflows/ci.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 2acb7b40..821297ae 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: name: Build and Test runs-on: ubuntu-latest container: - image: rust:slim-trixie + image: rust:trixie steps: - name: Setup environment @@ -35,7 +35,7 @@ jobs: else echo "⚠️ apt-cacher-ng not available or slow, using Debian's automatic mirror selection..." echo "deb http://httpredir.debian.org/debian trixie main contrib non-free" > /etc/apt/sources.list - echo "deb-src http://httpredir.debian.org/debian trixie main contrib non-free" >> /etc/apt/sources.list + echo "deb-src http://deb.debian.org/debian trixie main contrib non-free" >> /etc/apt/sources.list echo "Using httpredir.debian.org for automatic mirror selection" fi @@ -184,7 +184,7 @@ jobs: echo '' >> CI_SUMMARY.md echo '## Build Status' >> CI_SUMMARY.md echo '- **Status**: ✅ SUCCESS' >> CI_SUMMARY.md - echo '- **Container**: rust:slim-trixie' >> CI_SUMMARY.md + echo '- **Container**: rust:trixie' >> CI_SUMMARY.md echo '- **Rust Version**: '"$(rustc --version)" >> CI_SUMMARY.md echo '- **Cargo Version**: '"$(cargo --version)" >> CI_SUMMARY.md echo '' >> CI_SUMMARY.md @@ -220,7 +220,7 @@ jobs: name: Security Audit runs-on: ubuntu-latest container: - image: rust:slim-trixie + image: rust:trixie steps: - name: Setup environment @@ -237,7 +237,7 @@ jobs: else echo "⚠️ apt-cacher-ng not available or slow, using Debian's automatic mirror selection..." echo "deb http://httpredir.debian.org/debian trixie main contrib non-free" > /etc/apt/sources.list - echo "deb-src http://httpredir.debian.org/debian trixie main contrib non-free" >> /etc/apt/sources.list + echo "deb-src http://deb.debian.org/debian trixie main contrib non-free" >> /etc/apt/sources.list echo "Using httpredir.debian.org for automatic mirror selection" fi @@ -267,7 +267,7 @@ jobs: name: Package Validation runs-on: ubuntu-latest container: - image: rust:slim-trixie + image: rust:trixie steps: - name: Setup environment @@ -284,7 +284,7 @@ jobs: else echo "⚠️ apt-cacher-ng not available or slow, using Debian's automatic mirror selection..." echo "deb http://httpredir.debian.org/debian trixie main contrib non-free" > /etc/apt/sources.list - echo "deb-src http://httpredir.debian.org/debian trixie main contrib non-free" >> /etc/apt/sources.list + echo "deb-src http://deb.debian.org/debian trixie main contrib non-free" >> /etc/apt/sources.list echo "Using httpredir.debian.org for automatic mirror selection" fi @@ -329,7 +329,7 @@ jobs: name: Status Report runs-on: ubuntu-latest container: - image: rust:slim-trixie + image: rust:trixie needs: [build-and-test, security, package] steps: @@ -347,7 +347,7 @@ jobs: else echo "⚠️ apt-cacher-ng not available or slow, using Debian's automatic mirror selection..." echo "deb http://httpredir.debian.org/debian trixie main contrib non-free" > /etc/apt/sources.list - echo "deb-src http://httpredir.debian.org/debian trixie main contrib non-free" >> /etc/apt/sources.list + echo "deb-src http://deb.debian.org/debian trixie main contrib non-free" >> /etc/apt/sources.list echo "Using httpredir.debian.org for automatic mirror selection" fi @@ -373,7 +373,7 @@ jobs: 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 "- **Date**: $(date '+%Y-%m-%d %H:%M:%S UTC')" >> STATUS_REPORT.md - echo "- **Container**: rust:slim-trixie" >> STATUS_REPORT.md + echo "- **Container**: rust:trixie" >> STATUS_REPORT.md echo "" >> STATUS_REPORT.md echo "All CI jobs completed successfully! 🎉" >> STATUS_REPORT.md