Commit graph

7 commits

Author SHA1 Message Date
Florian Schüller
c408577b2d pre-commit: introduce make lint
Also make the linters part of the github actions.
2025-01-07 12:29:58 +00:00
Florian Schüller
2e4a8e194d Makefile: support building commit and version based tarball 2024-12-19 14:45:01 +00:00
Tomáš Hozza
9b737c1949 Makefile: use version instead of commit for archive filename
RPM tooling expects the source tarball to match the name of the
package, suffixed with the version in the SPEC file. Modify the Makefile
to comply with this expectation.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-12-19 14:45:01 +00:00
Florian Schüller
89fec6d5d0 Makefile: assure bundle info in spec file
The release artifact should contain the spec file including the
bundle information.
2024-12-19 14:45:01 +00:00
Tomáš Hozza
f1b09b91a9 Makefile/release_artifacts: print the archive path
Packit needs expects the archive path to be printed when specifying a
custom action to build the archive. See [0].

[0] https://packit.dev/docs/configuration/actions#create-archive

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-12-19 14:45:01 +00:00
Florian Schüller
50c79f154d Makefile: support for make release_artifacts
Supports to package `vendor/` directory
which is not part of the repository.
2024-12-19 14:45:01 +00:00
Simon de Vlieger
60c22e3214 package: spec file
Provide a spec file for `image-builder-cli`. The spec file is based on
`osbuild-composer`'s spec file except it is simplified as (some)
usecases would currently cloud the intent of the specfile. We can add
back RHEL conditionals when/if we start shipping and building for RHEL.

Some tools from `osbuild-composer` are also included; most notably the
one that generates bundled dependencies from vendored modules.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
2024-12-19 14:45:01 +00:00