File tree Expand file tree Collapse file tree 9 files changed +123
-24
lines changed Expand file tree Collapse file tree 9 files changed +123
-24
lines changed Original file line number Diff line number Diff line change 30
30
name : Build Docker image
31
31
command : |
32
32
. venv/bin/activate
33
- cd source
34
33
docker build -t bridge_image:latest .
35
34
36
35
Original file line number Diff line number Diff line change 1
- FROM registry.access.redhat.com/ubi8/ubi
1
+ FROM registry.access.redhat.com/ubi8/ubi:8.4-206
2
2
3
- RUN yum install -y python36 python36-devel
3
+ COPY ./requirements/requirements_ubi8.txt /root/requirements_ubi8.txt
4
4
5
+ RUN yum install -y python36 python36-devel
5
6
RUN /usr/bin/pip3 install --upgrade pip
6
- RUN /usr/bin/pip3 install setuptools
7
- RUN /usr/bin/pip3 install cherrypy
8
- RUN /usr/bin/pip3 install urllib3
9
- RUN /usr/bin/pip3 install requests
10
7
8
+ RUN /usr/bin/pip3 install -r /root/requirements_ubi8.txt
11
9
RUN echo "Installed python version: $(/usr/bin/python3 -V)"
12
10
RUN echo "Installed python packages: $(/usr/bin/pip3 list)"
13
11
14
12
USER root
15
13
16
14
RUN mkdir -p /opt/IBM/bridge
17
- ADD . /opt/IBM/bridge
18
-
15
+ COPY ./source/ /opt/IBM/bridge
16
+ COPY LICENSE /opt/IBM/bridge
19
17
20
18
RUN mkdir -p /var/mmfs/gen
21
19
RUN mkdir -p /opt/IBM/zimon
22
- COPY ./gpfsConfig/mmsdrfs* /var/mmfs/gen/
23
- COPY ./gpfsConfig/ZIMon* /opt/IBM/zimon/
24
-
20
+ COPY ./source/gpfsConfig/mmsdrfs* /var/mmfs/gen/
21
+ COPY ./source/gpfsConfig/ZIMon* /opt/IBM/zimon/
25
22
26
23
ARG HTTPPROTOCOL=http
27
24
ENV PROTOCOL=$HTTPPROTOCOL
Original file line number Diff line number Diff line change
1
+ # Version 7.0.3 (08/13/2021)
2
+ Changed the Dockerfile parent image to the registry.access.redhat.com/ubi8/ubi:8.4-206
3
+ Added requirements_ubi8.txt file including the python versions packages needed to be installed to run the bridge in an OpenShift production environment, on top of the redhat UBI8 image
4
+
5
+ Tested with Grafana version 7.5.1 and 8.0.3
6
+ Tested with RedHat community-powered Grafana operator v.3.10.3
7
+
8
+
9
+
1
10
# Version 7.0.2 (08/02/2021)
2
11
Changed the Dockerfile parent image to the registry.access.redhat.com/ubi8/ubi
3
12
Changed the sleep time = 60 seconds for re-attempting to get the MetaData from the pmcollector in case no data have been returned during the bridge start instead of stopping the process directly
4
13
5
14
Tested with Grafana version 7.5.1 and 8.0.3
15
+ Tested with RedHat community-powered Grafana operator v.3.10.3
6
16
7
17
8
18
Original file line number Diff line number Diff line change 1
1
The following matrix gives a quick overview of the supported software for the IBM Spectrum Scale bridge for Grafana packages by version number:
2
+ # Version 7.0.3 (08/13/2021)
3
+ - Python 3.6
4
+ - CherryPy 18.6.1
5
+ - IBM Spectrum Scale system must run 5.1.1 and above or
6
+ - IBM Spectrum Scale Container Native Storage Access(CNSA) devices having minReleaseLevel 5.1.1.1
7
+ - Grafana 8.0.0 and above
8
+
2
9
# Version 7.0.2 (08/02/2021)
3
10
- Python 3.6
4
11
- CherryPy 18.6.1
Original file line number Diff line number Diff line change 1
- nose
2
- pytest
3
- coverage
4
- coveralls
5
- PyYAML
6
- github3.py
7
- flake8
8
- six
9
- cherrypy
10
- requests
11
- urllib3
1
+ #nose
2
+ #pytest
3
+ #coverage
4
+ #coveralls
5
+ #PyYAML
6
+ #github3.py
7
+ #flake8
8
+ #six
9
+ #cherrypy
10
+ #requests
11
+ #urllib3
12
+ -r requirements/requirements_test.in
13
+ -r requirements/requirements_ubi8.in
Original file line number Diff line number Diff line change
1
+ # This file is used for generating python requirements list "requirements_test.txt".
2
+ # It includes the additional packages needed to be installed to run nose/pytests for
3
+ # the IBM Spectrum Scale Performance Monitoring bridge for Grafana using CI/CD circleci workflows.
4
+ #
5
+ # To update, run:
6
+ #
7
+ # $ pip-compile requirements_test.in --output-file requirements_test.txt
8
+ #
9
+ nose
10
+ pytest
11
+ coverage
12
+ coveralls
13
+ PyYAML
14
+ github3.py
15
+ flake8
16
+ six
Original file line number Diff line number Diff line change
1
+ # This file is used for generating python requirements list "requirements_ubi8.txt".
2
+ # It includes the packages needed to be installed to run the IBM Spectrum Scale Performance Monitoring bridge for Grafana
3
+ # in an OpenShift production environment, on top of the redhat UBI8 image.
4
+ #
5
+ # To update, run:
6
+ #
7
+ # $ pip-compile requirements_ubi8.in --output-file requirements_ubi8.txt
8
+ #
9
+ setuptools
10
+ cherrypy
11
+ urllib3
12
+ requests
Original file line number Diff line number Diff line change
1
+ #
2
+ # This file is autogenerated by pip-compile with python 3.6
3
+ # To update, run:
4
+ #
5
+ # pip-compile requirements_ubi8.in --output-file=requirements_ubi8.txt
6
+ #
7
+ certifi==2021.5.30
8
+ # via requests
9
+ charset-normalizer==2.0.4
10
+ # via requests
11
+ cheroot==8.5.2
12
+ # via cherrypy
13
+ cherrypy==18.6.1
14
+ # via -r /root/requirements_ubi8.in
15
+ idna==3.2
16
+ # via requests
17
+ importlib-resources==5.2.2
18
+ # via jaraco.text
19
+ jaraco.classes==3.2.1
20
+ # via jaraco.collections
21
+ jaraco.collections==3.4.0
22
+ # via cherrypy
23
+ jaraco.functools==3.3.0
24
+ # via
25
+ # cheroot
26
+ # jaraco.text
27
+ # tempora
28
+ jaraco.text==3.5.1
29
+ # via jaraco.collections
30
+ more-itertools==8.8.0
31
+ # via
32
+ # cheroot
33
+ # cherrypy
34
+ # jaraco.classes
35
+ # jaraco.functools
36
+ portend==2.7.1
37
+ # via cherrypy
38
+ pytz==2021.1
39
+ # via tempora
40
+ requests==2.26.0
41
+ # via -r /root/requirements_ubi8.in
42
+ six==1.16.0
43
+ # via cheroot
44
+ tempora==4.1.1
45
+ # via portend
46
+ urllib3==1.26.6
47
+ # via
48
+ # -r /root/requirements_ubi8.in
49
+ # requests
50
+ zc.lockfile==2.0
51
+ # via cherrypy
52
+ zipp==3.5.0
53
+ # via importlib-resources
54
+
55
+ # The following packages are considered to be unsafe in a requirements file:
56
+ # setuptools
Original file line number Diff line number Diff line change 20
20
@author: HWASSMAN
21
21
'''
22
22
23
- __version__ = '7.0.2 '
23
+ __version__ = '7.0.3 '
You can’t perform that action at this time.
0 commit comments