Skip to content

Commit d9d94c2

Browse files
Bump github.com/mattermost/mattermost-server/v5 from 5.32.1 to 5.33.0 in /dependabot (#104)
* Bump github.com/mattermost/mattermost-server/v5 in /dependabot Bumps [github.com/mattermost/mattermost-server/v5](https://github.com/mattermost/mattermost-server) from 5.32.1 to 5.33.1. - [Release notes](https://github.com/mattermost/mattermost-server/releases) - [Changelog](https://github.com/mattermost/mattermost-server/blob/master/CHANGELOG.md) - [Commits](mattermost/mattermost@v5.32.1...v5.33.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: parnic-sks <chris@straykitestudios.com>
1 parent 8e4b907 commit d9d94c2

3 files changed

Lines changed: 17 additions & 9 deletions

File tree

.travis.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ env:
88
- DEBIAN_RELEASE='buster'
99
- DOCKER_PWD='/root'
1010
- DOCKER_IMAGE="debian:${DEBIAN_RELEASE}"
11+
- GO_VERSION='1.15.5'
1112
matrix:
1213
- GOOS='dragonfly' GOARCH='amd64'
1314
- GOOS='freebsd' GOARCH='amd64'
14-
- GOOS='freebsd' GOARCH='arm'
15+
#- GOOS='freebsd' GOARCH='arm'
1516
- GOOS='linux' GOARCH='arm'
1617
- GOOS='linux' GOARCH='arm64'
1718
- GOOS='linux' GOARCH='mips'
@@ -21,10 +22,10 @@ env:
2122
- GOOS='linux' GOARCH='ppc64'
2223
- GOOS='linux' GOARCH='ppc64le'
2324
- GOOS='linux' GOARCH='s390x'
24-
- GOOS='netbsd' GOARCH='amd64'
25-
- GOOS='netbsd' GOARCH='arm'
26-
- GOOS='openbsd' GOARCH='amd64'
27-
- GOOS='openbsd' GOARCH='arm'
25+
#- GOOS='netbsd' GOARCH='amd64'
26+
#- GOOS='netbsd' GOARCH='arm'
27+
#- GOOS='openbsd' GOARCH='amd64'
28+
#- GOOS='openbsd' GOARCH='arm'
2829
before_install:
2930
- export MATTERMOST_RELEASE="$(grep 'mattermost' dependabot/go.mod | cut -d' ' -f3)"
3031
- docker pull "${DOCKER_IMAGE}"

build.sh

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ MATTERMOST_RELEASE="${MATTERMOST_RELEASE:-v5.4.0}"
1010
# node key id and release
1111
NODE_KEY="${NODE_KEY:-9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280}"
1212
NODE_RELEASE="${NODE_RELEASE:-10}"
13+
# golang version
14+
GO_VERSION="${GO_VERSION:-1.15.5}"
1315

1416
if [ "$(id -u)" -eq 0 ]; then # as root user
1517
# create build user, if needed
@@ -43,15 +45,18 @@ if [ "$(id -u)" -eq 0 ]; then # as root user
4345
> '/etc/apt/sources.list.d/nodesource.list'
4446
# update repositories
4547
apt-get update
46-
# install go from Debian backports
47-
apt-get install --quiet --target-release "${DEBIAN_RELEASE}-backports" \
48-
golang-go
4948
# install dependencies
5049
apt-get install --quiet \
5150
wget build-essential patch git nodejs
5251
# install 'pngquant' build dependencies (required by node module)
5352
apt-get build-dep --quiet \
5453
pngquant
54+
# install go from golang.org
55+
wget https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz
56+
tar -xvf go${GO_VERSION}.linux-amd64.tar.gz
57+
mv go /usr/local
58+
export GOROOT=/usr/local/go
59+
export PATH=$GOROOT/bin:$PATH
5560
# FIXME go (executed by build user) writes to GOROOT
5661
install --directory --owner="${BUILD_USER_NAME}" \
5762
"$(go env GOROOT)/pkg/$(go env GOOS)_$(go env GOARCH)"
@@ -65,6 +70,8 @@ if [ "$(id -u)" -eq 0 ]; then # as root user
6570
exit 0
6671
fi
6772
# as non-root user
73+
export GOROOT=/usr/local/go
74+
export PATH=$GOROOT/bin:$PATH
6875
cd "${HOME}"
6976
# download and extract Mattermost sources
7077
for COMPONENT in server webapp; do

dependabot/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/SmartHoneybee/ubiquitous-memory/dependabot
22

3-
require github.com/mattermost/mattermost-server/v5 v5.32.1
3+
require github.com/mattermost/mattermost-server/v5 v5.33.1

0 commit comments

Comments
 (0)