mirror of
https://github.com/SmartHoneybee/ubiquitous-memory
synced 2025-12-30 00:18:38 +01:00
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](https://github.com/mattermost/mattermost-server/compare/v5.32.1...v5.33.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: parnic-sks <chris@straykitestudios.com>
This commit is contained in:
committed by
GitHub
parent
8e4b90726c
commit
d9d94c2ee9
13
build.sh
13
build.sh
@@ -10,6 +10,8 @@ MATTERMOST_RELEASE="${MATTERMOST_RELEASE:-v5.4.0}"
|
||||
# node key id and release
|
||||
NODE_KEY="${NODE_KEY:-9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280}"
|
||||
NODE_RELEASE="${NODE_RELEASE:-10}"
|
||||
# golang version
|
||||
GO_VERSION="${GO_VERSION:-1.15.5}"
|
||||
|
||||
if [ "$(id -u)" -eq 0 ]; then # as root user
|
||||
# create build user, if needed
|
||||
@@ -43,15 +45,18 @@ if [ "$(id -u)" -eq 0 ]; then # as root user
|
||||
> '/etc/apt/sources.list.d/nodesource.list'
|
||||
# update repositories
|
||||
apt-get update
|
||||
# install go from Debian backports
|
||||
apt-get install --quiet --target-release "${DEBIAN_RELEASE}-backports" \
|
||||
golang-go
|
||||
# install dependencies
|
||||
apt-get install --quiet \
|
||||
wget build-essential patch git nodejs
|
||||
# install 'pngquant' build dependencies (required by node module)
|
||||
apt-get build-dep --quiet \
|
||||
pngquant
|
||||
# install go from golang.org
|
||||
wget https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz
|
||||
tar -xvf go${GO_VERSION}.linux-amd64.tar.gz
|
||||
mv go /usr/local
|
||||
export GOROOT=/usr/local/go
|
||||
export PATH=$GOROOT/bin:$PATH
|
||||
# FIXME go (executed by build user) writes to GOROOT
|
||||
install --directory --owner="${BUILD_USER_NAME}" \
|
||||
"$(go env GOROOT)/pkg/$(go env GOOS)_$(go env GOARCH)"
|
||||
@@ -65,6 +70,8 @@ if [ "$(id -u)" -eq 0 ]; then # as root user
|
||||
exit 0
|
||||
fi
|
||||
# as non-root user
|
||||
export GOROOT=/usr/local/go
|
||||
export PATH=$GOROOT/bin:$PATH
|
||||
cd "${HOME}"
|
||||
# download and extract Mattermost sources
|
||||
for COMPONENT in server webapp; do
|
||||
|
||||
Reference in New Issue
Block a user