Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use fpm for debs and export build artifact #79

Merged
merged 2 commits into from
Jul 4, 2024
Merged

Commits on Jul 4, 2024

  1. Switch to using fpm for Debian package builds

    - Simplify the structure of the directories since we map included files
      in the fpm invocation
    - Remove the DEBIAN directories and move control file values to fpm
      parameters in per-package build scripts
    - Add VERSION files to each build directory as a simple way to update
      the version number manually or with automation
    - Separate each package build to its own stage in order to normalize
      them and be able to target them individually for release
    - Simplify the structure within the build containers to cut down on
      noise in the Dockerfile and use simple, conventional paths
    - Add aggregation stage for collecting all packages from /debs/out
    botimer committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    68afdee View commit details
    Browse the repository at this point in the history
  2. Export build artifacts for .deb packages

    This uses shrink/actions-docker-extract and actions/upload-artifact to
    take the completed .deb and .changes files out of a container that has
    terminated, then upload them as a build artifact. This artifact is a
    single zip file. We expect to eventually send a (GitHub) repository
    event to apt-lib, which will trigger a workflow there to download the
    build artifact, place the files in the appropriate incoming area, and
    refresh the (APT) repository.
    botimer committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    73b3833 View commit details
    Browse the repository at this point in the history