Add test environment docker-compose files

This commit is contained in:
Joel Speed
2020-05-12 16:06:16 +01:00
parent 4e3dd09cf2
commit 0ccfc73ab2
5 changed files with 117 additions and 1 deletions
+6 -1
View File
@@ -76,7 +76,7 @@ release: lint test
BINARY=${BINARY} VERSION=${VERSION} ./dist.sh
.PHONY: validate-go-version
validate-go-version: ## Validates the installed version of go against Mattermost's minimum requirement.
validate-go-version:
@if [ $(GO_MAJOR_VERSION) -gt $(MINIMUM_SUPPORTED_GO_MAJOR_VERSION) ]; then \
exit 0 ;\
elif [ $(GO_MAJOR_VERSION) -lt $(MINIMUM_SUPPORTED_GO_MAJOR_VERSION) ]; then \
@@ -86,3 +86,8 @@ validate-go-version: ## Validates the installed version of go against Mattermost
echo '$(GO_VERSION_VALIDATION_ERR_MSG)';\
exit 1; \
fi
# local-env can be used to interact with the local development environment
.PHONY: local-env-%
local-env-%:
make -C contrib/local-environment $*