Fix a couple of issues related with morph feature branch (#19302)
* uncomment s3 uploads * remove unnecessary check from config validation * remove translation
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6595b31f23
Коммит
240bfb2244
@@ -26,7 +26,7 @@ jobs:
|
|||||||
cd ../
|
cd ../
|
||||||
git clone --depth=1 --no-single-branch https://github.com/mattermost/mattermost-webapp.git
|
git clone --depth=1 --no-single-branch https://github.com/mattermost/mattermost-webapp.git
|
||||||
cd mattermost-webapp
|
cd mattermost-webapp
|
||||||
git checkout $CIRCLE_BRANCH || git checkout release-6.0
|
git checkout $CIRCLE_BRANCH || git checkout master
|
||||||
export WEBAPP_GIT_COMMIT=$(git rev-parse HEAD)
|
export WEBAPP_GIT_COMMIT=$(git rev-parse HEAD)
|
||||||
echo "$WEBAPP_GIT_COMMIT"
|
echo "$WEBAPP_GIT_COMMIT"
|
||||||
|
|
||||||
@@ -537,18 +537,18 @@ workflows:
|
|||||||
- check-mattermost-vet
|
- check-mattermost-vet
|
||||||
- check-golangci-lint
|
- check-golangci-lint
|
||||||
- build-api-spec
|
- build-api-spec
|
||||||
# - upload-s3-sha:
|
- upload-s3-sha:
|
||||||
# context: mattermost-ci-pr-builds-s3
|
context: mattermost-ci-pr-builds-s3
|
||||||
# requires:
|
requires:
|
||||||
# - build
|
- build
|
||||||
# - upload-s3:
|
- upload-s3:
|
||||||
# context: mattermost-ci-pr-builds-s3
|
context: mattermost-ci-pr-builds-s3
|
||||||
# requires:
|
requires:
|
||||||
# - build
|
- build
|
||||||
# - build-docker:
|
- build-docker:
|
||||||
# context: matterbuild-docker
|
context: matterbuild-docker
|
||||||
# requires:
|
requires:
|
||||||
# - upload-s3-sha
|
- upload-s3-sha
|
||||||
- test:
|
- test:
|
||||||
name: test-mysql
|
name: test-mysql
|
||||||
dbdriver: mysql
|
dbdriver: mysql
|
||||||
|
|||||||
@@ -8211,10 +8211,6 @@
|
|||||||
"id": "model.config.is_valid.read_timeout.app_error",
|
"id": "model.config.is_valid.read_timeout.app_error",
|
||||||
"translation": "Invalid value for read timeout."
|
"translation": "Invalid value for read timeout."
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "model.config.is_valid.replica_mismatch.app_error",
|
|
||||||
"translation": "Number of replica lag queries is more than the number of replicas configured. Must be less than or equal to the number of replicas."
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "model.config.is_valid.restrict_direct_message.app_error",
|
"id": "model.config.is_valid.restrict_direct_message.app_error",
|
||||||
"translation": "Invalid direct message restriction. Must be 'any', or 'team'."
|
"translation": "Invalid direct message restriction. Must be 'any', or 'team'."
|
||||||
|
|||||||
@@ -3296,10 +3296,6 @@ func (s *SqlSettings) isValid() *AppError {
|
|||||||
return NewAppError("Config.IsValid", "model.config.is_valid.sql_migrations_statement_timout.app_error", nil, "", http.StatusBadRequest)
|
return NewAppError("Config.IsValid", "model.config.is_valid.sql_migrations_statement_timout.app_error", nil, "", http.StatusBadRequest)
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(s.ReplicaLagSettings) > len(s.DataSourceReplicas) {
|
|
||||||
return NewAppError("Config.IsValid", "model.config.is_valid.replica_mismatch.app_error", nil, "", http.StatusBadRequest)
|
|
||||||
}
|
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user