-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge develop into master 1.10.0 (#551)
- Loading branch information
Arbel Nathan
authored
Jul 26, 2022
1 parent
6179f7e
commit 2656501
Showing
166 changed files
with
5,956 additions
and
2,437 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,5 @@ | |
/bin/ | ||
node/mocks | ||
build/reports | ||
/.run/ | ||
docs/.vscode/settings.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
FROM registry.access.redhat.com/ubi8/python-38:1-75.1638364053 as builder | ||
|
||
USER root | ||
RUN if [[ "$(uname -m)" != "x86"* ]]; then yum install -y rust-toolset; fi | ||
USER default | ||
ENV PIP_DISABLE_PIP_VERSION_CHECK=1 | ||
RUN pip3 install --ignore-installed --default-timeout=100 --upgrade pip==21.2.4 | ||
WORKDIR /tmp | ||
COPY controllers/servers/csi/requirements.txt ./csi_requirements.txt | ||
COPY controllers/servers/host_definer/requirements.txt ./host_definer_requirements.txt | ||
# avoid default- boringssl lib, since it does not support z systems | ||
ENV GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=True | ||
RUN pip3 install -r ./csi_requirements.txt -r ./host_definer_requirements.txt | ||
|
||
USER root | ||
COPY controllers/scripts/csi_general . | ||
RUN ./csi_pb2.sh | ||
RUN pip3 install . | ||
|
||
FROM registry.access.redhat.com/ubi8/python-38:1-100 | ||
|
||
ARG VERSION=1.10.0 | ||
ARG BUILD_NUMBER=0 | ||
|
||
###Required Labels | ||
LABEL name="IBM block storage CSI driver host definer" \ | ||
vendor="IBM" \ | ||
maintainer="IBM Storage" \ | ||
version=$VERSION \ | ||
release=$BUILD_NUMBER \ | ||
summary="The host definer defines Kubernetes nodes on IBM block storage" \ | ||
description="The host definer defines container orchestrators, such as Kubernetes and OpenShift, nodes on IBM block storage." \ | ||
io.k8s.display-name="IBM block storage CSI driver host definer" \ | ||
io.k8s.description="The host definer defines container orchestrators, such as Kubernetes and OpenShift, nodes on IBM block storage." \ | ||
io.openshift.tags=ibm,csi,ibm-block-csi-driver,host-definer | ||
|
||
COPY --from=builder /opt/app-root /opt/app-root | ||
COPY ./common /driver/common | ||
COPY ./controllers/ /driver/controllers/ | ||
COPY ./LICENSE /licenses/ | ||
COPY ./NOTICES /licenses/ | ||
|
||
WORKDIR /driver/controllers/servers/host_definer/ | ||
ENV PYTHONPATH=/driver | ||
|
||
CMD ["python3", "/driver/controllers/servers/host_definer/main.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.