Commit graph

8 commits

Author SHA1 Message Date
Simon de Vlieger
c1572905fe deps: update images
Update images to understand the `main` of `osbuild` that we integration
test against.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
2025-01-24 10:00:07 +00:00
Michael Vogt
78f62e21e2 go.mod: move to latest snapshot 2025-01-17 13:29:01 +00:00
Michael Vogt
6d9e91eb3c go.sum: update to latest images lib to get embeded repos 2025-01-09 16:17:50 +00:00
Michael Vogt
59e6ce298a go.mod: update to images@v0.108.0 2025-01-08 06:53:12 +00:00
dependabot[bot]
c45b5e978f build(deps): bump the go-deps group with 2 updates
Bumps the go-deps group with 2 updates: [github.com/osbuild/images](https://github.com/osbuild/images) and [github.com/stretchr/testify](https://github.com/stretchr/testify).


Updates `github.com/osbuild/images` from 0.98.0 to 0.106.0
- [Release notes](https://github.com/osbuild/images/releases)
- [Commits](https://github.com/osbuild/images/compare/v0.98.0...v0.106.0)

Updates `github.com/stretchr/testify` from 1.9.0 to 1.10.0
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/osbuild/images
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-20 05:21:56 +00:00
Michael Vogt
ea61ef593f pkg: add new manifestgen package
This commit adds a new generic `manifestgen` package that can be
used to generate osbuild manifests. It works on a higher level
then the low-level `manifest` package from `images` and provides
plugable resolvers and a streamlined API.

This package is meant to be moved to the `images` library eventually.
2024-12-16 07:54:45 +00:00
Florian Schüller
7f9936acc9 go.mod: upgrade golang.org/x/crypto
Upgrade golang.org/x/crypto due to
https://github.com/osbuild/image-builder-cli/security/dependabot/1
2024-12-12 18:48:50 +00:00
Michael Vogt
7a838332c8 main: initial version of image-builder with basic --list-images
This commit adds the new `image-builder` binary. This binary is
meant to build images from the CLI without the need to setup a
daemon. The main use-case is CI/CD and admins running this in
scripts or ad-hoc. The CLI should be pleasant to use.

This first commit adds the `list-images` command which is a thin
wrapper around functionality from the `osbuild/images` library.

It will list all buildable images by default and can be trimmed
down further via `--filter` which supports the filtering from
the `images` library, see https://github.com/osbuild/images/pull/1015

It also supports `--output` which will output the result in the
given format. Currently "text" and "json" are supported.

Note that this will not work on it's own yet, it will need an
installed image-builder to get the repositories. This will need
to get fixed via either:
1. a dependency package for `ibuilder` that carries all the repos
2. a shared repo that contains the repos
3. using go:embed to get them (see images#1038)
2024-11-28 09:53:08 +00:00