From 1f20fda5b1ecbe08679a0c1bc82bacbeaf390698 Mon Sep 17 00:00:00 2001 From: Felix Matouschek Date: Mon, 25 Mar 2024 12:14:53 +0100 Subject: [PATCH] cleanup: Drop labels from containerdisks Since ENV variables were chosen as the way forward to decorate containerdisks with appropriate default instancetypes and preferences the labels are dropped from the built containerdisks. Signed-off-by: Felix Matouschek --- artifacts/centos/centos.go | 24 ++++++------ artifacts/centos/centos_test.go | 39 ++++++++++---------- artifacts/centosstream/centos-stream.go | 34 ++++++++--------- artifacts/centosstream/centos-stream_test.go | 27 +++++++------- artifacts/fedora/fedora.go | 30 +++++++-------- artifacts/fedora/fedora_test.go | 39 ++++++++++---------- artifacts/ubuntu/ubuntu.go | 26 ++++++------- artifacts/ubuntu/ubuntu_test.go | 17 ++++----- cmd/medius/common/registry.go | 20 +++++----- cmd/medius/images/push.go | 2 +- pkg/api/artifact.go | 6 +-- pkg/build/build.go | 13 ++----- pkg/common/common.go | 6 +++ 13 files changed, 139 insertions(+), 144 deletions(-) create mode 100644 pkg/common/common.go diff --git a/artifacts/centos/centos.go b/artifacts/centos/centos.go index d13bcdb1..f6f45020 100644 --- a/artifacts/centos/centos.go +++ b/artifacts/centos/centos.go @@ -22,11 +22,11 @@ const description = `