mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-27 08:45:03 +01:00
e4b95de388
This PR should resolve the permission problems during CI, if the uid doesn't match, a more clear message is shown. * CI fails with unknown permission problems #17710 The new drone step dependencies: (root)prepare-test-env -> (gitea)build -> (gitea)test
12 lines
213 B
Bash
Executable File
12 lines
213 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ ! -f ./build/test-env-prepare.sh ]; then
|
|
echo "${0} can only be executed in gitea source root directory"
|
|
exit 1
|
|
fi
|
|
|
|
echo "change the owner of files to gitea ..."
|
|
chown -R gitea:gitea .
|