Commit graph

15 commits

Author SHA1 Message Date
robojerk
ec795735cd Switch to complete Rust image to avoid component installation issues
Some checks failed
Build deb-bootupd Artifacts / Build deb-bootupd Artifacts (push) Failing after 3m24s
Simple Build & Upload / build (push) Failing after 1m27s
- Change from rust:1.89-slim-trixie to rust:1.89 (full image)
- Remove manual rustup component add clippy and rustfmt
- Full rust:1.89 image includes all components by default
- This eliminates the 'whack-a-mole' approach of adding packages one by one
- Update build info files to reflect new container image
- Should resolve all missing component errors in CI/CD
2025-08-10 00:34:02 -07:00
robojerk
2ba0a2c5ff Install Rust rustfmt component in workflows
Some checks failed
Build deb-bootupd Artifacts / Build deb-bootupd Artifacts (push) Failing after 2m8s
Simple Build & Upload / build (push) Failing after 2m4s
- Add 'rustup component add rustfmt' to both workflows
- Resolves 'cargo-fmt is not installed' error
- Now workflows can run formatting checks after successful compilation
- Combined with clippy, this completes the Rust toolchain setup
- Workflow should now complete successfully with all quality checks
2025-08-10 00:27:19 -07:00
robojerk
ad7f427551 Install Rust clippy component in workflows
Some checks failed
Build deb-bootupd Artifacts / Build deb-bootupd Artifacts (push) Failing after 2m1s
Simple Build & Upload / build (push) Failing after 1m57s
- Add 'rustup component add clippy' to both workflows
- Resolves 'cargo-clippy is not installed' error
- Now workflows can run clippy linting after successful compilation
- Maintains all previous improvements (file command, container fixes)
2025-08-10 00:22:10 -07:00
robojerk
09ec0199a5 Fix missing 'file' command in Rust container
Some checks failed
Build deb-bootupd Artifacts / Build deb-bootupd Artifacts (push) Failing after 1m54s
Simple Build & Upload / build (push) Failing after 1m46s
- Install 'file' package in both workflows to show binary information
- Fix outdated comment in simple-build workflow
- Resolves 'file: not found' error that was causing workflow failure
- Now workflows can properly display binary details after compilation
2025-08-10 00:16:40 -07:00
robojerk
2a217b364c Fix Rust container tag format to rust:1.89-slim-trixie
Some checks failed
Build deb-bootupd Artifacts / Build deb-bootupd Artifacts (push) Failing after 2m0s
Simple Build & Upload / build (push) Failing after 2m9s
- Correct tag format from rust:1.89-debian-trixie to rust:1.89-slim-trixie
- Update all build info files to reflect correct container image name
- Fixes 'manifest unknown' Docker pull errors in both workflows
- Uses the slim variant for smaller, faster container pulls
2025-08-10 00:11:07 -07:00
robojerk
4c71e145d4 Upgrade to rust:1.89-debian-trixie-slim for much better workflow performance
Some checks failed
Build deb-bootupd Artifacts / Build deb-bootupd Artifacts (push) Failing after 2s
Simple Build & Upload / build (push) Failing after 2s
- Replace debian:trixie with rust:1.89-debian-trixie-slim
- Rust 1.89.0 is pre-installed and > 1.84.1 requirement
- Eliminate complex rustup installation and toolchain management
- Remove Cargo.lock version 4 regeneration logic (not needed with Rust 1.89.0)
- Simplify setup steps and reduce build time
- Update environment variables and build info to reflect new container
- Both workflows now use the same optimized approach
2025-08-10 00:06:51 -07:00
robojerk
4a88e5824c Fix Debian container tag from debian:13 to debian:trixie
Some checks failed
Build deb-bootupd Artifacts / Build deb-bootupd Artifacts (push) Failing after 4m35s
Simple Build & Upload / build (push) Has been cancelled
- Change container image from debian:13 to debian:trixie (correct tag)
- Update environment variable to show '13 (Trixie)' for clarity
- Add explanatory comments about Debian tag naming convention
- Fixes 'manifest unknown' Docker pull errors in both workflows
2025-08-10 00:00:24 -07:00
robojerk
528e494bfb Fix YAML indentation in Forgejo Actions workflows
Some checks failed
Build deb-bootupd Artifacts / Build deb-bootupd Artifacts (push) Failing after 1s
Simple Build & Upload / build (push) Failing after 2s
- Fix container section indentation in build-artifacts.yml (line 33)
- Fix container section indentation in simple-build.yml (line 16)
- Correct YAML structure for proper workflow validation
- Maintain all Debian container and Rust toolchain improvements
2025-08-09 23:59:07 -07:00
robojerk
cfdf091bdd Switch workflows to Debian 13 (Trixie) containers
- Change from Ubuntu to Debian 13 containers for both workflows
- Update environment variables from UBUNTU_VERSION to DEBIAN_VERSION
- Add explanatory comments about using Debian for Debian-focused project
- Update build info files to reflect Debian version instead of Ubuntu
- Maintain all Rust toolchain and build logic improvements
2025-08-09 23:56:18 -07:00
robojerk
df5a4bf585 Fix Rust version compatibility in Forgejo Actions workflows
Some checks failed
Build deb-bootupd Artifacts / Build deb-bootupd Artifacts (push) Failing after 2m54s
Simple Build & Upload / build (push) Failing after 2m14s
- Add Rust version checking to ensure 1.84.1+ requirement is met
- Force install latest nightly toolchain if version is too old
- Consolidate Rust installation and environment setup in simple workflow
- Fix PATH persistence between workflow steps
- Add better error handling and version validation
2025-08-09 23:49:13 -07:00
robojerk
ae634b196f Fix Forgejo Actions workflows for Cargo.lock compatibility
Some checks failed
Build deb-bootupd Artifacts / Build deb-bootupd Artifacts (push) Failing after 2m6s
Simple Build & Upload / build (push) Failing after 1m59s
- Fix Cargo.lock version 4 compatibility by using nightly Rust toolchain
- Replace actions/checkout with manual git clone to avoid Node.js dependency
- Update simple-build.yml to use Ubuntu container and manual checkout
- Add Cargo.lock regeneration logic for version compatibility
- Ensure both workflows can handle modern Rust lock file versions
2025-08-09 23:43:05 -07:00
robojerk
95c23891b6 Add Forgejo Actions workflows for automated builds and artifact uploads
Some checks failed
Build deb-bootupd Artifacts / Build deb-bootupd Artifacts (push) Failing after 1m51s
Simple Build & Upload / build (push) Failing after 1m20s
- Add comprehensive build-artifacts.yml workflow with Forgejo Package Registry upload
- Add simple-build.yml workflow for basic artifact management
- Update README.md with workflow documentation and setup instructions
- Fix debian/rules to correctly create bootupctl symlink to /usr/libexec/bootupd
- Improve error handling and validation throughout the codebase
- Remove unused functions and imports
- Update documentation to clarify bootupd is not a daemon
- Fix binary layout to match RPM packaging pattern
2025-08-09 23:38:01 -07:00
robojerk
aaf662d5b1 Restructure project layout for better CI/CD integration
Some checks failed
Cross build / Build on ppc64le (push) Failing after 1m8s
Cross build / Build on s390x (push) Failing after 2s
- Flattened nested bootupd/bootupd/ structure to root level
- Moved all core project files to root directory
- Added proper Debian packaging structure (debian/ directory)
- Created build scripts and CI configuration
- Improved project organization for CI/CD tools
- All Rust source, tests, and configuration now at root level
- Added GitHub Actions workflow for automated testing
- Maintained all original functionality while improving structure
2025-08-09 23:11:42 -07:00
robojerk
5e8730df43 first commit 2025-08-09 23:03:14 -07:00
robojerk
ec689d58ee Initial Debian fork of bootupd for immutable Debian proof-of-concept 2025-08-09 22:11:50 -07:00