Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit 2ca5c116 authored by danfengliu's avatar danfengliu
Browse files

Fix git action CI missing python sit packages issue


Signed-off-by: default avatardanfengliu <danfengl@vmware.com>
parent f4938ca9
......@@ -25,7 +25,10 @@ sudo wget https://bootstrap.pypa.io/get-pip.py && sudo python ./get-pip.py && su
sudo make swagger_client
#TODO: Swagger python package used to installed into dist-packages, but it's changed into site-packages all in a sudden, we havn't found the root cause.
# so current workround is to copy swagger packages from site-packages to dist-packages.
sudo cp -r /usr/lib/python3.7/site-packages/* /usr/local/lib/python3.7/dist-packages
package_dir=/usr/lib/python3.7/site-packages
if [ $(find $package_dir -type f| wc -l) -gt 0 ];then
sudo cp -r ${package_dir}/* /usr/local/lib/python3.7/dist-packages
fi
if [ $GITHUB_TOKEN ];
then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment