Commit be41f7cc authored by ci's avatar ci
Browse files

fix permissions on directories

parent 3baa0b53
Pipeline #393 failed with stage
in 2 minutes and 33 seconds
......@@ -7,6 +7,7 @@ job:
script:
#Fetch master to be used in deploy condition to prevent deploying on old commits.
- whoami && pwd
- USER=$(whoami)
- ./e2e/e2e.sh
cache:
......
......@@ -28,6 +28,7 @@ export LBRYNET_WALLETS_DIR="$(pwd)/e2e/persist/.lbrynet/.local/share/lbry/lbryum
export TMP_DIR="/var/tmp"
#ensure that docker can be run and managed from the user
USER=$(whoami)
sudo usermod -aG docker "$USER"
cd ./e2e
......@@ -50,6 +51,7 @@ done
echo "successfully started..."
# make sure we have permission to mess with the volumes
sudo find ./persist -type d -exec chmod 777 {} \;
sudo chown "$USER": -R ./persist
#Data Setup for test
......
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