mirror of
https://github.com/go-gitea/gitea
synced 2024-12-25 01:54:26 +00:00
e0a9a921af
Backport #29788 by @wolfogre I was trying to run unit tests for Gitea on act runner, by using `make test`. It failed with log: ``` 2024/03/14 03:09:26 ...s/setting/setting.go:180:loadRunModeFrom() [F] Gitea is not supposed to be run as root. Sorry. If you need to use privileged TCP ports please instead use setcap and the `cap_net_bind_service` permission ``` So it will be convenient to skip by setting environment, since it's OK to use root user in job containers. It's not a bug, but I want to backport it to v1.21 since it doesn't break anything. --------- Co-authored-by: Jason Song <i@wolfogre.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> |
||
---|---|---|
.. | ||
config | ||
actions_test.go | ||
actions.go | ||
admin.go | ||
api.go | ||
asset_dynamic.go | ||
asset_static.go | ||
attachment_test.go | ||
attachment.go | ||
cache.go | ||
camo.go | ||
config_env_test.go | ||
config_env.go | ||
config_provider_test.go | ||
config_provider.go | ||
config.go | ||
cors.go | ||
cron_test.go | ||
cron.go | ||
database_sqlite.go | ||
database_test.go | ||
database.go | ||
federation.go | ||
git_test.go | ||
git.go | ||
highlight.go | ||
i18n.go | ||
incoming_email.go | ||
indexer_test.go | ||
indexer.go | ||
lfs_test.go | ||
lfs.go | ||
log_test.go | ||
log.go | ||
mailer_test.go | ||
mailer.go | ||
markup.go | ||
metrics.go | ||
migrations.go | ||
mime_type_map.go | ||
mirror.go | ||
oauth2_test.go | ||
oauth2.go | ||
other.go | ||
packages_test.go | ||
packages.go | ||
path_test.go | ||
path.go | ||
picture.go | ||
project.go | ||
proxy.go | ||
queue.go | ||
repository_archive_test.go | ||
repository_archive.go | ||
repository.go | ||
security.go | ||
server.go | ||
service_test.go | ||
service.go | ||
session.go | ||
setting_test.go | ||
setting.go | ||
ssh.go | ||
storage_test.go | ||
storage.go | ||
task.go | ||
time.go | ||
ui.go | ||
webhook.go |