-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't put integration test data outside of test folder #11746
Conversation
Some integration test data is being put outside of the integration test folders which means it isn't deleted properly with make clean. Update config so it works as expected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the {{REPO_TEST_DIR}}
prefix in all .tmpl
files.
@@ -33,12 +33,15 @@ SSH_LISTEN_HOST = localhost | |||
SSH_PORT = 2201 | |||
START_SSH_SERVER = true | |||
LFS_START_SERVER = true | |||
LFS_CONTENT_PATH = data/lfs-mssql | |||
LFS_CONTENT_PATH = integrations/gitea-integration-mssql/data/lfs-mssql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LFS_CONTENT_PATH = integrations/gitea-integration-mssql/data/lfs-mssql | |
LFS_CONTENT_PATH = {{REPO_TEST_DIR}}integrations/gitea-integration-mssql/data/lfs-mssql |
OFFLINE_MODE = false | ||
LFS_JWT_SECRET = Tv_MjmZuHqpIY6GFl12ebgkRAMt4RlWt0v4EHKSXO0w | ||
APP_DATA_PATH = integrations/gitea-integration-mssql/data | ||
BUILTIN_SSH_SERVER_USER = git | ||
|
||
[attachment] | ||
PATH = integrations/gitea-integration-mssql/data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PATH = integrations/gitea-integration-mssql/data | |
PATH = {{REPO_TEST_DIR}}integrations/gitea-integration-mssql/data |
ENABLE_FEDERATED_AVATAR = false | ||
DISABLE_GRAVATAR = false | ||
ENABLE_FEDERATED_AVATAR = false | ||
AVATAR_UPLOAD_PATH = integrations/gitea-integration-mssql/data/avatars |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AVATAR_UPLOAD_PATH = integrations/gitea-integration-mssql/data/avatars | |
AVATAR_UPLOAD_PATH = {{REPO_TEST_DIR}}integrations/gitea-integration-mssql/data/avatars |
DISABLE_GRAVATAR = false | ||
ENABLE_FEDERATED_AVATAR = false | ||
AVATAR_UPLOAD_PATH = integrations/gitea-integration-mssql/data/avatars | ||
REPOSITORY_AVATAR_UPLOAD_PATH = integrations/gitea-integration-mssql/data/repo-avatars |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
REPOSITORY_AVATAR_UPLOAD_PATH = integrations/gitea-integration-mssql/data/repo-avatars | |
REPOSITORY_AVATAR_UPLOAD_PATH = {{REPO_TEST_DIR}}integrations/gitea-integration-mssql/data/repo-avatars |
@guillep2k none of the indexers, db, or anything else outside of repos themselves currently use this I don't see why this would be different. I think these should stay until somebody has run make clean same as those |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test PASS local too
ping LG-TM |
Some integration test data is being put outside of the integration test folders which means it isn't deleted properly with make clean. Update config so it works as expected. Co-authored-by: John Olheiser <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Some integration test data is being put outside of the integration test folders which means it isn't deleted properly with make clean. Update config so it works as expected.
Found 48GB of LFS test data and 17GB of attachments uncleaned in my data folder 😑