mirror of
https://github.com/SmartHoneybee/ubiquitous-memory
synced 2025-10-24 15:23:49 +02:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7332922733 | ||
|
|
605dd4992e | ||
|
|
f58b2018c4 | ||
|
|
f1204f044c | ||
|
|
43a100f30c |
68
.github/workflows/release.yml
vendored
68
.github/workflows/release.yml
vendored
@@ -16,67 +16,39 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
os: [dragonfly, freebsd, linux, netbsd, openbsd]
|
||||
arch: [amd64, arm, arm64, mips, mips64, mips64le, ppc64, ppc64le, s390x ]
|
||||
exclude:
|
||||
include:
|
||||
- os: dragonfly
|
||||
arch: amd64
|
||||
- os: freebsd
|
||||
arch: amd64
|
||||
- os: freebsd
|
||||
arch: arm
|
||||
- os: dragonfly
|
||||
- os: linux
|
||||
arch: arm
|
||||
- os: linux
|
||||
arch: arm64
|
||||
- os: dragonfly
|
||||
- os: linux
|
||||
arch: mips
|
||||
- os: dragonfly
|
||||
- os: linux
|
||||
arch: mips64
|
||||
- os: dragonfly
|
||||
- os: linux
|
||||
arch: mips64le
|
||||
- os: dragonfly
|
||||
- os: linux
|
||||
arch: mipsle
|
||||
- os: linux
|
||||
arch: ppc64
|
||||
- os: dragonfly
|
||||
- os: linux
|
||||
arch: ppc64le
|
||||
- os: dragonfly
|
||||
arch: s390x
|
||||
- os: freebsd
|
||||
arch: arm64
|
||||
- os: freebsd
|
||||
arch: mips
|
||||
- os: freebsd
|
||||
arch: mips64
|
||||
- os: freebsd
|
||||
arch: mips64le
|
||||
- os: freebsd
|
||||
arch: ppc64
|
||||
- os: freebsd
|
||||
arch: ppc64le
|
||||
- os: freebsd
|
||||
- os: linux
|
||||
arch: s390x
|
||||
- os: netbsd
|
||||
arch: arm64
|
||||
arch: amd64
|
||||
- os: netbsd
|
||||
arch: mips
|
||||
- os: netbsd
|
||||
arch: mips64
|
||||
- os: netbsd
|
||||
arch: mips64le
|
||||
- os: netbsd
|
||||
arch: ppc64
|
||||
- os: netbsd
|
||||
arch: ppc64le
|
||||
- os: netbsd
|
||||
arch: s390x
|
||||
arch: arm
|
||||
- os: openbsd
|
||||
arch: arm64
|
||||
arch: amd64
|
||||
- os: openbsd
|
||||
arch: mips
|
||||
- os: openbsd
|
||||
arch: mips64
|
||||
- os: openbsd
|
||||
arch: mips64le
|
||||
- os: openbsd
|
||||
arch: ppc64
|
||||
- os: openbsd
|
||||
arch: ppc64le
|
||||
- os: openbsd
|
||||
arch: s390x
|
||||
arch: arm
|
||||
|
||||
steps:
|
||||
- name: Clone repository
|
||||
|
||||
@@ -1,8 +1,17 @@
|
||||
diff --git a/build/release.mk b/build/release.mk
|
||||
index 3e9a11339..c8bd5409f 100644
|
||||
index 1530e75c6..befe5c9b7 100644
|
||||
--- a/build/release.mk
|
||||
+++ b/build/release.mk
|
||||
@@ -97,7 +97,7 @@ package:
|
||||
@@ -76,7 +76,7 @@ package:
|
||||
@# Resource directories
|
||||
mkdir -p $(DIST_PATH)/config
|
||||
cp -L config/README.md $(DIST_PATH)/config
|
||||
- OUTPUT_CONFIG=$(PWD)/$(DIST_PATH)/config/config.json go run ./scripts/config_generator
|
||||
+ OUTPUT_CONFIG=$(PWD)/$(DIST_PATH)/config/config.json GOOS= GOARCH= go run ./scripts/config_generator
|
||||
cp -RL fonts $(DIST_PATH)
|
||||
cp -RL templates $(DIST_PATH)
|
||||
rm -rf $(DIST_PATH)/templates/*.mjml $(DIST_PATH)/templates/partials/
|
||||
@@ -98,7 +98,7 @@ package:
|
||||
cp -RL $(BUILD_WEBAPP_DIR)/dist/* $(DIST_PATH)/client
|
||||
|
||||
@#Download MMCTL
|
||||
@@ -11,7 +20,7 @@ index 3e9a11339..c8bd5409f 100644
|
||||
|
||||
@# Help files
|
||||
ifeq ($(BUILD_ENTERPRISE_READY),true)
|
||||
@@ -126,7 +126,7 @@ endif
|
||||
@@ -127,7 +127,7 @@ endif
|
||||
|
||||
|
||||
@# ----- PLATFORM SPECIFIC -----
|
||||
@@ -20,7 +29,7 @@ index 3e9a11339..c8bd5409f 100644
|
||||
@# Make osx package
|
||||
@# Copy binary
|
||||
ifeq ($(BUILDER_GOOS_GOARCH),"darwin_amd64")
|
||||
@@ -196,7 +196,7 @@ endif
|
||||
@@ -197,7 +197,7 @@ endif
|
||||
rm -f $(DIST_PATH)/bin/platform.exe
|
||||
rm -f $(DIST_PATH)/bin/mmctl.exe
|
||||
rm -f $(DIST_PATH)/prepackaged_plugins/*
|
||||
@@ -29,7 +38,7 @@ index 3e9a11339..c8bd5409f 100644
|
||||
@# Make linux package
|
||||
@# Copy binary
|
||||
ifeq ($(BUILDER_GOOS_GOARCH),"linux_amd64")
|
||||
@@ -207,7 +207,7 @@ else
|
||||
@@ -208,7 +208,7 @@ else
|
||||
cp $(GOBIN)/linux_amd64/platform $(DIST_PATH)/bin # from cross-compiled bin dir
|
||||
endif
|
||||
#Download MMCTL for Linux
|
||||
|
||||
13
build.sh
13
build.sh
@@ -33,9 +33,9 @@ if [ "$(id -u)" -eq 0 ]; then # as root user
|
||||
apt-get update
|
||||
# dependencies to setup repositories
|
||||
apt-get install --quiet \
|
||||
gnupg2 dirmngr apt-transport-https ca-certificates parallel
|
||||
# receive missing key (retry on failure)
|
||||
parallel --verbose --delay=30 --retries=5 "apt-key adv --keyserver 'ipv4.pool.sks-keyservers.net' --recv-keys '{}'" ::: "${NODE_KEY}"
|
||||
gnupg2 dirmngr apt-transport-https ca-certificates curl
|
||||
# receive missing key
|
||||
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
|
||||
# add required additional repositories
|
||||
printf 'deb-src http://deb.debian.org/debian %s main' "${DEBIAN_RELEASE}" \
|
||||
> "/etc/apt/sources.list.d/${DEBIAN_RELEASE}-source.list"
|
||||
@@ -103,7 +103,12 @@ sed -i \
|
||||
"${HOME}/go/src/github.com/mattermost/mattermost-server/Makefile" \
|
||||
"${HOME}/go/src/github.com/mattermost/mattermost-server/build/release.mk"
|
||||
make --directory="${HOME}/go/src/github.com/mattermost/mattermost-server" \
|
||||
config-reset build-linux package-linux \
|
||||
config-reset \
|
||||
BUILD_NUMBER="dev-$(go env GOOS)-$(go env GOARCH)-${MATTERMOST_RELEASE}" \
|
||||
GO="GOARCH= GOOS= $(command -v go)" \
|
||||
PLUGIN_PACKAGES=''
|
||||
make --directory="${HOME}/go/src/github.com/mattermost/mattermost-server" \
|
||||
build-linux package-linux \
|
||||
BUILD_NUMBER="dev-$(go env GOOS)-$(go env GOARCH)-${MATTERMOST_RELEASE}" \
|
||||
GO="GOARCH=$(go env GOARCH) GOOS=$(go env GOOS) $(command -v go)" \
|
||||
PLUGIN_PACKAGES=''
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
package main
|
||||
import _ "github.com/mattermost/mattermost-server/model"
|
||||
import _ "github.com/mattermost/mattermost-server/v5/model"
|
||||
func main() {/* dummy file */}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
module github.com/SmartHoneybee/ubiquitous-memory/dependabot
|
||||
|
||||
require github.com/mattermost/mattermost-server/v5 v5.35.3
|
||||
require github.com/mattermost/mattermost-server/v5 v5.37.0
|
||||
|
||||
Reference in New Issue
Block a user