Commit graph

33 commits

Author SHA1 Message Date
71d57fc924 Fix package metadata and build dependencies for Debian Trixie
Some checks failed
Comprehensive CI/CD Pipeline / Build and Test bootc Package (push) Failing after 2m43s
Comprehensive CI/CD Pipeline / Security Audit (push) Failing after 0s
Comprehensive CI/CD Pipeline / Package Validation (push) Successful in 1m2s
Comprehensive CI/CD Pipeline / Status Report (push) Has been skipped
- Update debian/changelog: 1.5.1-1~noble1 → 1.5.1-1~trixie1
- Change distribution from noble-backports to trixie
- Add missing build dependencies: libfuse3-dev, libsoup-3.0-dev, etc.
- Update install.sh and README.md to reflect Trixie version
- Fix repository URLs to use particle-os instead of robojerk
- Ensure all required packages are available for successful build
2025-08-14 13:06:25 -07:00
6dd88876c9 Fix CI workflow: Remove Rust build steps for bootc-deb packaging
Some checks failed
Comprehensive CI/CD Pipeline / Build and Test bootc Package (push) Failing after 1m50s
Comprehensive CI/CD Pipeline / Security Audit (push) Failing after 0s
Comprehensive CI/CD Pipeline / Package Validation (push) Successful in 1m31s
Comprehensive CI/CD Pipeline / Status Report (push) Has been skipped
- Remove unnecessary Rust compilation steps (not needed for Debian packaging)
- Change container from rust:trixie to debian:trixie
- Streamline workflow to go directly to Debian package build
- Keep dh-cargo for proper Debian packaging
- Fix workflow to match bootc-deb repository structure
2025-08-14 12:59:47 -07:00
6bb5c97da3 Consolidate CI workflows into comprehensive ci.yml
Some checks failed
Comprehensive CI/CD Pipeline / Build and Test bootc Package (push) Failing after 1m7s
Comprehensive CI/CD Pipeline / Security Audit (push) Failing after 8s
Comprehensive CI/CD Pipeline / Package Validation (push) Successful in 33s
Comprehensive CI/CD Pipeline / Status Report (push) Has been skipped
- Replace multiple workflow files with single consolidated ci.yml
- Fix container image from debian:latest to debian:trixie
- Add apt-cacher-ng support for faster builds
- Include comprehensive CI pipeline: build, security, validation
- Add proper secrets handling with ACCESS_TOKEN
- Target Debian Trixie distribution
- Remove old Ubuntu Noble references
- Improve build reliability and artifact collection
2025-08-14 11:54:35 -07:00
8280af22ed Fix CI workflow: Target Debian Trixie instead of Ubuntu Noble
Some checks failed
Test Build / Test bootc Build (with existing libostree) (push) Successful in 8m30s
Build bootc Package / Build bootc Package (push) Has been cancelled
- Change container from ubuntu:latest to debian:latest
- Update distribution target from noble to trixie
- Fix package version from 1~noble1 to 1~trixie1
- Update environment variable from UBUNTU_VERSION to DEBIAN_VERSION
- Remove hardcoded libostree dependency versions
- Update upload URLs to use trixie/main
- Fix build summary to show Debian version
- Ensure compatibility with Debian Trixie systems
2025-08-14 11:44:00 -07:00
664f0c5338 Fix test workflow: add rustup environment setup to match main workflow
All checks were successful
Build bootc Package / Build bootc Package (push) Successful in 5m52s
Test Build / Test bootc Build (with existing libostree) (push) Successful in 7m57s
- Add rustup environment variables (PATH, CARGO_HOME, RUSTUP_HOME) to test workflow
- Add 'rustup default stable' call to ensure default toolchain is set
- Match the exact environment setup that works in the main workflow
- Update todo.md to reflect the latest fix and completed main goal

