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

Conversation

botimer
Copy link
Member

@botimer botimer commented Jul 4, 2024

No description provided.

botimer added 2 commits July 3, 2024 21:52
- 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
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 botimer merged commit 1fc9f99 into main Jul 4, 2024
4 checks passed
@botimer botimer deleted the use-fpm-for-debs branch July 4, 2024 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant