--- /dev/null
+README.md
+tox.ini
+docker/Dockerfile
\ No newline at end of file
ADD https://storage.googleapis.com/kubernetes-release/release/${KUBERNETES_VERSION}/bin/linux/amd64/kubectl /usr/local/bin/kubectl
-COPY upper-constraints.txt .
+# COPY upper-constraints.txt .
+COPY . .
RUN set -x && \
apk --no-cache add --update curl ca-certificates && \
chmod +x /usr/local/bin/helm3 && \
rm -rf /usr/lib/python3.8/site-packages/PyYAML* && \
pip3 install --upgrade pip && \
- pip3 install --no-cache-dir -r upper-constraints.txt && \
- pip3 install --no-cache-dir \
- git+https://git.onap.org/integration/xtesting.git@$ONAP_TESTS_TAG#subdirectory=infra-healthcheck && \
+ pip3 install --no-cache-dir -r requirements.txt -c upper-constraints.txt && \
+ pip3 install --no-cache-dir -e . && \
pip3 install --no-cache-dir \
git+https://git.onap.org/integration.git@$ONAP_TESTS_TAG#subdirectory=test/security/check_certificates && \
+ pip3 install --ignore-installed --no-cache-dir \
+ git+https://git.onap.org/testsuite/pythonsdk-tests.git@$ONAP_TESTS_TAG && \
apk del .build-deps
COPY docker/testcases.yaml /usr/lib/python3.8/site-packages/xtesting/ci/testcases.yaml
This test case verifies that the ONAP pods are all Running
and shows the pods, deployments, svc and events
run:
- name: 'onap_k8s'
+ name: 'namespace_status'
-
case_name: onap-helm
project_name: integration
xtesting
kubernetes # Apache-2.0
colorama # BSD
-kubernetes_status
helm_onap_status
chart_status
\ No newline at end of file
+++ /dev/null
-[metadata]
-name = infra_healthcheck
-version = 1
-
-[files]
-packages = infra_healthcheck
-
-[entry_points]
-xtesting.testcase =
- onap_k8s = kubernetes_status.status:Status
- onap_helm = helm_onap_status.status:Status
- onap_chart = chart_status.status:Status
- nodeport_ingress = infra_healthcheck.k8stest:OnapSecurityNodePortsIngress
- nodeport_check_certs = infra_healthcheck.k8stest:OnapSecurityNodePortsCerts
- internal_check_certs = infra_healthcheck.k8stest:OnapSecurityInternalPortsCerts
# In python < 2.7.4, a lazy loading of package `pbr` will break
# setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215
-try:
- import multiprocessing # noqa
-except ImportError:
- pass
+
setuptools.setup(
- setup_requires=['pbr>=2.0.0'],
- pbr=True)
+ name="infra_healthcheck",
+ version="1",
+ packages=["infra_healthcheck"],
+ entry_points={
+ "xtesting.testcase": [
+ 'onap_helm = helm_onap_status.status:Status',
+ 'onap_chart = chart_status.status:Status',
+ 'nodeport_ingress = infra_healthcheck.k8stest:OnapSecurityNodePortsIngress',
+ 'nodeport_check_certs = infra_healthcheck.k8stest:OnapSecurityNodePortsCerts',
+ 'internal_check_certs = infra_healthcheck.k8stest:OnapSecurityInternalPortsCerts'
+ ]
+ }
+)
-git+https://gitlab.com/Orange-OpenSource/lfn/tools/kubernetes-status.git#egg=kubernetes_status
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