🔧 Fix YAML syntax error - Replace problematic heredoc
- ❌ Fix syntax error on line 117 (could not find expected ':') - 🔄 Replace EOF heredoc with individual echo commands - ✅ YAML now passes syntax validation - 📝 Line length warnings remain (non-critical formatting) - 🎯 Target: Resolve YAML syntax issues that could cause CI failures
This commit is contained in:
parent
079e67e9ac
commit
0cd7ca2703
1 changed files with 30 additions and 31 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
name: Comprehensive CI/CD Pipeline
|
name: Comprehensive CI/CD Pipeline
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
|
@ -103,15 +104,13 @@ jobs:
|
||||||
|
|
||||||
# Create control file
|
# Create control file
|
||||||
mkdir -p debian/apt-ostree/DEBIAN
|
mkdir -p debian/apt-ostree/DEBIAN
|
||||||
cat > debian/apt-ostree/DEBIAN/control << 'EOF'
|
echo "Package: apt-ostree" > debian/apt-ostree/DEBIAN/control
|
||||||
Package: apt-ostree
|
echo "Version: 0.1.0" >> debian/apt-ostree/DEBIAN/control
|
||||||
Version: 0.1.0
|
echo "Architecture: amd64" >> debian/apt-ostree/DEBIAN/control
|
||||||
Architecture: amd64
|
echo "Maintainer: Robojerk <robojerk@example.com>" >> debian/apt-ostree/DEBIAN/control
|
||||||
Maintainer: Robojerk <robojerk@example.com>
|
echo "Description: APT-OSTree package for Debian-based OSTree systems" >> debian/apt-ostree/DEBIAN/control
|
||||||
Description: APT-OSTree package for Debian-based OSTree systems
|
echo " A tool for managing OSTree deployments with APT package management." >> debian/apt-ostree/DEBIAN/control
|
||||||
A tool for managing OSTree deployments with APT package management.
|
echo " Provides atomic updates and rollback capabilities for Debian systems." >> debian/apt-ostree/DEBIAN/control
|
||||||
Provides atomic updates and rollback capabilities for Debian systems.
|
|
||||||
EOF
|
|
||||||
|
|
||||||
# Build package
|
# Build package
|
||||||
dpkg-deb --build debian/apt-ostree apt-ostree_0.1.0_amd64.deb
|
dpkg-deb --build debian/apt-ostree apt-ostree_0.1.0_amd64.deb
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue