From 4ca4685c838b57e449b611c7d519a47049754711 Mon Sep 17 00:00:00 2001 From: yzewei Date: Tue, 24 Dec 2024 10:29:44 +0800 Subject: [PATCH] add kubevirt/virt-operator:0.50.0 Signed-off-by: yzewei --- kubevirt/cdi-controller/1.52.0/Makefile | 2 +- kubevirt/cdi-uploadserver/1.52.0/Makefile | 2 +- kubevirt/virt-controller/0.50.0/Makefile | 2 +- kubevirt/virt-controller/0.55.0/Makefile | 2 +- kubevirt/virt-controller/0.56.0/Makefile | 2 +- kubevirt/virt-controller/0.58.0/Makefile | 2 +- kubevirt/virt-operator/0.50.0/Dockerfile | 13 ++++++++++ kubevirt/virt-operator/0.50.0/Makefile | 29 +++++++++++++++++++++++ 8 files changed, 48 insertions(+), 6 deletions(-) create mode 100644 kubevirt/virt-operator/0.50.0/Dockerfile create mode 100644 kubevirt/virt-operator/0.50.0/Makefile diff --git a/kubevirt/cdi-controller/1.52.0/Makefile b/kubevirt/cdi-controller/1.52.0/Makefile index d0cb34f..460b431 100644 --- a/kubevirt/cdi-controller/1.52.0/Makefile +++ b/kubevirt/cdi-controller/1.52.0/Makefile @@ -12,7 +12,7 @@ LATEST_IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):latest default: image download: - wget http://cloud.loongnix.xa/releases/loongarch64/kubevirt/cdi-controller/1.52.0/cdi-controller + wget http://cloud.loongnix.cn/releases/loongarch64/kubevirt/cdi-controller/1.52.0/cdi-controller chmod +x cdi-controller image: download diff --git a/kubevirt/cdi-uploadserver/1.52.0/Makefile b/kubevirt/cdi-uploadserver/1.52.0/Makefile index d8d526d..683893c 100644 --- a/kubevirt/cdi-uploadserver/1.52.0/Makefile +++ b/kubevirt/cdi-uploadserver/1.52.0/Makefile @@ -12,7 +12,7 @@ LATEST_IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):latest default: image download: clean - unset http_proxy && wget http://cloud.loongnix.xa/releases/loongarch64/kubevirt/cdi-uploadserver/1.52.0/cdi-uploadserver + unset http_proxy && wget http://cloud.loongnix.cn/releases/loongarch64/kubevirt/cdi-uploadserver/1.52.0/cdi-uploadserver chmod +x cdi-uploadserver image: download diff --git a/kubevirt/virt-controller/0.50.0/Makefile b/kubevirt/virt-controller/0.50.0/Makefile index 2313f4a..788cb15 100644 --- a/kubevirt/virt-controller/0.50.0/Makefile +++ b/kubevirt/virt-controller/0.50.0/Makefile @@ -11,7 +11,7 @@ IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):$(TAG) default: image download: - wget "http://cloud.loongnix.xa/releases/loongarch64/kubevirt/virt-controller/0.50.0/virt-controller" + wget "http://cloud.loongnix.cn/releases/loongarch64/kubevirt/virt-controller/0.50.0/virt-controller" chmod +x virt-controller image: download diff --git a/kubevirt/virt-controller/0.55.0/Makefile b/kubevirt/virt-controller/0.55.0/Makefile index a9cb4b5..9774f04 100644 --- a/kubevirt/virt-controller/0.55.0/Makefile +++ b/kubevirt/virt-controller/0.55.0/Makefile @@ -11,7 +11,7 @@ IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):$(TAG) default: image download: - wget "http://cloud.loongnix.xa/releases/loongarch64/kubevirt/virt-controller/0.55.0/virt-controller" + wget "http://cloud.loongnix.cn/releases/loongarch64/kubevirt/virt-controller/0.55.0/virt-controller" chmod +x virt-controller image: download diff --git a/kubevirt/virt-controller/0.56.0/Makefile b/kubevirt/virt-controller/0.56.0/Makefile index fd97933..3cc461f 100644 --- a/kubevirt/virt-controller/0.56.0/Makefile +++ b/kubevirt/virt-controller/0.56.0/Makefile @@ -8,7 +8,7 @@ LATEST?=true IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):$(TAG) LATEST_IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):latest -DOWNLOAD_URL=http://cloud.loongnix.xa/releases/loongarch64/kubevirt/virt-controller/0.50.0/virt-controller +DOWNLOAD_URL=http://cloud.loongnix.cn/releases/loongarch64/kubevirt/virt-controller/0.50.0/virt-controller default: image download: diff --git a/kubevirt/virt-controller/0.58.0/Makefile b/kubevirt/virt-controller/0.58.0/Makefile index 66dec7a..57bc3f7 100644 --- a/kubevirt/virt-controller/0.58.0/Makefile +++ b/kubevirt/virt-controller/0.58.0/Makefile @@ -8,7 +8,7 @@ LATEST?=false IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):$(TAG) LATEST_IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):latest -DOWNLOAD_URL=http://cloud.loongnix.xa/releases/loongarch64/kubevirt/virt-controller/0.58.0/virt-controller +DOWNLOAD_URL=http://cloud.loongnix.cn/releases/loongarch64/kubevirt/virt-controller/0.58.0/virt-controller default: image download: diff --git a/kubevirt/virt-operator/0.50.0/Dockerfile b/kubevirt/virt-operator/0.50.0/Dockerfile new file mode 100644 index 0000000..6256ee1 --- /dev/null +++ b/kubevirt/virt-operator/0.50.0/Dockerfile @@ -0,0 +1,13 @@ +FROM lcr.loongnix.cn/kubevirt/passwd:0.50.0 + +LABEL maintainer="wangweijie@loongson.cn" + +COPY .version / + +COPY ./virt-operator /usr/bin/ + +COPY ./csv-generator /usr/bin/ + +USER 1001 + +ENTRYPOINT ["/usr/bin/virt-operator"] diff --git a/kubevirt/virt-operator/0.50.0/Makefile b/kubevirt/virt-operator/0.50.0/Makefile new file mode 100644 index 0000000..13f2673 --- /dev/null +++ b/kubevirt/virt-operator/0.50.0/Makefile @@ -0,0 +1,29 @@ +# This file is generated by the template. + +REGISTRY?=lcr.loongnix.cn +ORGANIZATION?=kubevirt +REPOSITORY?=virt-operator +TAG?=0.50.0 + +IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):$(TAG) + + +default: image + +download: + wget "http://cloud.loongnix.cn/releases/loongarch64/kubevirt/virt-operator/0.50.0/virt-operator" + wget "http://cloud.loongnix.cn/releases/loongarch64/kubevirt/csv-generator/0.50.0/csv-generator" + chmod +x virt-operator + chmod +x csv-generator + +image: download + docker build \ + -t $(IMAGE) \ + . + +push: + docker push $(IMAGE) + +clean: + rm -f virt-operator \ + csv-generator