Commit graph

10 commits

Author SHA1 Message Date
Simon de Vlieger
cdf627389e ci: dependabot
As we've now vendored our dependencies let's enable dependabot in the
same way we use it in our other Go projects.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
2024-12-19 14:45:01 +00:00
Simon de Vlieger
38af61d633 ci: enable aarch64 container builds
Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
2024-12-19 14:26:40 +00:00
Michael Vogt
119e8fcffa workflow: run tests as part of the merge group
This commit adds the missing `merge_group` to the pytest and go
test workflows.

Note that I added `types: [ "checks_requested" ]` (just like we
have for the container.yaml) but I'm not actually sure about it,
the GH docs are a bit unclear to me here, it seems they suggest
to keep this generic but then the example explicitly uses `type`
(I'm probably overthinking this fwiw).

[1] https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#merge_group
2024-12-19 12:08:08 +00:00
Michael Vogt
f631a16976 workflow: rename all .yml files to .yaml
The original `go.yml` got added via some GH automation. But we
are not MSDOS and we can affort more than 3 chars for a file
extension - so this commit renames all .yml to .yaml which is
what we use everywhere else.
2024-12-19 11:32:37 +00:00
Michael Vogt
cc4a730381 github: add new pytest based integration test run workflow
This commit adds a new workflow that runs the new `pytest` based
integration tests inside GH actions. It also extracts a common
`testdeps.yml` reusable workflow so that we do not duplicate the
package list of test dependencies.
2024-12-19 08:49:26 +00:00
Michael Vogt
e7d8a39fcf test: add minimal test for container based building of images
This commit adds a smoke test that builds the ibcli container
and runs a fedora-41 raw-minimal build to double check that
the container based building actually works.

Thanks to Ondrej for suggesting this.
2024-12-19 08:49:26 +00:00
Simon de Vlieger
fad02336b3 ci: build container
Automatically build the container for `image-builder-cli` and upload it
to `ghcr.io`. This builds only for x86 initially.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
2024-12-19 08:49:26 +00:00
Michael Vogt
8ae5b98d9d HACKING.md: add basic documentation for the development
This commit adds a basic HACKING.md that explains the bare mimimum
to get started, including `go test -short` to skip the expensive
tests.

Contains also a drive-by rename of the test dependency install
for the GH action.
2024-12-16 07:54:45 +00:00
Michael Vogt
56f9c6969c workflow: update to work with the images dependencies
This commit updates the GH workflow file to install the required
dependencies to build the images library.
2024-11-28 09:53:08 +00:00
Michael Vogt
12d60a9c74
workflow: add trivial go workflow based on default template 2024-11-18 10:26:22 +01:00