-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: address various points after review
- Allow "--clear-state" flag only on debug builds. - Remove the `baremetal.MachineStatus` resources when an `infra.Machine` is being torn down, so that these resources do not accumulate. - Build Omni join config using machinery, not template. - Various renames and small refactorings. - Change the way we persist the logs on integration tests. - Ensure that we tear down the spawned QEMU machines at the end of integration tests. - Reuse the machine ID header key by importing it from the agent repo. - Disable building images of `qemu-up` binary. - Bump Go, deps and rekres. Signed-off-by: Utku Ozdemir <[email protected]>
- Loading branch information
1 parent
f2ce7d1
commit f066e4d
Showing
21 changed files
with
308 additions
and
269 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,21 @@ | ||
# syntax = docker/dockerfile-upstream:1.11.1-labs | ||
# syntax = docker/dockerfile-upstream:1.12.0-labs | ||
|
||
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. | ||
# | ||
# Generated on 2024-12-05T10:44:40Z by kres 232fe63. | ||
# Generated on 2024-12-06T12:07:03Z by kres 1ebe796. | ||
|
||
ARG TOOLCHAIN | ||
|
||
FROM ghcr.io/siderolabs/talosctl:v1.9.0-alpha.3 AS base-image-provider | ||
FROM ghcr.io/siderolabs/ca-certificates:v1.9.0 AS image-ca-certificates | ||
|
||
FROM ghcr.io/siderolabs/talosctl:v1.9.0-alpha.3 AS base-image-qemu-up | ||
|
||
FROM ghcr.io/siderolabs/ca-certificates:v1.8.0 AS image-ca-certificates | ||
|
||
FROM ghcr.io/siderolabs/fhs:v1.8.0 AS image-fhs | ||
FROM ghcr.io/siderolabs/fhs:v1.9.0 AS image-fhs | ||
|
||
FROM --platform=linux/amd64 ghcr.io/siderolabs/ipxe:v1.8.0-16-g71d23b4 AS ipxe-linux-amd64 | ||
|
||
FROM --platform=linux/arm64 ghcr.io/siderolabs/ipxe:v1.8.0-16-g71d23b4 AS ipxe-linux-arm64 | ||
|
||
# runs markdownlint | ||
FROM docker.io/oven/bun:1.1.36-alpine AS lint-markdown | ||
FROM docker.io/oven/bun:1.1.38-alpine AS lint-markdown | ||
WORKDIR /src | ||
RUN bun i [email protected] [email protected] | ||
COPY .markdownlint.json . | ||
|
@@ -217,7 +213,7 @@ FROM scratch AS qemu-up-all | |
COPY --from=qemu-up-linux-amd64 / / | ||
COPY --from=qemu-up-linux-arm64 / / | ||
|
||
FROM base-image-provider AS image-provider | ||
FROM scratch AS image-provider | ||
ARG TARGETARCH | ||
COPY --from=provider provider-linux-${TARGETARCH} /provider | ||
COPY --from=image-fhs / / | ||
|
@@ -233,11 +229,3 @@ COPY --from=ghcr.io/siderolabs/talos-metal-agent-boot-assets:v1.9.0-alpha.3-agen | |
LABEL org.opencontainers.image.source=https://github.com/siderolabs/omni-infra-provider-bare-metal | ||
ENTRYPOINT ["/provider"] | ||
|
||
FROM base-image-qemu-up AS image-qemu-up | ||
ARG TARGETARCH | ||
COPY --from=qemu-up qemu-up-linux-${TARGETARCH} /qemu-up | ||
COPY --from=image-fhs / / | ||
COPY --from=image-ca-certificates / / | ||
LABEL org.opencontainers.image.source=https://github.com/siderolabs/omni-infra-provider-bare-metal | ||
ENTRYPOINT ["/qemu-up"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.