Commit graph

29 commits

Author SHA1 Message Date
d58e983a68 Fix upload to match working composefs CI pattern
All checks were successful
Build ostree packages from sid to trixie / Build ostree packages (push) Successful in 9m47s
- Use ACCESS_TOKEN instead of FORGEJO_USERNAME/FORGEJO_TOKEN
- Use --upload-file without -X PUT (automatic PUT method)
- Add proper HTTP status code handling and response parsing
- Match exact pattern from working composefs CI
- This should resolve the reqPackageAccess issue
2025-09-06 13:35:33 -07:00
1fbf60a1a6 Fix upload and dch issues
All checks were successful
Build ostree packages from sid to trixie / Build ostree packages (push) Successful in 9m33s
- Use PUT method for Forgejo uploads as per documentation
- Fix dch backport by using --force-distribution and EDITOR=true
- This should resolve both the reqPackageAccess and dch editor issues
- Upload should now work properly with correct HTTP method
2025-09-06 13:20:53 -07:00
11ce6cc22a Fix Forgejo upload API endpoint to match working composefs CI
All checks were successful
Build ostree packages from sid to trixie / Build ostree packages (push) Successful in 10m25s
- Use correct API endpoint: /api/packages/particle-os/debian/pool/trixie/main/upload
- Match the format used in the working composefs CI
- This should resolve the 404 page not found errors
- Build is working perfectly, just need correct upload URL
2025-09-06 12:28:50 -07:00
45e86c9328 Fix Forgejo upload API endpoint
All checks were successful
Build ostree packages from sid to trixie / Build ostree packages (push) Successful in 9m23s
- Change from GET with query params to POST with proper authentication
- Use --user instead of Authorization header for better compatibility
- This should resolve the 404 page not found errors during upload
- Build was successful, just need to fix the upload step
2025-09-06 12:17:10 -07:00
153b6de939 Use proper Debian package building approach
All checks were successful
Build ostree packages from sid to trixie / Build ostree packages (push) Successful in 10m6s
- Replace manual package installation with 'apt build-dep -y .'
- Use 'debuild -b -us -uc' instead of dpkg-buildpackage
- Follow standard Debian package building workflow
- Much simpler and more reliable than manual dependency management
- This is the proper way to build Debian packages
2025-09-06 12:03:44 -07:00
2ed973b2cd Fix package names - use correct Debian package names
Some checks failed
Build ostree packages from sid to trixie / Build ostree packages (push) Failing after 2m51s
- Replace libzlib-dev with zlib1g-dev (correct Debian package name)
- Remove libxz-dev (doesn't exist, use liblzma-dev instead)
- Remove duplicate packages that were listed twice
- This should resolve the 'Unable to locate package' errors
2025-09-06 11:57:27 -07:00
f7b0c6c6d1 Fix build dependencies and dch issues
Some checks failed
Build ostree packages from sid to trixie / Build ostree packages (push) Failing after 2m20s
- Replace mk-build-deps and apt-get build-dep with specific package list
- Avoid installing full GNOME desktop and GUI packages
- Install only essential build dependencies for ostree
- Fix dch editor issues by setting environment variables and using echo y
- This should resolve the build failures and avoid unnecessary packages
2025-09-06 11:53:18 -07:00
86fce1e981 Fix step order - install git before checkout
Some checks failed
Build ostree packages from sid to trixie / Build ostree packages (push) Failing after 6m3s
- Move setup step before checkout step
- Install git and essential tools before trying to use git
- This should resolve the 'git: not found' error
- Proper order: setup environment -> checkout code -> build packages
2025-09-06 11:33:06 -07:00
b1e16e9542 Install git and essential tools in Debian container
Some checks failed
Build ostree packages from sid to trixie / Build ostree packages (push) Failing after 2s
- Add git to the essential tools installation step
- Debian:unstable container is minimal and doesn't include git by default
- Install git, curl, build-essential, fakeroot, devscripts in setup step
- This should resolve the 'git: not found' error in the checkout step
2025-09-06 11:32:22 -07:00
8352506f3b Use proper Debian container instead of mixing Ubuntu with Debian repos
Some checks failed
Build ostree packages from sid to trixie / Build ostree packages (push) Failing after 4s
- Switch to debian:unstable container to avoid Ubuntu/Debian mixing issues
- Remove sudo commands since we're running as root in container
- This should resolve the GPG key verification problems
- Proper Debian environment for building Debian packages
- Much cleaner approach than trying to add Debian repos to Ubuntu
2025-09-06 11:31:20 -07:00
61e89d04a7 Add back apt-cacher-ng support for faster builds
Some checks failed
Build ostree packages from sid to trixie / Build ostree packages (push) Failing after 12s
- Restore apt-cacher-ng detection and configuration like composefs CI
- Use proxy sources when apt-cacher-ng is available (192.168.1.101:3142)
- Fallback to standard Debian mirrors when apt-cacher-ng is not available
- This should resolve the GPG key verification issues
- Follows the same pattern as the working composefs CI
2025-09-06 11:29:59 -07:00
71f1e86f84 Remove unnecessary Docker container - use simple approach like composefs
Some checks failed
Build ostree packages from sid to trixie / Build ostree packages (push) Failing after 10s
- Remove Docker-in-Docker complexity that was causing build script issues
- Use direct approach on Ubuntu runner with Debian repositories
- Follow the same pattern as the working composefs CI
- Much simpler and more reliable - no container networking issues
- Just add Debian repos to Ubuntu runner and build directly
2025-09-06 11:25:27 -07:00
a6b65be912 Simplify CI to use Docker build approach
Some checks failed
Build ostree packages from sid to trixie / Build ostree packages (push) Failing after 2m30s
- Remove container from job definition to avoid network issues
- Use Docker-in-Docker approach with proper Debian unstable environment
- Create build script that runs inside Docker container
- This should resolve the 'forgejo hostname not found' issue
- Simpler and more reliable than trying to mix Ubuntu runner with Debian packages
2025-09-06 11:21:11 -07:00
26155427bf Switch to node:iron-trixie container for better GitHub Actions compatibility
Some checks failed
Build ostree packages from sid to trixie / Build ostree packages (push) Failing after 35s
- Use docker.io/node:iron-trixie instead of debian:unstable
- This provides Node.js support for GitHub Actions while using Debian Trixie base
- Should resolve the 'node: executable file not found' error
- Better compatibility with actions/checkout@v4 and other Node.js-based actions
2025-09-06 11:17:42 -07:00
378827971c Restructure CI to run directly on Forgejo runner without redundant Docker layer
Some checks failed
Build ostree packages from sid to trixie / Build ostree packages (push) Failing after 5s
- Remove custom Dockerfile as it's redundant with Forgejo runner containerization
- Use debian:unstable-slim container directly like apt-ostree CI
- Run all build steps directly on the runner for better visibility
- Follow Debian SimpleBackportCreation guidelines for proper backporting
- This should provide much better logging and debugging visibility
- Based on apt-ostree CI workflow as reference
2025-09-06 11:10:48 -07:00
4f3d9cb521 Fix build process to follow official Debian backporting guidelines
All checks were successful
Build ostree packages from sid to trixie / build (push) Successful in 3m25s
- Add dch --bpo to add backport revision number as per Debian guidelines
- Add fakeroot debian/rules binary test build before main build
- Use dpkg-buildpackage --build=binary --unsigned-changes as recommended
- This follows the SimpleBackportCreation workflow from Debian wiki
- Should finally produce proper .deb binary packages
2025-09-06 11:01:40 -07:00
65d5ef02da Fix CI workflow to use traditional sources.list format instead of .sources
All checks were successful
Build ostree packages from sid to trixie / build (push) Successful in 1m7s
- The .sources format was not being recognized by apt source command
- apt source ostree requires traditional sources.list format with deb-src lines
- This fixes the root cause of the build failure where apt source was failing silently
- Now both apt-cacher-ng and standard mirrors use sources.list format
2025-09-06 10:56:20 -07:00
1a99999039 Fix docker cp command to copy directory contents instead of creating subdirectory
All checks were successful
Build ostree packages from sid to trixie / build (push) Successful in 48s
- Changed 'docker cp CONTAINER_ID:/workspace/ .' to 'docker cp CONTAINER_ID:/workspace/. .'
- The trailing '.' copies the contents of /workspace/ directly to current directory
- This prevents creating a workspace/ subdirectory that breaks the upload step
- Should fix the issue where .deb files were in wrong location
2025-09-06 10:50:12 -07:00
3ca1c97b2d Fix CI workflow to use .sources format instead of sources.list
All checks were successful
Build ostree packages from sid to trixie / build (push) Successful in 59s
- The CI was overriding the Dockerfile's fixed sources configuration
- This was causing apt source ostree to fail silently
- Now both apt-cacher-ng and standard mirrors use .sources format
- This should finally allow the build to proceed to dpkg-buildpackage
2025-09-06 10:41:09 -07:00
ec77151587 Add find command to search for .deb files in all subdirectories
All checks were successful
Build ostree packages from sid to trixie / build (push) Successful in 1m6s
- This will help identify if .deb files are being created in unexpected locations
- Useful for debugging why only source packages are found
2025-09-06 10:15:10 -07:00
7a21dda165 Add comprehensive debugging to identify build failure
All checks were successful
Build ostree packages from sid to trixie / build (push) Successful in 56s
- Add debugging output to see what happens during apt source ostree
- Add error handling to catch if apt source fails
- This will help identify where the build is actually failing
2025-09-06 09:57:42 -07:00
db0ef6bf91 Fix binary package building with proper Debian method
All checks were successful
Build ostree packages from sid to trixie / build (push) Successful in 1m4s
- Use --build=source,binary instead of --build=any,all for dpkg-buildpackage
- Add apt-get build-dep -y . to install build dependencies properly
- This follows Debian best practices for building binary packages
2025-09-06 09:53:00 -07:00
93151efdec Force binary package building in CI workflow
Some checks failed
Build ostree packages from sid to trixie / build (push) Has been cancelled
- Add --build=any,all flag to dpkg-buildpackage to force binary package creation
- Install additional build tools (build-essential, fakeroot, devscripts)
- This should ensure .deb files are actually created instead of just source packages
2025-09-06 09:52:12 -07:00
f75745e90c Add comprehensive debugging to CI workflow
All checks were successful
Build ostree packages from sid to trixie / build (push) Successful in 50s
- Add verbose output to dpkg-buildpackage command
- Show debian/rules and debian/changelog contents
- Add more detailed error checking for build failures
- This will help identify why only source packages are being created
2025-09-06 09:47:38 -07:00
0224f0cbca Fix CI workflow grep command syntax
All checks were successful
Build ostree packages from sid to trixie / build (push) Successful in 1m0s
- Replace problematic grep -E with multiple simple grep commands
- This avoids shell interpretation issues with the pipe character in the pattern
- Each dependency is checked individually for better debugging
2025-09-06 09:41:43 -07:00
eac5d4783d Fix CI workflow syntax error
Some checks failed
Build ostree packages from sid to trixie / build (push) Failing after 4s
- Remove parentheses from grep -E pattern that was causing shell syntax error
- The pattern now uses simple alternation without grouping parentheses
2025-09-06 08:56:48 -07:00
5c4d5143dc Attempt to fix ci.yml #2
Some checks failed
Build ostree packages from sid to trixie / build (push) Failing after 6s
2025-09-06 08:50:21 -07:00
5c2922853a Attempt to fix ci.yml #1
All checks were successful
Build ostree packages from sid to trixie / build (push) Successful in 53s
2025-09-06 08:47:09 -07:00
a79a4f5797 first commit
All checks were successful
Build ostree packages from sid to trixie / build (push) Successful in 3m40s
2025-09-06 08:39:28 -07:00