This ensures the test workflow has the same rustup environment as the main workflow
and should now pass both cargo build and dpkg-buildpackage steps without rustup errors.
2025-07-22 00:07:27 +00:00
3f90b8c648 Fix test workflow: add all missing Debian build dependencies
Some checks failed
Build bootc Package / Build bootc Package (push) Successful in 5m51s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 7m8s
- Add Forgejo repository setup to test workflow for libostree packages
- Install libostree-dev and libostree-1-1 from Forgejo registry
- Add all missing Debian build dependencies: debhelper-compat, dh-cargo, cargo, rustc
- Add system library dependencies: libcurl4-gnutls-dev, libfuse3-dev, libsoup-3.0-dev
- Add documentation dependencies: gobject-introspection, gtk-doc-tools, docbook-xml, etc.
- Update todo.md to reflect completed main goal and next steps

This ensures the test workflow has all the same dependencies as the main workflow
and should now pass both cargo build and dpkg-buildpackage steps.
2025-07-21 23:51:13 +00:00
6dc48aa572 fix libostree-dev packages not installing
Some checks failed
Build bootc Package / Build bootc Package (push) Successful in 5m22s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 4m23s
2025-07-21 23:38:22 +00:00
3b8811d10e Added libssl-dev to resolve openssl-sys build dependency
Some checks failed
Build bootc Package / Build bootc Package (push) Successful in 5m21s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 2m31s
2025-07-21 23:27:45 +00:00
7685b8275b Fix bootc build: resolve rustup environment and install path conflicts
Some checks failed
Build bootc Package / Build bootc Package (push) Successful in 5m26s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 2m13s
- Add PATH export in debian/rules build step to ensure cargo finds rustup tools
- Fix binary install path to use debian/cargo/target/release/bootc (correct cargo target dir)
- Remove conflicting dh_auto_install call that was looking for wrong binary path
- Add manual package structure creation (usr/share/doc/bootc directory)
- Ensure rustup environment variables are set in workflow step for dpkg-buildpackage

This resolves the 'rustup could not choose a version of cargo' error and
the 'install: cannot stat target/release/bootc' error by properly handling
the CARGO_TARGET_DIR setting and avoiding conflicting install targets.

Build should now complete successfully from cargo compilation through
package creation and upload to Forgejo Debian Package Registry.
2025-07-21 23:11:35 +00:00
3b59e37d1c Fix bootc build: resolve rustup environment and binary path issues
Some checks failed
Build bootc Package / Build bootc Package (push) Failing after 4m57s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 2m6s
- Set rustup environment variables in workflow instead of debian/rules
- Fix binary install path to use debian/cargo/target/release/bootc
- Simplify debian/rules by removing complex rustup handling
- Ensure cargo builds successfully and binary is found during install
2025-07-21 23:02:33 +00:00
732dfeb700 i dont care anymore
Some checks failed
Build bootc Package / Build bootc Package (push) Failing after 5m20s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 2m15s
2025-07-21 22:52:14 +00:00
b1b3fa1738 fixed rust path
Some checks failed
Build bootc Package / Build bootc Package (push) Failing after 5m5s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 2m0s
2025-07-21 22:44:19 +00:00
67ad7fa93d rust issues
Some checks failed
Build bootc Package / Build bootc Package (push) Failing after 2m44s
Test Build / Test bootc Build (with existing libostree) (push) Has been cancelled
2025-07-21 22:40:08 +00:00
5d38f1f47a Fix rustup toolchain and zstd dependency issues
Some checks failed
Build bootc Package / Build bootc Package (push) Failing after 5m38s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 2m0s
- Add rustup default stable in build step for proper toolchain setup
- Install libzstd-dev for zstd-sys crate compatibility
- Fix rustup toolchain context issues in main workflow
- Add missing zstd development libraries to both workflows
- Ensure all Rust crate dependencies are available
2025-07-21 22:31:20 +00:00
9e9dfebbf2 Fix rustup toolchain and glib-2.0 dependencies
Some checks failed
Build bootc Package / Build bootc Package (push) Failing after 5m27s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 2m12s
- Set rustup default toolchain to stable
- Add libglib2.0-dev for Rust crate compatibility
- Fix build dependency issues in both workflows
2025-07-21 22:21:28 +00:00
8e99e9dcd2 Fix workflow shell issues and add missing build dependencies
Some checks failed
Build bootc Package / Build bootc Package (push) Failing after 5m5s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 1m53s
- Use bash shell and POSIX-compliant sourcing
- Add debhelper-compat, dh-cargo, rustc, cargo packages
- Install system Rust before rustup for dpkg compatibility
2025-07-21 22:09:52 +00:00
40ca7100f9 Fixed shell bash stuff around rust
Some checks failed
Build bootc Package / Build bootc Package (push) Failing after 2m50s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 1m34s
2025-07-21 22:03:16 +00:00
781b1c2650 Update workflow to use ACCESS_TOKEN and add setup instructions
Some checks failed
Build bootc Package / Build bootc Package (push) Failing after 1m15s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 1m26s
- Updated workflow to use ACCESS_TOKEN instead of FORGEJO_TOKEN
- Added comprehensive setup instructions in workflow comments
- Updated all API calls and debug steps to use ACCESS_TOKEN
- Added reminder for future repository setups
2025-07-21 21:50:32 +00:00
4b7ad029e9 Fix download link system for libostree-dev packages
Some checks failed
Build bootc Package / Build bootc Package (push) Failing after 1m23s
Test Build / Test bootc Build (with existing libostree) (push) Has been cancelled
- Add automatic README update workflow that triggers after successful builds
- Add manual workflow for updating download links to specific builds
- Update README with working download links to Build 97 artifacts
- Include direct links to both main package and debug symbols
- Add installation instructions with correct workflow run URLs
- Fix workflow run ID references and artifact download paths

