diff --git a/images/virt-artifact/bazel-build-virtctl-amd64.sh b/images/virt-artifact/bazel-build-virtctl-amd64.sh deleted file mode 100755 index 3d0b7ffb03..0000000000 --- a/images/virt-artifact/bazel-build-virtctl-amd64.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash -# -# This file is part of the KubeVirt project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Copyright 2019 Red Hat, Inc. -# - -set -e - -source hack/common.sh -source hack/bootstrap.sh -source hack/config.sh - -echo "==== VARIABLES =======" -export -echo "=== END VARIABLES =======" - - -rm -rf ${CMD_OUT_DIR} -mkdir -p ${CMD_OUT_DIR}/virtctl - -# Build only for linux on AMD64 for now. -bazel run \ - :build-virtctl-amd64 -- ${CMD_OUT_DIR}/virtctl/virtctl-linux-amd64 diff --git a/images/virt-artifact/unpack-bundle.sh b/images/virt-artifact/unpack-bundle.sh deleted file mode 100755 index 1e78812011..0000000000 --- a/images/virt-artifact/unpack-bundle.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -# Copyright 2023 Flant JSC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -DIR=$1 - -cat "$DIR/manifest.json" | jq -r '.[].RepoTags[0]' | \ - while read image; do - (set -x; mkdir -p "$image") - cat "$DIR/manifest.json" | jq -r --arg tag "$image" '.[]| select(.RepoTags[0] == $tag).Layers[]' | \ - while read layer; do - (set -x; tar -C "$image" --overwrite --exclude='./var/run/*' -xf "$DIR/$layer" .) || true - done -done