Compare commits

...

25 Commits

Author SHA1 Message Date
cas 2e366449bf chore: publish 1.1.0+9.5.6 release 2024-06-06 11:03:21 -07:00
cas a5ba7e60e7 chore: publish 1.0.0+9.5.4 release 2024-05-02 14:10:21 -07:00
3wordchant fdd0610784 Update recipe metadata
continuous-integration/drone/push Build is failing
2024-03-30 16:33:50 -03:00
3wordchant de797a654a chore: publish 0.3.8+8.1.12 release
continuous-integration/drone/push Build is failing
2024-03-28 15:50:36 -03:00
3wordchant e42bc0f2a5 chore: publish 0.3.7+8.1.11 release
continuous-integration/drone/push Build is failing
2024-03-07 16:01:37 -03:00
cas 5a30d2d99b chore: publish 0.3.6+8.1.10 release
continuous-integration/drone/push Build is failing
2024-02-15 10:12:33 -08:00
cas 98ef1ca228 chore: publish 0.3.5+8.1.9 release
continuous-integration/drone/push Build is failing
2024-02-08 09:43:26 -08:00
3wordchant 16f489fd8d chore: publish 0.3.4+8.1.8 release
continuous-integration/drone/push Build is failing
2024-01-11 21:12:32 -03:00
cas 12d0f85607 chore: publish 0.3.3+8.1.7 release
continuous-integration/drone/push Build is failing
2023-12-25 11:50:40 -08:00
cas 123af69e49 Fix .drone.yml 2023-12-25 11:50:06 -08:00
cas bb5df287e8 chore: publish 0.3.2+8.1.7 release
continuous-integration/drone Build encountered an error
2023-12-25 11:45:43 -08:00
knoflook c274319f6f chore: publish 0.3.1+8.1.6 release 2023-11-22 13:12:52 +01:00
knoflook 9d83d0bed0 chore: publish 0.3.0+8.1.2 release 2023-09-28 11:37:20 +02:00
knoflook 177a96d597 add backupbot 2023-09-28 11:36:42 +02:00
3wordchant e6ff612b8a chore: publish 0.2.1+8.1.2 release 2023-09-28 10:32:04 +01:00
3wordchant 0d67e8ccf7 chore: publish 0.2.0+8.1.0 release 2023-08-25 14:54:55 +02:00
knoflook 8f9f308af2 Merge branch 'dev' 2023-08-21 12:43:54 +02:00
knoflook f4311c4879 chore: publish 0.1.0+8.0.1 release 2023-08-21 12:37:56 +02:00
knoflook 9a716f7303 0.1.0 rc, still testing that one 2023-06-06 15:35:52 +02:00
3wordchant 7df9f350d5 Switch to self-hosted stack-ssh-deploy image [mass update] 2023-01-21 11:49:56 -08:00
3wordchant 24b45a21c8 Fix CI by adding networks: [mass update] 2023-01-20 11:58:41 -08:00
3wordchant ccd12e92aa Automatically generate catalogue on release [mass update]
Re: coop-cloud/recipes-catalogue-json#4
2023-01-20 10:27:11 -08:00
xynosis 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: #2
2022-07-12 13:16:36 +00:00
Kieran Cutting 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
Kieran Cutting 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
7 changed files with 61 additions and 78 deletions
+13 -18
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
- coop-cloud/auto-recipes-catalogue-json
trigger:
event: tag
-12
View File
@@ -14,15 +14,3 @@ SECRET_POSTGRES_PASSWORD_VERSION=v1
## A list of these tz database names can be looked up at Wikipedia
## https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
TZ=UTC
## Make Mattermost container readonly. This interferes with the regeneration of root.html inside the container. Only use
## it if you know what you're doing.
## See https://github.com/mattermost/docker/issues/18
MATTERMOST_CONTAINER_READONLY=false
## Additional configuration settings for Mattermost. Documentation on the variables and the settings itself can be found at
## https://docs.mattermost.com/administration/config-settings.html
## Keep in mind that variables set here will take precedence over the same setting in config.json. This includes
## the system console as well and settings set with env variables will be greyed out.
+8 -8
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 -->
+1
View File
@@ -0,0 +1 @@
export ENTRYPOINT_VERSION=v1
+33 -40
View File
@@ -1,50 +1,19 @@
version: "3.8"
services:
postgres:
image: postgres:13-alpine
security_opt:
- no-new-privileges:true
tmpfs:
- /tmp
- /var/run/postgresql
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
# timezone inside container
- TZ
# necessary Postgres options/variables
- POSTGRES_USER=mattermost
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
- POSTGRES_DB=mattermost
secrets:
- postgres_password
networks:
- internal
app:
image: mattermost/mattermost-team-edition:5.39
security_opt:
- no-new-privileges:true
read_only: ${MATTERMOST_CONTAINER_READONLY}
tmpfs:
- /tmp
image: mattermost/mattermost-team-edition:9.5.6
environment:
- TZ
- MM_SQLSETTINGS_DRIVERNAME=postgres
- MM_SERVICESETTINGS_SITEURL=https://${DOMAIN}
volumes:
- mattermost_config:/mattermost/config:rw
- mattermost_data:/mattermost/data:rw
- mattermost_logs:/mattermost/logs:rw
- mattermost_plugins:/mattermost/plugins:rw
- mattermost_client_plugins:/mattermost/client/plugins:rw
environment:
# timezone inside container
- TZ
# necessary Mattermost options/variables (see env.sample)
- MM_SQLSETTINGS_DRIVERNAME=postgres
# additional settings
- MM_SERVICESETTINGS_SITEURL=https://${DOMAIN}
- mattermost_certs:/etc/ssl/certs:ro
networks:
- proxy
- internal
@@ -59,6 +28,9 @@ 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=1.1.0+9.5.6"
- "backupbot.backup=true"
- "backupbot.backup.path=/mattermost,/etc/ssl"
configs:
- source: abra_mattermost_entrypoint
target: /abra-mattermost-entrypoint.sh
@@ -67,6 +39,27 @@ services:
- postgres_password
entrypoint: /abra-mattermost-entrypoint.sh
postgres:
image: postgres:15-alpine
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
- TZ
- POSTGRES_USER=mattermost
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
- POSTGRES_DB=mattermost
secrets:
- 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:
postgres_password:
external: true
@@ -74,8 +67,8 @@ secrets:
configs:
abra_mattermost_entrypoint:
name: abra_mattermost_entrypoint
file: ./abra-mattermost-entrypoint.sh
name: ${STACK_NAME}_entrypoint_${ENTRYPOINT_VERSION}
file: ./entrypoint.sh
networks:
proxy:
@@ -85,8 +78,8 @@ networks:
volumes:
postgres_data:
mattermost_config:
mattermost_certs:
mattermost_data:
mattermost_logs:
mattermost_plugins:
mattermost_client_plugins:
+6
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.