diff options
author | arkadiusz.adamski <aadamski@est.tech> | 2021-05-24 12:50:40 +0100 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2021-06-04 10:26:08 -0400 |
commit | 58fcc9268a667348d45cf338da686d12cfcf8064 (patch) | |
tree | 6e398c4263044fe677f1b2b39b2190bcc5e82761 /csit/xacml-pdp/plans | |
parent | 3b3d1dfc6274944c52434528da342f843e0044b5 (diff) |
Use python3 for CSITs
- use python3 and pip3 in scripts
- update robot-framework-http library, so it can use python3
- update selenium2library, so it can use python3
Fixed merge conflict from cherry pick:
- prepare-csit.sh
Changed to github instead of gerrit-mirror, as the mirror is flakey and
broke one of the CSIT verify jobs.
Issue-ID: POLICY-3092
Signed-off-by: arkadiusz.adamski <aadamski@est.tech>
Change-Id: I5a6a4fe43e54366859049e1d43bbce599dacd14e
(cherry picked from commit 2b1e8d08ed869124e4a363a0c5f58999f487a4be)
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'csit/xacml-pdp/plans')
-rw-r--r-- | csit/xacml-pdp/plans/setup.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/csit/xacml-pdp/plans/setup.sh b/csit/xacml-pdp/plans/setup.sh index 21d88213..cf369ab9 100644 --- a/csit/xacml-pdp/plans/setup.sh +++ b/csit/xacml-pdp/plans/setup.sh @@ -1,6 +1,7 @@ #!/bin/bash # ============LICENSE_START======================================================= # Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved. +# Modification Copyright 2021. Nordix Foundation. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -19,9 +20,9 @@ source ${SCRIPTS}/get-branch-mariadb.sh echo "Uninstall docker-py and reinstall docker." -pip uninstall -y docker-py -pip uninstall -y docker -pip install -U docker==2.7.0 +pip3 uninstall -y docker-py +pip3 uninstall -y docker +pip3 install -U docker sudo apt-get -y install libxml2-utils bash ${SCRIPTS}/get-models-examples.sh |