Files
mattermost/build
Ashish Bhate ee76ad435b [MM-28303]: check if mmctl exists before checking on Github and reduce requests to Github (#15387)
Summary:
Every make call would ping Github to find out the mmctl version to download. Each check made 4 requests to Github. So every make execution resulted in 4 requests to Github. This leads to frequent rate-limit errors from Github.
In this PR we check for the mmctl version only if mmctl doesn't already exist. We also print a more helpful error message.
Reduce the number the number of requests to Github from 4 to 2.

Ticket Link:
https://mattermost.atlassian.net/browse/MM-28303
2020-09-24 14:54:57 +05:30
..

About this folder

This folder contains some files that we use to build the mattermost-server using Jenkins and other files like privacy policy and licenses.

The Dockerfile in this folder (Dockerfile.buildenv) is the build environment for our current builds you can find the docker image to download here or build your own.

Docker Image for building the Server

We have a docker image to build mattermost-server and it is based on Go docker image.

In our Docker Hub Repository we have the following images:

  • mattermost/mattermost-build-server:dec-7-2018 which is based on Go 1.11 you can use for MM versions <= 5.8.0
  • mattermost/mattermost-build-server:feb-28-2019 which is based on Go 1.12 you can use for MM versions >= 5.9.0 <= 5.15.0
  • mattermost/mattermost-build-server:sep-17-2019 which is based on Go 1.12.9 you can use for MM versions >= 5.16.0
  • mattermost/mattermost-build-server:20200322_golang-1.14.1 which is based on Go 1.14.1 you can use for MM versions >= 5.24.0
  • mattermost/mattermost-build-server:20200731_golang-1.14.6 which is based on Go 1.14.6 you can use for MM versions >= 5.26.0