aboutsummaryrefslogtreecommitdiffstats
path: root/smoke-usecases-pythonsdk/docker/Dockerfile
AgeCommit message (Collapse)AuthorFilesLines
2022-03-01Revert "Revert "[SMOKE] Temp Ugly Fix markupsafe dependency""Michal Jagiello1-0/+1
This reverts commit 0a030ffe2313d058052dc2351a6b926d374c3db7. Reason for revert: Reverted too early, should be reverted after ONAP SDK release. Issue-ID: INT-2078 Change-Id: I02677462fcf961e1e8fbe26d26f1341633bc4356 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
2022-02-24Revert "[SMOKE] Temp Ugly Fix markupsafe dependency"Michal Jagiello1-1/+0
This reverts commit 8fef424fd0a0c080042ecfc1c66be7906b35905c. Reason for revert: Fixed on Python ONAP SDK Issue-ID: INT-2078 Change-Id: I82d4c1b0573e037f9d22534b78f2c631bdddbc54 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
2022-02-23[SMOKE] Temp Ugly Fix markupsafe dependencymorganrol1-0/+1
Since few days a jinja2 upstream depenency introduced a regression We need to fix the version to 2.0.1 (2.1.0 will lead to an import error that will break all the docker builds) I tried to fix it at the sdk level without success I wait for Michal's comeback to get his view on sdk error Meanwhile this patch shall allow to rebuild the docker and execute the tests Issue-ID: INT-2078 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: I4a3062ecb0d25a23232281dec359f830c216f825
2022-01-04[PYTHONSDK] Fix pyyaml issuemorganrol1-1/+1
Due to the introduction of pyyaml in the tox, the docker build may have issue Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. Adding the pip option --ignore-installed avoid any issue Issue-ID: TEST-377 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: I85dcc0a08db7998d2cb3407ad91200fba48b1fd6
2021-10-20[INTEGRATION] Add build arg for smoke-usecases-pythonsdkMichal Jagiello1-1/+7
Add a flag to the Dockerfile to determine whether to install the development version of the SDK Issue-ID: INT-1983 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I6d4c1415c90c75dda1a3a37d3fd696efb2b49b93
2021-08-19[XTESTING] Fix opnfv/xtesting version to wallabymorganrol1-1/+1
opnfv/xtesting master triggered a change in the alpine baseline image (3.14) As a consequence the xtesting docker relying on master were broken, as the list of testcases was not overwrittent in pytho3.9 lib folder 2 options were possible: - fix the version (wallaby) - align the xtesting dockers and change the path to use 3.9 option1 is more secured. For the moment python3.8 is enough for the SDK. If needed we could upgrade later. Issue-ID: TEST-359 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: Iaeada26416e0929a11c17f5c2803448c5a23888c
2021-04-11[CLAMP] Fix path for schema_details.jsonmorganrol1-1/+1
As we moved back to standard python packaging, the json artifact must follow the onapsdk requirements. It could be fixed in onap-pythonsdk [1] but it would require a new release of the SDK, it is possible to adjust by creating the file at right place from the docker. Issue-ID: INT-1819 [1]:https://gitlab.com/Orange-OpenSource/lfn/onap/python-onapsdk/ -/blob/develop/src/onapsdk/clamp/loop_instance.py#L82 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: I4bd21f22a73396160d06d0e02484cdbbd6dc14e1
2021-04-08[XTESTING] Update Dockerfile: remove editable pip installIllia Halych1-3/+3
Bring back pip install without --editable Issue-ID: TEST-327 Signed-off-by: Illia Halych <illia.halych@t-mobile.pl> Change-Id: I482df67a0ca585c601fd3d7288302ef7c0900fc8 Signed-off-by: morganrol <morgan.richomme@orange.com>
2021-04-02[CLAMP] Include schema_details.json for clamp testmorganrol1-0/+4
This file is required by onapsdk clamp module The alternative could be to modify directly in SDK to avoid this change... Issue-ID: INT-1819 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: I54ab1f8bb48a3a76689f1f27374d898d66dabc56
2021-02-09Fix xtesting docker build crypto issuemorganrol1-0/+1
Set the env file CRYPTOGRAPHY_DONT_BUILD_RUST=1 Issue-ID: INT-1852 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: I84ccbbacd5ba024c00a7149a8b4a5e927011ab9f
2021-01-08[XTESTING] Use editable option to install pythonsdk-testsMichal Jagiello1-2/+2
Needs to be done to fix issue with package installation. Issue-ID: TEST-293 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Iaeb61f9ae1b35fbc818c9c57dcf144ca5060028f
2020-11-06Clean Dockerfile for pythonsdk testsmrichomme1-2/+0
installaing onapsdk is not needed it is installed as dependency of pythonsdk-tests through its requirements.txt file Issue-ID: INT-1771 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I7810ded9eabd0958d7141a6d062bac969a7be5af
2020-09-25Switch from onap_tests to pythonsdk-testscnfmrichomme1-2/+4
onap_tests framework is now deprecated as VNF_API is no more supported in Guilin It is time to use pythonsdk Issue-ID: TEST-258 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I170d7f9756697a5061d5d27247dca37d84ebfc91
2020-01-06Update python3 version due to xtesting master updatemrichomme1-1/+1
Issue-ID: INT-1366 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I322aa4de7e01895c839e1ccb4259333fb3a7cb17
2019-12-11Move integration xtesting Dockerfile to ONAPmrichomme1-0/+16
All the Dockerfiles and xtesting configurations were hosted in gitlab.com [1] The goal of this patch is to host these assets in ONAP A jenkins jjb shall be created to generated the docker and push them on the nexus (today the built-in registry of ONAP was used) These xtesting dockers are referencing integration categories [2] and integration use cases [3] These xtesting dockers shall also simplify the way to integrate new use cases in any CI chain (jenkins or gitlab-ci based) [1]: https://gitlab.com/Orange-OpenSource/lfn/onap/integration/xtesting [2]: https://wiki.onap.org/pages/viewpage.action?pageId=71835330 [3]: http://testresults.opnfv.org/onap/api/v1/projects/integration/cases Issue-ID: INT-1366 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Iba0fc0b0415731a7a81ba0225a70ae16391dd129 Signed-off-by: mrichomme <morgan.richomme@orange.com>