Compare commits

...

53 Commits

Author SHA1 Message Date
fc265a1188 chore: publish 2.1.1+10.11.7 release 2025-11-20 09:56:51 +01:00
2f94930db2 chore: publish 2.1.0+10.11.6 release 2025-11-13 10:10:55 +01:00
f2d2cf7c88 chore: publish 2.0.7+10.5.14 release 2025-10-30 17:38:49 +01:00
177d5a858f chore: publish 2.0.6+10.5.12 release 2025-10-16 11:24:15 +02:00
cae3921b41 chore: publish 2.0.5+10.5.11 release 2025-09-11 11:24:45 +02:00
354e476243 chore: publish 2.0.4+10.5.10 release 2025-08-21 10:53:54 +02:00
1f1ab728fc chore: publish 2.0.3+10.5.9 release 2025-07-24 11:15:07 +02:00
b2e1e004c6 chore: publish 2.0.2+10.5.8 release 2025-06-19 17:26:41 +01:00
3e109108d9 chore: publish 2.0.1+10.5.7 release 2025-05-29 11:09:06 +02:00
6cbf638a79 chore: publish 2.0.0+10.5.6 release 2025-05-22 11:49:00 +02:00
80b0db2700 chore: publish 1.5.9+9.11.15 release 2025-05-15 11:19:59 +02:00
bd133cb6e4 chore: publish 1.5.8+9.11.12 release 2025-04-17 11:18:22 +02:00
18941a270a chore: publish 1.5.7+9.11.11 release 2025-03-27 10:07:30 +01:00
e15e086322 chore: publish 1.5.6+9.11.10 release 2025-03-20 10:14:50 +01:00
b6c2a80289 chore: publish 1.5.5+9.11.9 release 2025-03-04 17:43:08 +01:00
25117632fc chore: publish 1.5.4+9.11.9 release 2025-02-20 10:32:31 +01:00
f58c9a2aab chore: publish 1.5.3+9.11.8 release 2025-01-23 16:15:49 +01:00
18cf2d21cc chore: publish 1.5.2+9.11.7 release 2025-01-23 14:14:46 +05:00
fc31939b5e Update .drone.yml 2025-01-08 10:09:13 -08:00
b1427c9a1e chore: publish 1.5.1+9.11.6 release 2024-12-12 10:35:55 +01:00
2e177985f8 chore: publish 1.5.0+9.11.5 release 2024-11-21 14:13:55 +05:00
8e63b9839d chore: publish 1.4.2+9.5.12 release 2024-11-07 16:18:32 +01:00
c83e59cfc5 chore: publish 1.4.1+9.5.11 release 2024-11-07 12:11:48 +05:00
142cd05e01 chore: publish 1.4.0+9.5.12 release 2024-11-07 11:26:56 +05:00
be6939d39b chore: publish 1.3.0+9.11.3 release 2024-10-25 13:56:39 +02:00
1bbc0bc5e3 chore: publish 1.2.5+9.5.11 release 2024-10-17 18:18:28 +05:00
91136d15a7 chore: publish 1.2.4+9.5.10 release 2024-10-03 11:11:54 -07:00
bf7466f8b2 chore: publish 1.2.2+9.5.9 release 2024-09-02 19:24:15 +02:00
33466a38cf chore: publish 1.2.1+9.5.8 release 2024-07-25 10:53:53 -07:00
4c6dca85fa chore: publish 1.2.0+9.5.7 release 2024-07-04 13:56:57 -07:00
2e366449bf chore: publish 1.1.0+9.5.6 release 2024-06-06 11:03:21 -07:00
a5ba7e60e7 chore: publish 1.0.0+9.5.4 release 2024-05-02 14:10:21 -07:00
3wc
fdd0610784 Update recipe metadata 2024-03-30 16:33:50 -03:00
3wc
de797a654a chore: publish 0.3.8+8.1.12 release 2024-03-28 15:50:36 -03:00
3wc
e42bc0f2a5 chore: publish 0.3.7+8.1.11 release 2024-03-07 16:01:37 -03:00
5a30d2d99b chore: publish 0.3.6+8.1.10 release 2024-02-15 10:12:33 -08:00
98ef1ca228 chore: publish 0.3.5+8.1.9 release 2024-02-08 09:43:26 -08:00
3wc
16f489fd8d chore: publish 0.3.4+8.1.8 release 2024-01-11 21:12:32 -03:00
12d0f85607 chore: publish 0.3.3+8.1.7 release 2023-12-25 11:50:40 -08:00
123af69e49 Fix .drone.yml 2023-12-25 11:50:06 -08:00
bb5df287e8 chore: publish 0.3.2+8.1.7 release 2023-12-25 11:45:43 -08:00
c274319f6f chore: publish 0.3.1+8.1.6 release 2023-11-22 13:12:52 +01:00
9d83d0bed0 chore: publish 0.3.0+8.1.2 release 2023-09-28 11:37:20 +02:00
177a96d597 add backupbot 2023-09-28 11:36:42 +02:00
3wc
e6ff612b8a chore: publish 0.2.1+8.1.2 release 2023-09-28 10:32:04 +01:00
3wc
0d67e8ccf7 chore: publish 0.2.0+8.1.0 release 2023-08-25 14:54:55 +02:00
8f9f308af2 Merge branch 'dev' 2023-08-21 12:43:54 +02:00
3wc
7df9f350d5 Switch to self-hosted stack-ssh-deploy image [mass update] 2023-01-21 11:49:56 -08:00
3wc
24b45a21c8 Fix CI by adding networks: [mass update] 2023-01-20 11:58:41 -08:00
3wc
ccd12e92aa Automatically generate catalogue on release [mass update]
Re: coop-cloud/recipes-catalogue-json#4
2023-01-20 10:27:11 -08:00
d29e4dfafa Merge pull request 'Update Mattermost to 7.0, add release notes, add abra.sh file to fix deployment entrypoint issue' (#2) from xynosis/mattermost:main into main
Reviewed-on: coop-cloud/mattermost#2
2022-07-12 13:16:36 +00:00
7756ca38cb Update Mattermost to 7.0, add release notes, add abra.sh file to fix deployment entrypoint issue 2022-06-21 11:07:16 +01:00
4b27d3993f Update Mattermost to 7.0, add release notes, add abra.sh file to fix deployment entrypoint issue 2022-06-21 11:07:05 +01:00
11 changed files with 57 additions and 34 deletions

View File

@ -3,10 +3,12 @@ kind: pipeline
name: deploy to swarm-test.autonomic.zone
steps:
- name: deployment
image: decentral1se/stack-ssh-deploy:latest
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
settings:
host: swarm-test.autonomic.zone
stack: mattermost
networks:
- proxy
purge: true
deploy_key:
from_secret: drone_ssh_swarm_test
@ -24,33 +26,26 @@ steps:
from_secret: autono_bot_access_token
depends_on:
- deployment
when:
status:
- failure
when:
status:
- failure
trigger:
branch:
- main
---
kind: pipeline
name: recipe release
name: generate recipe catalogue
steps:
- name: release a new version
image: decentral1se/drone-abra:latest
settings:
command: recipe mattermost release
deploy_key:
from_secret: abra_bot_deploy_key
- name: trigger downstream builds
image: plugins/downstream
settings:
server: https://drone.autonomic.zone
server: https://build.coopcloud.tech
token:
from_secret: decentral1se_token
from_secret: drone_abra-bot_token
fork: true
repositories:
- coop-cloud/auto-apps-json
depends_on:
- release a new version
on
- toolshed/auto-recipes-catalogue-json
trigger:
event: tag

View File

@ -1,4 +1,4 @@
TYPE=mattermost
TYPE=mattermost-lts
# Domain of service
DOMAIN=mattermost.example.com

View File

@ -2,14 +2,14 @@
<!-- metadata -->
* **Category**:
* **Status**:
* **Image**:
* **Healthcheck**: N
* **Backups**: N
* **Email**:
* **Tests**: N
* **SSO**: N
* **Category**: Apps
* **Status**: 3
* **Image**: [`mattermost/mattermost-team-edition`](https://hub.docker.com/r/mattermost/mattermost-team-edition), 4, upstream
* **Healthcheck**: No
* **Backups**: Yes
* **Email**: 1
* **Tests**: 2
* **SSO**: No
<!-- endmetadata -->

View File

@ -1 +1,2 @@
export ENTRYPOINT_VERSION=v1
export ABRA_MATTERMOST_ENTRYPOINT_VERSION=v2
export BUSYBOX_VERSION=v1

BIN
busybox Executable file

Binary file not shown.

View File

@ -2,7 +2,7 @@ version: "3.8"
services:
app:
image: mattermost/mattermost-team-edition:8.0.1
image: mattermost/mattermost-team-edition:10.11.7
environment:
- TZ
- MM_SQLSETTINGS_DRIVERNAME=postgres
@ -28,11 +28,16 @@ services:
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
- "coop-cloud.${STACK_NAME}.version=0.1.0+8.0.1"
- "coop-cloud.${STACK_NAME}.version=2.1.1+10.11.7"
- "backupbot.backup=true"
- "backupbot.backup.path=/mattermost,/etc/ssl"
configs:
- source: abra_mattermost_entrypoint
target: /abra-mattermost-entrypoint.sh
mode: 0555
- source: busybox
target: /bin/busybox
mode: 0555
secrets:
- postgres_password
entrypoint: /abra-mattermost-entrypoint.sh
@ -50,6 +55,12 @@ services:
- postgres_password
networks:
- internal
deploy:
labels:
backupbot.backup: "true"
backupbot.backup.pre-hook: "PGPASSWORD=$$(cat $${POSTGRES_PASSWORD_FILE}) pg_dump -U $${POSTGRES_USER} $${POSTGRES_DB} > /var/lib/postgresql/data/postgres-backup.sql"
backupbot.backup.post-hook: "rm -rf /var/lib/postgresql/data/postgres-backup.sql"
backupbot.backup.path: "/var/lib/postgresql/data/"
secrets:
@ -59,8 +70,11 @@ secrets:
configs:
abra_mattermost_entrypoint:
name: ${STACK_NAME}_entrypoint_${ENTRYPOINT_VERSION}
name: ${STACK_NAME}_entrypoint_${ABRA_MATTERMOST_ENTRYPOINT_VERSION}
file: ./entrypoint.sh
busybox:
name: ${STACK_NAME}_busybox_${BUSYBOX_VERSION}
file: ./busybox
networks:
proxy:

6
entrypoint.sh Normal file → Executable file
View File

@ -1,7 +1,7 @@
#!/bin/sh
#!/bin/busybox sh
set -e
if test -f "/run/secrets/postgres_password"; then
pwd=`cat /run/secrets/postgres_password`
pwd=`/bin/busybox cat /run/secrets/postgres_password`
if [ -z $pwd ]; then
echo >&2 "error: /run/secrets/postgres_password is empty"
exit 1
@ -16,4 +16,4 @@ else
fi
# https://github.com/mattermost/mattermost-server/blob/master/build/Dockerfile
/entrypoint.sh "mattermost"
/mattermost/bin/mattermost

6
release/0.1.0+7.0.txt Normal file
View File

@ -0,0 +1,6 @@
This should be a fairly stable update. The only strange behaviour we've noticed so far has been:
- When clicking on 'Channels' to change to 'Boards' or 'Playbooks', your window may flicker and just reload 'Channels'. Click 'Boards' or 'Playbooks' again and it should behave as expected.
- When clicking on private messages, you may get an error telling you that you don't have permission to view these.
To fix both of these errors, logout of your server in your Mattermost client, delete the server (if you are using an app), and then re-add it. We haven't noticed any issues after doing this.

1
release/1.4.1+9.5.11 Normal file
View File

@ -0,0 +1 @@
hotfix: rollback to last functional version

1
release/2.0.2+10.5.8 Normal file
View File

@ -0,0 +1 @@
Mattermost Platform Extended Support Release 10.5.8 contains a high severity level security fix.

5
release/2.1.0+10.11.6 Normal file
View File

@ -0,0 +1,5 @@
the docker containers in 10.11 branch don't contain any unix programs. That
means there's no sh or bash, no cat etc etc. We need to have a shell to run
our entrypoint and export the postgres URL as an env variable. To overcome
this we insert a busybox binary as a config into the container. There's no
action required on the side of the operator but it's important to note.