apt-ostree/build-ci.sh
robojerk e24088747b
Some checks failed
Comprehensive CI/CD Pipeline / Build and Test (push) Successful in 16m40s
Comprehensive CI/CD Pipeline / Security Audit (push) Failing after 6s
Comprehensive CI/CD Pipeline / Package Validation (push) Successful in 1m5s
Comprehensive CI/CD Pipeline / Status Report (push) Has been skipped
Add bootc-compatible labels to container-encapsulate
- Implement complete bootc label support for apt-ostree compose container-encapsulate
- Add containers.bootc, ostree.bootable, ostree.commit, ostree.linux, aptostree.inputhash labels
- Add smart kernel version detection from OSTree tree structure
- Fix container-encapsulate command routing and argument parsing
- Update CHANGELOG.md with bootc label documentation

This enables full compatibility with bootc-image-builder and the broader bootc ecosystem.
2025-09-02 11:58:47 -07:00

22 lines
513 B
Bash
Executable file

#!/bin/bash
set -e
echo "🔧 Building apt-ostree for CI environment..."
# Set memory-friendly environment variables
export CARGO_BUILD_JOBS=2
export RUSTFLAGS="-C target-cpu=native -C opt-level=2"
export CARGO_TARGET_DIR="target-ci"
# Clean previous builds
echo "🧹 Cleaning previous builds..."
cargo clean
# Build with CI profile
echo "🏗️ Building with CI profile..."
cargo build --profile ci --bin apt-ostree
cargo build --profile ci --bin apt-ostreed
echo "✅ CI build completed successfully!"