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
This commit is contained in:
parent
2d0cb9cfa9
commit
906f9e265b
1 changed files with 10 additions and 10 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: rust:slim-trixie
|
image: rust:trixie
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Setup environment
|
- name: Setup environment
|
||||||
|
|
@ -35,7 +35,7 @@ jobs:
|
||||||
else
|
else
|
||||||
echo "⚠️ apt-cacher-ng not available or slow, using Debian's automatic mirror selection..."
|
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 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"
|
echo "Using httpredir.debian.org for automatic mirror selection"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -184,7 +184,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**: rust:slim-trixie' >> CI_SUMMARY.md
|
echo '- **Container**: rust:trixie' >> CI_SUMMARY.md
|
||||||
echo '- **Rust Version**: '"$(rustc --version)" >> CI_SUMMARY.md
|
echo '- **Rust Version**: '"$(rustc --version)" >> CI_SUMMARY.md
|
||||||
echo '- **Cargo Version**: '"$(cargo --version)" >> CI_SUMMARY.md
|
echo '- **Cargo Version**: '"$(cargo --version)" >> CI_SUMMARY.md
|
||||||
echo '' >> CI_SUMMARY.md
|
echo '' >> CI_SUMMARY.md
|
||||||
|
|
@ -220,7 +220,7 @@ jobs:
|
||||||
name: Security Audit
|
name: Security Audit
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: rust:slim-trixie
|
image: rust:trixie
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Setup environment
|
- name: Setup environment
|
||||||
|
|
@ -237,7 +237,7 @@ jobs:
|
||||||
else
|
else
|
||||||
echo "⚠️ apt-cacher-ng not available or slow, using Debian's automatic mirror selection..."
|
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 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"
|
echo "Using httpredir.debian.org for automatic mirror selection"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -267,7 +267,7 @@ jobs:
|
||||||
name: Package Validation
|
name: Package Validation
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: rust:slim-trixie
|
image: rust:trixie
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Setup environment
|
- name: Setup environment
|
||||||
|
|
@ -284,7 +284,7 @@ jobs:
|
||||||
else
|
else
|
||||||
echo "⚠️ apt-cacher-ng not available or slow, using Debian's automatic mirror selection..."
|
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 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"
|
echo "Using httpredir.debian.org for automatic mirror selection"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -329,7 +329,7 @@ jobs:
|
||||||
name: Status Report
|
name: Status Report
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: rust:slim-trixie
|
image: rust:trixie
|
||||||
needs: [build-and-test, security, package]
|
needs: [build-and-test, security, package]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -347,7 +347,7 @@ jobs:
|
||||||
else
|
else
|
||||||
echo "⚠️ apt-cacher-ng not available or slow, using Debian's automatic mirror selection..."
|
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 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"
|
echo "Using httpredir.debian.org for automatic mirror selection"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -373,7 +373,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**: rust:slim-trixie" >> STATUS_REPORT.md
|
echo "- **Container**: rust: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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue