Commit Graph
69 Commits
Author SHA1 Message Date
Miguel de la Cruz 987a25b4d0 Adds a make target and a database for a shared channels node (#28238)
This PR allows to run a different Mattermost instance in port :8066
using the `make run-node` target. This instance reuses the frontend
files compiled for the main development instance, has its own database
and local mode enabled through environment variables, and for the rest
of the configuration simply takes whatever properties are set in the
`config.json` file.

This target is specially useful to run a Shared Channels development
environment, compiling first the frontend and then running `make
run-server` and `make run-node` side by side, later connecting both
and testing Shared Channels features.
2024-09-19 10:00:56 +02:00
Agniva De Sarker 75ed2860ac MM-59934: Add Redis to CI and other improvements (#28164)
- Update library version.
- Added MaxFlush delay to help reduce CPU usage.
- Fall back to LRU cache for the caches which use SCAN.
- Added mattermost-redis and running for all api layer
tests in Postgres.

https://mattermost.atlassian.net/browse/MM-59934
```release-note
NONE
```
2024-09-18 19:13:44 +05:30
Agniva De SarkerandMattermost Build 7086a8792a MM-60387: Bump Go version to 1.22 (#28118)
https://mattermost.atlassian.net/browse/MM-60387
```release-note
updated Go version to 1.22
```
---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-09-05 19:29:29 +05:30
Mario VitaleandSaturnino Abril 948f8941f0 CLD-7841 Optimize E2E testing costs (#27883)
* Utilize free runners for E2E tests, report back to PR on run completion
* Increase test stability on smaller instances
* Merge worker reports
* merge start+prepare steps
* upgrade keycloak
* increase test timeouts
* Add video recording to report artifacts

Co-authored-by: Saturnino Abril <5334504+saturninoabril@users.noreply.github.com>

---------

Co-authored-by: Saturnino Abril <5334504+saturninoabril@users.noreply.github.com>
2024-08-14 21:39:08 +02:00
Mario VitaleandMattermost Build 88bbc9dcb8 Bump base image to Ubuntu 24 (#27729)
* Bump base image to Ubuntu 24

* Fix Noble dependencies

* Fix docker image build

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-07-25 14:23:37 +02:00
Agniva De SarkerandMattermost Build 177389d224 MM-53962: Adding ES8 dependency (#24399)
* Adding ES8 dependency

```release-note
NONE
```


Co-authored-by: Mattermost Build <build@mattermost.com>
2024-07-11 13:13:31 +05:30
Felipe Martin 4e32da62fa chore: improvements to keycloak local development (#26518)
* update keycloak docker image

* update realm file with a compatible realm

* import realm on start-docker command

Since bitnami's image does not support importing directly, the import of the test realm is done in the make file start-docker action

* Use official image from quay

* updated realm keycloak config

* final note about nickname attrib for saml

* add admin user

* update realm

* Updated from master

* Updated docs

* local typo

* use jq for ldap and saml

* updated readme
2024-07-08 08:16:09 +02:00
Akis Maziotis 762ff9b96c [chore] migration of plugin-store (#27506)
Plugin store is gradually migrated from:
- https://plugins-store.test.mattermost.com
to
- https://plugins.releases.mattermost.com

We reflect that change here

Note: Currently both CDN's are working as expected, to facilitate the mgiration. Upon succesfull migration, https://plugins-store.test.mattermost.com will be decomissioned
2024-07-03 08:23:43 +03:00
Agniva De Sarker d20b55bde8 MM-57375: Update to latest minio image (#27475)
* test with latest minio image
* Update the KMS key
- Also use latest config settings. The older ones were deprecated.
2024-06-28 20:34:18 +05:30
Antonis Stamatiou d64ce93393 feat: Introduce build env image pipeline (#27189) 2024-05-29 11:39:17 +03:00
Jesse Hallam 617053e206 configure Loki for local development (#26997)
* configure Loki for local development

Extend our docker compose setup to include Loki (along with promtail), scraping `logs/*.log` to ingest development logs as well as all logs from running containers.

While we're in here, teach Prometheus to scrape metrics from Docker containers too.

* tweak promtail labels

* document extra services in config.mk

* update home.json
2024-05-16 12:16:08 -03:00
Antonis Stamatiou fae7aa79fc fix: Remove version dependency from Dockerfile (#26812) 2024-04-17 15:19:59 +03:00
mattermod 9abdc7a933 Update latest version to 9.7.1 2024-04-17 06:11:42 +00:00
b0feeb5ec7 [MM-56732] Update keycloak docker configs and add make command (#26313)
* updating keycloak image
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2024-04-03 15:01:33 -04:00
Ibrahim Serdar Acikgoz 1f3bc992ea Update default.conf (#26645) 2024-04-03 12:05:31 +02:00
mattermod b6da56e44d Update latest version to 9.6.1 2024-03-27 18:37:17 +00:00
mattermod 52a900aeea Update latest version to 9.6.0 2024-03-22 19:17:26 +00:00
Agniva De Sarker 5e851f708b MM-57245: Bump up Go version to 1.21 (#26512)
* MM-57245: Bump up Go version to 1.21

https://mattermost.atlassian.net/browse/MM-57245
```release-note
NONE
```
2024-03-21 09:12:35 +05:30
mattermod 19c1165117 Update latest version to 9.5.2 2024-03-07 12:17:08 +00:00
Antonis Stamatiou 61578f7e21 feat: Remove prepackaged plugins from unsupported mattermost server OS (#26310) 2024-02-28 09:09:37 +02:00
mattermod 97479800c2 Update latest version to 9.5.1 2024-02-19 14:43:00 +00:00
mattermod ed82ca8d11 Update latest version to 9.4.2 2024-01-31 09:16:46 +00:00
Doug Lauder a7192dba8c fix breaking change in Docker 25 by using long form port definition (#26030) 2024-01-24 09:30:37 -05:00
mattermod b668c9b048 Update latest version to 9.4.1 2024-01-22 07:41:42 +00:00
04cf1ed114 Bump up the minimum required MySQL version (#25465)
MySQL 5.7 is at end of life.

https://mattermost.atlassian.net/browse/MM-55589

```release-note
We bump up minimum MySQL version to be 8.0.0
```


Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>
2024-01-11 22:18:20 +05:30
b05093d508 Source available metrics (#24879)
* Expose metrics under a source available license

* do not assume Cluster()

* allow metrics if licensed or dev

* temporary vet override

* simplify BULID_TAGS handling

* auto clean old imports.go

* fix license listener

* e2e test metrics & license semantics

* update from enterprise

* switch back to mattermost-govet/v2@new now

* update metrics from upstream

* Update license_spec.js

Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>

* Update license_spec.js

Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>

* Update e2e-tests/cypress/tests/integration/channels/enterprise/metrics/license_spec.js

Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>

* Update e2e-tests/cypress/tests/integration/channels/enterprise/metrics/license_spec.js

* split up specs

* require/delete license earlier in e2e test

* expanded expect to debug failures

* more logging

* Revert "more logging"

This reverts commit 0bc513fd92.

* e2e: try deleting license first

* update from enterprise

* toggleMetricsOn to work around license delete

* eslint

* ensure admin before deleting license

* update from enterprise

* updates from enterprise

* fix cypress logging

* temp: log at DEBUG for Cypress tests

---------

Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-08 10:47:24 -04:00
Antonis Stamatiou c5f5800814 feat: Migrate docker preview repo stuff in monorepo (#25698)
* feat: Migrate docker preview repo stuff in monorepo

* docs: Update docs [skip ci]

* config: Update configuration to minimum [skip ci]
2023-12-15 12:28:02 +02:00
mattermod bb9c695c1b Update latest version to 9.3.0 2023-12-14 17:01:02 +00:00
mattermod a7f8347f01 Update latest version to 9.2.3 2023-11-30 18:36:28 +00:00
Antonis Stamatiou 34209ac72b Change notice generation configuration file (#25526) 2023-11-27 13:07:12 +02:00
mattermod bd1c0b7a20 Update latest version to 9.2.2 2023-11-16 14:15:48 +00:00
Nicolas Le Cam 1ed5d87342 Switch to docker compose v2 (#25048) 2023-11-13 14:30:24 +01:00
mattermod 45d6fb122f Update latest version to 9.1.2 2023-11-07 07:36:55 +00:00
mattermod ba335b4025 Update latest version to 9.1.1 2023-10-31 16:14:24 +00:00
Antonis StamatiouandAkis Maziotis f01e8f6c6d [CLD-6501] Enhance visibility for PR builds artefacts (#25141)
Co-authored-by: Akis Maziotis <akis.maziotis@mattermost.com>
2023-10-25 18:22:15 +03:00
mattermod 2cdf2aaff8 Update latest version to 9.1.0 2023-10-16 15:02:56 +00:00
mattermod 22686de81d Update latest version to 9.0.1 2023-10-13 12:28:43 +00:00
mattermod d5c497d7c9 Update latest version to 9.0.0 2023-09-27 07:00:39 +00:00
1e121eb7f3 CLD-6297 - E2E tests improvements (#24541)
* Improve e2etests readme, remove unused apt install
* Add testing E2E Tests MultiOS
* Get rid of deprecation warning
* Smart selection of docker network driver for different OSes
* Unify makefile invocation for windows as well
* Tune JVM for ES and Keycloak
* fix: Made required changes to run locally on arm MacOS
* fix: FIxed network command and removed dashboard node user as it is not needed
* fix: make dashboard work for Mac
* Make runs without dashboard work again, make BROWSE tunable and document it

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>
2023-09-25 17:01:01 +02:00
mattermod 1ef935c5c8 Update latest version to 8.1.2 2023-09-13 13:00:09 +00:00
Ibrahim Serdar Acikgoz 0e84ccb383 Bump Go version to v1.20 (#24439) 2023-09-07 13:06:18 +03:00
M-ZubairAhmed b540ed5d30 Remove leftover Gitlab CI files (#24472) 2023-09-06 23:45:48 +05:30
mattermod 1fb8772ef9 Update latest version to 8.1.1 2023-09-05 17:03:02 +00:00
mattermod ab542c4dff Update latest version to 8.1.0 2023-08-28 07:22:30 +00:00
Agniva De Sarker 5fc794eb17 Bumping up our Grafana/Prom dev docker image (#24337)
We were using 8.x version of Grafana which was quite old.
Pinning Prom image to latest stable as well following our
other images.
```release-note
NONE
```
2023-08-23 14:10:24 +05:30
Ibrahim Serdar Acikgoz 83652aa3c2 [MM-53840] Add migration workflow (#24211) 2023-08-16 10:09:11 +03:00
mattermod d7697f3b39 Update latest version to 8.0.1 2023-07-27 11:56:22 +00:00
3kami3andMattermost Build 5b3833839e Fixed missing zoneinfo (#23759) (#23760)
* added tzdata
* set noninteractive installation

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-25 17:32:49 +02:00
mattermod 62495f16bd Update latest version to 8.0.0 2023-07-18 08:19:15 +00:00
mattermod 1f235ba064 Update latest version to 7.10.4 2023-07-13 10:19:19 +00:00