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

Add virt-operator 0.58.0 #68

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions kubevirt/virt-operator/0.58.0/.version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v0.58.0-dirty
13 changes: 13 additions & 0 deletions kubevirt/virt-operator/0.58.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM lcr.loongnix.cn/kubevirt/passwd:server

LABEL maintainer="[email protected]"

COPY .version /.version

COPY ./virt-operator /usr/bin/

COPY ./csv-generator /usr/bin/

USER 1001

ENTRYPOINT ["/usr/bin/virt-operator"]
31 changes: 31 additions & 0 deletions kubevirt/virt-operator/0.58.0/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This file is generated by the template.

REGISTRY?=lcr.loongnix.cn
ORGANIZATION?=kubevirt
REPOSITORY?=virt-operator
TAG?=0.58.0
LATEST?=false

IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):$(TAG)
LATEST_IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):latest

default: image

download:
no_proxy=cloud.loongnix.cn wget -O csv-generator http://cloud.loongnix.cn/releases/loongarch64/kubevirt/kubevirt/0.58.0/openeuler-22.03/csv-generator
no_proxy=cloud.loongnix.cn wget -O virt-operator http://cloud.loongnix.cn/releases/loongarch64/kubevirt/kubevirt/0.58.0/openeuler-22.03/virt-operator-v0.58.0-linux-loong64
chmod +x csv-generator virt-operator

image: download
docker build \
-t $(IMAGE) \
.

push:
docker push $(IMAGE)
#latest image
@if [ $(LATEST) = "true" ]; \
then \
docker tag $(IMAGE) $(LATEST_IMAGE); \
docker push $(LATEST_IMAGE); \
fi