Adding mattermost-govet to the pipeline (#13257)
* Adding mattermost-govet to the pipeline * Trying to fix circleCI config * Trying to fix circleCI config * Trying to fix circleCI config * Trying to fix circleCI config * Update Makefile Co-Authored-By: Ben Schumacher <ben.schumacher@mattermost.com> * Update Makefile Co-Authored-By: Ben Schumacher <ben.schumacher@mattermost.com> * Addressing PR review comments * Addressing PR review comments * Addressing PR review comments * Addressing PR review comments * Addressing PR review comments * Addressing PR review comments * Adding legacy check-licenses task to legacy.mk * Removing unnecesary GO111MODULE=off lines * Adding jenkins mattermost-govet installation
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
876cf82bad
Коммит
f55a81163e
@@ -102,6 +102,8 @@ pipeline {
|
||||
cd /go/src/github.com/mattermost/mattermost-server
|
||||
echo "Installing golangci-lint"
|
||||
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b /usr/local/bin v1.21.0 # Keep this in sync with .golangci.yml and .circleci/config.yml
|
||||
echo "Installing mattermost-govet"
|
||||
GO111MODULE=off go get -u github.com/mattermost/mattermost-govet
|
||||
make config-reset
|
||||
make check-style BUILD_NUMBER='${BRANCH_NAME}-${BUILD_NUMBER}'
|
||||
make build BUILD_NUMBER='${BRANCH_NAME}-${BUILD_NUMBER}'
|
||||
|
||||
@@ -4,6 +4,9 @@ test-te: test-server
|
||||
# test-ee used to just run the enterprise edition tests, but now runs whatever is available
|
||||
test-ee: test-server
|
||||
|
||||
# check-licenses was used to check the license of the files, but now is done through mattermost-govet
|
||||
check-licenses: vet
|
||||
|
||||
# clean old docker images
|
||||
clean-old-docker:
|
||||
@echo Removing docker containers
|
||||
|
||||
Ссылка в новой задаче
Block a user