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

CI Fixes #79

Merged
merged 6 commits into from
May 21, 2024
Merged

CI Fixes #79

merged 6 commits into from
May 21, 2024

Conversation

k9withabone
Copy link
Member

@k9withabone k9withabone commented May 20, 2024

A minor fix for the release-container CI. Changed the build-container CI job to hopefully catch any similar issues in the future.

Added a build job to the CI to ensure Podlet builds on all supported platforms: Linux, Windows, and macOS.

Minor fix in Cli::file_path() for non-Unix platforms (i.e. Windows).

I'll merge this and publish Podlet v0.3.0 tomorrow unless someone raises an objection.

Args are split on commas for `buildah manifest create --annotation`
unless they are quoted.

Signed-off-by: Paul Nettleton <k9@k9withabone.dev>
Signed-off-by: Paul Nettleton <k9@k9withabone.dev>
Makes the `build-container` job more similar to the `release-container`
workflow.

Signed-off-by: Paul Nettleton <k9@k9withabone.dev>
The `build` job ensures that Podlet can be built for all supported
platforms, Linux, Windows, and macOS.

Signed-off-by: Paul Nettleton <k9@k9withabone.dev>
In `Cli::file_path()`, `color_eyre::eyre::bail!()` is used to return an
error on non-Unix platforms if the `podlet --unit-directory` option is
used. The `eyre` import was removed, so this resulted in a compiler
error before.

Signed-off-by: Paul Nettleton <k9@k9withabone.dev>
Signed-off-by: Paul Nettleton <k9@k9withabone.dev>
@k9withabone k9withabone added this to the v0.3.0 milestone May 20, 2024
@k9withabone k9withabone marked this pull request as ready for review May 20, 2024 22:12
@k9withabone k9withabone merged commit 06825f7 into main May 21, 2024
13 checks passed
@k9withabone k9withabone deleted the v0.3.0-fixes branch May 21, 2024 19:17
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