rm -rf /usr/local/lib/python3.11/site-packages/PyYAML* && \
pip3 install --upgrade pip && \
pip3 install --ignore-installed --no-cache-dir \
- -r requirements.txt -c upper-constraints.txt \
+ git+https://gitlab.com/Orange-OpenSource/lfn/tools/helm-onap-status.git#egg=helm_onap_status \
+ git+https://gitlab.com/Orange-OpenSource/lfn/tools/chart-status.git#egg=chart_status \
+ -r requirements.txt \
-e . \
git+https://git.onap.org/testsuite/pythonsdk-tests.git@$ONAP_TESTS_TAG \
git+https://git.onap.org/integration.git@$ONAP_TAG#subdirectory=test/security/check_certificates && \
import os
import time
+import check_certificates
from xtesting.core import testcase
class K8sTesting(testcase.TestCase):
"""Check the cerfificates for the nodeports."""
def __init__(self, **kwargs):
super(OnapSecurityNodePortsCerts, self).__init__(**kwargs)
- os.chdir('/usr/lib/python3.8/site-packages/check_certificates')
+ os.chdir(os.path.dirname(check_certificates.__file__))
self.cmd = ['python3', 'check_certificates_validity.py',
'--mode','nodeport','--namespace','onap','--dir',
'/var/lib/xtesting/results/nodeport_check_certs']
"""Check the cerfificates for the internal ports."""
def __init__(self, **kwargs):
super(OnapSecurityInternalPortsCerts, self).__init__(**kwargs)
- os.chdir('/usr/lib/python3.8/site-packages/check_certificates')
+ os.chdir(os.path.dirname(check_certificates.__file__))
self.cmd = ['python3', 'check_certificates_validity.py',
'--mode','internal','--namespace','onap','--dir',
'/var/lib/xtesting/results/internal_check_certs']
robotframework-httplibrary===0.4.2
robotframework-jsonlibrary===0.5
robotframework-pythonlibcore===4.4.1
-robotframework-requests===0.9.3
+robotframework-requests===0.9.6
robotframework-seleniumlibrary===6.7.1
robotframework-sshlibrary===3.8.0
rpds-py===0.20.1
wsproto===1.2.0
xtesting===0.98.0
yamllint===1.35.1
-zipp===3.20.2
\ No newline at end of file
+zipp===3.20.2