aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2023-04-20 09:17:33 +0000
committerMicha? Jagie??o <michal.jagiello@t-mobile.pl>2023-04-20 09:26:56 +0000
commit6bda8459ee220f42c2d7ea4ee783a36dedd394dc (patch)
tree5536bd3b0ce305aa25bf9b38822c27090dd5155b
parentf9cf0ee248cf0750c542dc2c5804bc8907f03b03 (diff)
[SECURITY] Use fixed version of security versions script
Use the version of versions security script which is hosted on integration repository. Issue-ID: TEST-394 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ib49ab1f6615c878f01ce8ff38918387a39ad2085
-rw-r--r--security/docker/Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/docker/Dockerfile b/security/docker/Dockerfile
index aa4e176..be0fa35 100644
--- a/security/docker/Dockerfile
+++ b/security/docker/Dockerfile
@@ -46,8 +46,8 @@ RUN set -x && \
wget -O /nonssl_xfail.txt https://git.onap.org/integration/seccom/plain/waivers/nonssl_endpoints/nonssl_xfail.txt?h=$ONAP_TAG &&\
wget -O /root_pods_xfail.txt https://git.onap.org/integration/seccom/plain/waivers/root_pods/root_pods_xfail.txt?h=$ONAP_TAG &&\
wget -O /unlimitted_pods_xfail.txt https://git.onap.org/integration/seccom/plain/waivers/unlimitted_pods/unlimitted_pods_xfail.txt?h=$ONAP_TAG &&\
- wget -O /check_versions/k8s_bin_versions_inspector.py https://git.onap.org/integration/plain/test/security/check_versions/src/k8s_bin_versions_inspector.py?h=$ONAP_TAG &&\
- wget -O /check_versions/requirements.txt https://git.onap.org/integration/plain/test/security/check_versions/env/requirements.txt?h=$ONAP_TAG &&\
+ wget -O /check_versions/k8s_bin_versions_inspector.py https://git.onap.org/integration/plain/test/security/check_versions/versions/k8s_bin_versions_inspector.py?h=$ONAP_TAG &&\
+ wget -O /check_versions/requirements.txt https://git.onap.org/integration/plain/test/security/check_versions/requirements.txt?h=$ONAP_TAG &&\
wget -O /check_versions/recommended_versions.yaml https://git.onap.org/integration/seccom/plain/recommended_versions.yaml?h=$ONAP_TAG &&\
chmod +x /usr/local/bin/sslendpoints && \
chmod +x /check_*.sh && \
@@ -56,7 +56,7 @@ RUN set -x && \
git+https://git.onap.org/integration/xtesting.git@$ONAP_TESTS_TAG#subdirectory=security && \
cd /kube-hunter && pip3 install -r /kube-hunter/requirements.txt && \
pip3 install --no-cache-dir \
- git+https://gitlab.com/Orange-OpenSource/lfn/onap/integration/onap-version-status.git && \
+ git+https://git.onap.org/integration.git@$ONAP_TESTS_TAG#subdirectory=test/security/check_versions && \
apk del .build-deps
COPY docker/testcases.yaml /usr/lib/python3.8/site-packages/xtesting/ci/testcases.yaml