Merge branch 'master' into mpa-playbooks

Этот коммит содержится в:
Giorgi Bochorishvili
2022-11-22 08:11:11 +04:00
родитель 902f7296d2 fcd45de73b
Коммит bb73e7a780
94 изменённых файлов: 1451 добавлений и 504 удалений

Просмотреть файл

@@ -149,7 +149,7 @@ TEMPLATES_DIR=templates
PLUGIN_PACKAGES ?= mattermost-plugin-antivirus-v0.1.2
PLUGIN_PACKAGES += mattermost-plugin-autolink-v1.2.2
PLUGIN_PACKAGES += mattermost-plugin-aws-SNS-v1.2.0
PLUGIN_PACKAGES += mattermost-plugin-calls-v0.9.0
PLUGIN_PACKAGES += mattermost-plugin-calls-v0.10.0
PLUGIN_PACKAGES += mattermost-plugin-channel-export-v1.0.0
PLUGIN_PACKAGES += mattermost-plugin-custom-attributes-v1.3.0
PLUGIN_PACKAGES += mattermost-plugin-github-v2.0.1
@@ -160,7 +160,7 @@ PLUGIN_PACKAGES += mattermost-plugin-jira-v2.4.0
PLUGIN_PACKAGES += mattermost-plugin-nps-v1.3.0
PLUGIN_PACKAGES += mattermost-plugin-welcomebot-v1.2.0
PLUGIN_PACKAGES += mattermost-plugin-zoom-v1.6.0
PLUGIN_PACKAGES += focalboard-v7.4.3
PLUGIN_PACKAGES += focalboard-v7.5.1
PLUGIN_PACKAGES += mattermost-plugin-apps-v1.1.0
# Prepares the enterprise build if exists. The IGNORE stuff is a hack to get the Makefile to execute the commands outside a target
@@ -735,6 +735,11 @@ ifeq ($(BUILD_ENTERPRISE_READY),true)
rm -f imports/imports.go
endif
ifeq ($(BUILD_BOARDS),true)
@echo Boards repository detected, temporarily removing boards_imports.go
rm -f imports/boards_imports.go
endif
# Update all dependencies (does not update across major versions)
$(GO) get -u ./...
@@ -745,6 +750,10 @@ ifeq ($(BUILD_ENTERPRISE_READY),true)
cp $(BUILD_ENTERPRISE_DIR)/imports/imports.go imports/
endif
ifeq ($(BUILD_BOARDS),true)
cp $(BUILD_BOARDS_DIR)/mattermost-plugin/product/imports/boards_imports.go imports/
endif
vet: ## Run mattermost go vet specific checks
$(GO) install github.com/mattermost/mattermost-govet/v2@new
@VET_CMD="-license -structuredLogging -inconsistentReceiverName -inconsistentReceiverName.ignore=session_serial_gen.go,team_member_serial_gen.go,user_serial_gen.go -emptyStrCmp -tFatal -configtelemetry -errorAssertions"; \