Since IEC CI jobs run on the same Jenkins static slaves where TA REC
artifact building occurs, installing `docker-compose` and its
requirements (including python-requests) via `sudo pip install`
creates a conflict that breaks TA ISO upload (see upstream bug
linked below).
Bump docker-compose to a newer version, which will stop forcefully
downgrading the python-requests package, working around the original
issue.
Upstream-bug: https://jira.linuxfoundation.org/browse/RELENG-2558
Change-Id: Ic449f3d43c5df45846b7008db50efcbcd339c3f9
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
ln -sfn $(pwd)/work $COMPASS_WORK_DIR
sed -i "s#\$COMPASS_DIR/work#$COMPASS_WORK_DIR#g" deploy/launch.sh
+
+ # Fix docker-compose -> requests version mismatch with other
+ # Akraino CI jobs (installed requests should be >= 2.12)
+ sed -i "s/\(docker-compose\)==1.14.0/\1==1.24.1/g" deploy/prepare.sh
}
config_vm