Remove Intel plugin image builder scripts from distroless dir
In this commit, we are removing intel plugin docker image creation scripts from distroless directory. Path: https://github.com/starlingx/integ/tree/master/kubernetes/plugins/intel-device-plugin/distroless Now,intel released pre-built image is used for intel QAT and GPU plugins from docker hub. https://hub.docker.com/r/intel/intel-gpu-plugin/tags TEST PLAN: PASS: build and bootstap is successful. Story: 2010604 Task: 47855 Signed-off-by: Md Irshad Sheikh <mdirshad.sheikh@windriver.com> Change-Id: I0546213ef5c69cfbe291a0ead0857371e35fd805
This commit is contained in:
parent
2648b6fddc
commit
25b4dd350f
@ -1,2 +1,2 @@
|
|||||||
kubernetes/armada
|
kubernetes/armada
|
||||||
kubernetes/plugins/intel-device-plugin
|
#kubernetes/plugins/intel-device-plugin
|
||||||
|
@ -1,43 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
################################################################################
|
|
||||||
# Copyright (c) 2019 Wind River Systems, Inc.
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
DEVICE=$1
|
|
||||||
IMAGE_TAG=$2
|
|
||||||
|
|
||||||
if [ -z "${IMAGE_TAG}" ]; then
|
|
||||||
echo "image tag must be specified. build ${DEVICE} Aborting..." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# https://bugs.launchpad.net/starlingx/+bug/1927153
|
|
||||||
# https://bugs.launchpad.net/starlingx/+bug/1939448
|
|
||||||
# pin clearlinux/golang to the last known working tag
|
|
||||||
CLEAR_LINUX_BASE=clearlinux/golang:1.15.10
|
|
||||||
CLEAR_LINUX_VERSION=34900
|
|
||||||
|
|
||||||
sed -i -r \
|
|
||||||
-e 's!^(\s*ARG\s+CLEAR_LINUX_BASE\s*=\s*).*!\1'$CLEAR_LINUX_BASE'!' \
|
|
||||||
-e 's!^(\s*ARG\s+CLEAR_LINUX_VERSION\s*=\s*).*!\1--version='$CLEAR_LINUX_VERSION'!' \
|
|
||||||
build/docker/${DEVICE}.Dockerfile || exit 1
|
|
||||||
|
|
||||||
make ${DEVICE}
|
|
||||||
|
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
echo "Failed to make ${DEVICE}. Aborting..." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
RETVAL=0
|
|
||||||
docker tag intel/${DEVICE}:devel "${IMAGE_TAG}"
|
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
echo "Failed to tag ${DEVICE} with ${IMAGE_TAG}. Aborting..." >&2
|
|
||||||
RETVAL=1
|
|
||||||
fi
|
|
||||||
|
|
||||||
docker rmi intel/${DEVICE}:devel
|
|
||||||
exit ${RETVAL}
|
|
@ -1,7 +0,0 @@
|
|||||||
BUILDER=script
|
|
||||||
LABEL=intel-fpga-admissionwebhook
|
|
||||||
SOURCE_REPO=https://github.com/intel/intel-device-plugins-for-kubernetes.git
|
|
||||||
SOURCE_REF=4f28657b6b4a37a7ed2e8398808c150eb4f1bdd1
|
|
||||||
COMMAND=bash
|
|
||||||
SCRIPT=build-intel-device-plugins-image.sh
|
|
||||||
ARGS=intel-fpga-admissionwebhook
|
|
@ -1,7 +0,0 @@
|
|||||||
BUILDER=script
|
|
||||||
LABEL=intel-fpga-initcontainer
|
|
||||||
SOURCE_REPO=https://github.com/intel/intel-device-plugins-for-kubernetes.git
|
|
||||||
SOURCE_REF=4f28657b6b4a37a7ed2e8398808c150eb4f1bdd1
|
|
||||||
COMMAND=bash
|
|
||||||
SCRIPT=build-intel-device-plugins-image.sh
|
|
||||||
ARGS=intel-fpga-initcontainer
|
|
@ -1,7 +0,0 @@
|
|||||||
BUILDER=script
|
|
||||||
LABEL=intel-fpga-plugin
|
|
||||||
SOURCE_REPO=https://github.com/intel/intel-device-plugins-for-kubernetes.git
|
|
||||||
SOURCE_REF=4f28657b6b4a37a7ed2e8398808c150eb4f1bdd1
|
|
||||||
COMMAND=bash
|
|
||||||
SCRIPT=build-intel-device-plugins-image.sh
|
|
||||||
ARGS=intel-fpga-plugin
|
|
@ -1,7 +0,0 @@
|
|||||||
BUILDER=script
|
|
||||||
LABEL=intel-gpu-plugin
|
|
||||||
SOURCE_REPO=https://github.com/intel/intel-device-plugins-for-kubernetes.git
|
|
||||||
SOURCE_REF=4f28657b6b4a37a7ed2e8398808c150eb4f1bdd1
|
|
||||||
COMMAND=bash
|
|
||||||
SCRIPT=build-intel-device-plugins-image.sh
|
|
||||||
ARGS=intel-gpu-plugin
|
|
@ -1,7 +0,0 @@
|
|||||||
BUILDER=script
|
|
||||||
LABEL=intel-qat-plugin
|
|
||||||
SOURCE_REPO=https://github.com/intel/intel-device-plugins-for-kubernetes.git
|
|
||||||
SOURCE_REF=c48c502d002ee5e03bbd8fa02884730da3cdff11
|
|
||||||
COMMAND=bash
|
|
||||||
SCRIPT=build-intel-device-plugins-image.sh
|
|
||||||
ARGS=intel-qat-plugin
|
|
Loading…
Reference in New Issue
Block a user