This provides reliable download links that users can access directly
from the repository README to install the latest libostree backport.
2025-07-21 03:21:14 +00:00
5af727b34d Fix Rust version requirement for bootc 1.5.1
Some checks failed
Build Packages / Build libostree Backport (push) Successful in 9m15s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 1m15s
Build Packages / Build bootc Package (push) Failing after 1m18s
Build Packages / Create Combined Artifacts (push) Has been skipped
- Replace system Rust 1.75.0 with rustup to get latest stable Rust
- Update both build-packages.yml and test-build.yml workflows
- Add source ~/.cargo/env to all Rust build steps
- Add Rust version verification in setup steps

This resolves the "requires rustc 1.82.0 or newer" error that was
preventing bootc from building in the CI/CD environment.
2025-07-21 02:46:51 +00:00
6bc8f501a9 Fix CI/CD patch application and interactive prompt issues
Some checks failed
Build Packages / Build libostree Backport (push) Successful in 10m11s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 1m7s
Build Packages / Build bootc Package (push) Failing after 1m13s
Build Packages / Create Combined Artifacts (push) Has been skipped
- Update patch file to use correct path: lib/src/cli.rs instead of crates/lib/src/cli.rs
- Simplify patch application to use patch -p1 with correct strip level
- Fix debug step to check correct directory structure
- Add -y flag to all apt update commands to prevent interactive prompts
- Ensure all apt commands use non-interactive mode with proper environment variables

This resolves the "can't find file to patch" error and prevents
interactive prompts that were causing CI/CD failures.
2025-07-21 01:40:25 +00:00
28955d63c9 Fix patch application and add artifact management
Some checks failed
Build Packages / Build libostree Backport (push) Successful in 9m3s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 53s
Build Packages / Build bootc Package (push) Failing after 1m7s
Build Packages / Create Combined Artifacts (push) Has been skipped
- Add debugging step to show file structure before patching
- Add logic to try different patch strip levels (-p1 vs -p0)
- Add error handling to show available Rust files if target not found
- Add artifact upload steps for both libostree and bootc packages
- Create release-assets directory with build summary
- Copy all .deb packages to artifacts directory for visibility

This fixes the "can't find file to patch" error and ensures
built packages are accessible as artifacts in the CI/CD workspace.
2025-07-21 01:22:42 +00:00
b8e6484059 Fix CI/CD build dependencies interactive prompt
Some checks failed
Build Packages / Build libostree Backport (push) Successful in 9m31s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 1m6s
Build Packages / Build bootc Package (push) Failing after 1m12s
Build Packages / Create Combined Artifacts (push) Has been skipped
- Add DEBIAN_FRONTEND=noninteractive to prevent apt prompts
- Add APT_LISTCHANGES_FRONTEND=none to disable package change notifications
- Change from apt to apt-get for better CI/CD compatibility
- Add apt-get update before installing build dependencies
- Add --no-install-recommends flag to reduce package count

