Skip to content

Commit f62204c

Browse files
authored
Merge pull request #44 from Helene/v7.0.3
prepare release version 7.0.3
2 parents 24412e3 + 90c3f5f commit f62204c

File tree

9 files changed

+123
-24
lines changed

9 files changed

+123
-24
lines changed

.circleci/config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
name: Build Docker image
3131
command: |
3232
. venv/bin/activate
33-
cd source
3433
docker build -t bridge_image:latest .
3534
3635

source/Dockerfile renamed to Dockerfile

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,24 @@
1-
FROM registry.access.redhat.com/ubi8/ubi
1+
FROM registry.access.redhat.com/ubi8/ubi:8.4-206
22

3-
RUN yum install -y python36 python36-devel
3+
COPY ./requirements/requirements_ubi8.txt /root/requirements_ubi8.txt
44

5+
RUN yum install -y python36 python36-devel
56
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
107

8+
RUN /usr/bin/pip3 install -r /root/requirements_ubi8.txt
119
RUN echo "Installed python version: $(/usr/bin/python3 -V)"
1210
RUN echo "Installed python packages: $(/usr/bin/pip3 list)"
1311

1412
USER root
1513

1614
RUN mkdir -p /opt/IBM/bridge
17-
ADD . /opt/IBM/bridge
18-
15+
COPY ./source/ /opt/IBM/bridge
16+
COPY LICENSE /opt/IBM/bridge
1917

2018
RUN mkdir -p /var/mmfs/gen
2119
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/
2522

2623
ARG HTTPPROTOCOL=http
2724
ENV PROTOCOL=$HTTPPROTOCOL

docs/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
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+
110
# Version 7.0.2 (08/02/2021)
211
Changed the Dockerfile parent image to the registry.access.redhat.com/ubi8/ubi
312
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
413

514
Tested with Grafana version 7.5.1 and 8.0.3
15+
Tested with RedHat community-powered Grafana operator v.3.10.3
616

717

818

docs/SUPPORT_MATRIX.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
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+
29
# Version 7.0.2 (08/02/2021)
310
- Python 3.6
411
- CherryPy 18.6.1

requirements.txt

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
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

requirements/requirements_test.in

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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

requirements/requirements_ubi8.in

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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

requirements/requirements_ubi8.txt

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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

source/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
@author: HWASSMAN
2121
'''
2222

23-
__version__ = '7.0.2'
23+
__version__ = '7.0.3'

0 commit comments

Comments
 (0)