This fixes the "Do you want to continue? [Y/n]" prompt that was
causing the libostree backport build to fail in the CI environment.
2025-07-21 01:01:26 +00:00
e9f2b52dd6 added -y to apt build-dep command
Some checks failed
Build Packages / Build bootc Package (push) Blocked by required conditions
Build Packages / Create Combined Artifacts (push) Blocked by required conditions
Test Build / Test bootc Build (with existing libostree) (push) Waiting to run
Build Packages / Build libostree Backport (push) Has been cancelled
2025-07-21 00:53:54 +00:00
7ea97468bf maybe this time
Some checks failed
Build Packages / Build libostree Backport (push) Failing after 2m24s
Build Packages / Build bootc Package (push) Has been skipped
Build Packages / Create Combined Artifacts (push) Has been skipped
Test Build / Test bootc Build (with existing libostree) (push) Failing after 1m20s
2025-07-21 00:49:32 +00:00
2b51b8cba3 hopefully last workflow fix
Some checks failed
Build Packages / Build libostree Backport (push) Failing after 2m3s
Build Packages / Build bootc Package (push) Has been skipped
Build Packages / Create Combined Artifacts (push) Has been skipped
Test Build / Test bootc Build (with existing libostree) (push) Failing after 1m7s
2025-07-21 00:37:51 +00:00
1c74c5fe23 Remove all Node.js actions: use manual git clone and shell commands only
Some checks failed
Build Packages / Build libostree Backport (push) Failing after 1m37s
Build Packages / Build bootc Package (push) Has been skipped
Build Packages / Create Combined Artifacts (push) Has been skipped
Test Build / Test bootc Build (with existing libostree) (push) Failing after 51s
2025-07-21 00:27:17 +00:00
764f01310f Fix Node.js dependency: downgrade actions to v3 for ubuntu:latest compatibility
Some checks failed
Build Packages / Build libostree Backport (push) Failing after 1s
Build Packages / Build bootc Package (push) Has been skipped
Build Packages / Create Combined Artifacts (push) Has been skipped
Test Build / Test bootc Build (with existing libostree) (push) Failing after 2s
2025-07-21 00:24:43 +00:00
f59d3080b9 Fix runner labels: use ubuntu-latest instead of [linux, x64, docker:dind]
Some checks failed
Build Packages / Build libostree Backport (push) Failing after 1s
Build Packages / Build bootc Package (push) Has been skipped
Build Packages / Create Combined Artifacts (push) Has been skipped
Test Build / Test bootc Build (with existing libostree) (push) Failing after 1s
2025-07-21 00:22:37 +00:00
8c0c7555fe Fix Forgejo compatibility: use proper runner labels and container configuration
Some checks are pending
Build Packages / Build libostree Backport (push) Waiting to run
Build Packages / Build bootc Package (push) Blocked by required conditions
Build Packages / Create Combined Artifacts (push) Blocked by required conditions
Test Build / Test bootc Build (with existing libostree) (push) Waiting to run
2025-07-20 23:44:41 +00:00
25a684578a Fix Forgejo compatibility: use ubuntu-latest and actions@v3
Some checks failed
Build Packages / Build libostree Backport (push) Failing after 2s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 1s
Build Packages / Build bootc Package (push) Has been skipped
Build Packages / Create Combined Artifacts (push) Has been skipped
2025-07-20 23:36:36 +00:00
4a9c19ef1c Simplify CI/CD workflows for Forgejo compatibility
Some checks failed
Build Packages / Build libostree Backport (push) Failing after 0s
Build Packages / Build bootc Package (push) Has been skipped
Build Packages / Create Combined Artifacts (push) Has been skipped
Test Build / Test bootc Build (with existing libostree) (push) Failing after 0s
2025-07-20 23:34:40 +00:00
695714a60e Initial commit: Complete bootc packaging with CI/CD automation
Some checks failed
Build Packages / Build libostree Backport (push) Failing after 0s
Build Packages / Build bootc Package (push) Has been skipped
Test Build / Test bootc Build (with existing libostree) (push) Failing after 0s
Build Packages / Create Release (push) Has been skipped
Build Packages / Create Artifacts for README Update (push) Has been skipped
2025-07-20 23:30:16 +00:00