Граф коммитов

66 Коммитов

Автор SHA1 Сообщение Дата
Christopher Poile
afaf41b587 update calls plugin to v0.20.0 (#24729) 2023-10-06 08:25:28 -06:00
Agniva De Sarker
fcf238523f Optimize mmctl CI run (#24732)
* Optimize mmctl CI run

- Remove coverage mode. They increase run time by 3x.
- Remove -race mode in PR builds. They increase run time by 2x and memory consumption as well.

```release-note
NONE
```

* caching go.sum path

```release-note
NONE
```
2023-10-06 10:43:06 -03:00
Scott Bishel
43cb6fa6c1 update playbooks to v1.39.0 (#24661) 2023-10-03 08:13:51 -06:00
Scott Bishel
7e3c0dfa4c update prepackage boards to v7.11.4 (#24619)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-02 16:03:07 -06:00
Jesse Hallam
460fa05eb9 add period for consistency in help text (#24648)
Automatic Merge
2023-09-29 17:41:53 +03:00
Michael Kochell
2d9e0108e8 jira plugin prepackage 4.0.0 (#24609)
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2023-09-29 10:22:55 -04:00
Christopher Poile
0409a2285d MM-5444 - Update prepackaged calls to v0.19.1 (#24560) 2023-09-14 18:36:50 -04:00
Christopher Poile
5ccc039278 MM-54176 - Update prepackaged calls to v0.19.0 (#24518) 2023-09-08 13:51:13 -04:00
Ibrahim Serdar Acikgoz
0e84ccb383 Bump Go version to v1.20 (#24439) 2023-09-07 13:06:18 +03:00
Ben Schumacher
30b12f199b [MM-54132] Use annotated logger for log messages from jobs (#24275) 2023-09-07 08:50:22 +02:00
Michael Kochell
07bea8792e Update GitLab plugin to 1.7.0 (#24394) 2023-08-31 12:51:01 -04:00
M-ZubairAhmed
66e5d5fffa MM-54275 : Add Giphy production key to LDFlags (#24397) 2023-08-31 20:29:04 +05:30
Miguel de la Cruz
fa9d0de478 Fixes config path for config-ldap and config-reset make targets (#24383) 2023-08-28 15:10:38 -06:00
Ben Schumacher
4790a60369 Fix gotestsum configuration for mmctl tests (#24354) 2023-08-28 14:01:14 +02:00
Caleb Roseland
818225dffe MM-52981, MM-53559: Streamlined in-product marketplace (#24311) 2023-08-25 14:39:25 -05:00
Caleb Roseland
d57581d01e Upgrade & verify prepackaged plugins in prep for remote marketplace decommissioning. (#24336) 2023-08-25 13:26:37 -05:00
Jesse Hallam
12f84cdf63 Pre-package Playbooks v1.38.1 (#24300)
Automatic Merge
2023-08-24 15:27:35 +03:00
Scott Bishel
f46694037d update prepackaged boards to v7.11.3 (#24330)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-08-24 10:05:03 +02:00
Ben Schumacher
2108517fae [MM-54014] Run tests in public/... (#24320) 2023-08-22 12:48:53 +02:00
Ben Schumacher
3ee5432664 [MM-53968] Includes mattermost-plugin-api into the mono repo (#24235)
Include https://github.com/mattermost/mattermost-plugin-api into the mono repo

Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>
Co-authored-by: Michael Kochell <mjkochell@gmail.com>
Co-authored-by: Alejandro García Montoro <alejandro.garciamontoro@gmail.com>
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
Co-authored-by: Alex Dovenmuehle <alex.dovenmuehle@mattermost.com>
Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com>
Co-authored-by: Christopher Poile <cpoile@gmail.com>
Co-authored-by: İlker Göktuğ Öztürk <ilkergoktugozturk@gmail.com>
Co-authored-by: Shota Gvinepadze <wineson@gmail.com>
Co-authored-by: Ali Farooq <ali.farooq0@pm.me>
Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com>
Co-authored-by: Daniel Espino García <larkox@gmail.com>
Co-authored-by: Christopher Speller <crspeller@gmail.com>
Co-authored-by: Alex Dovenmuehle <adovenmuehle@gmail.com>
Co-authored-by: Szymon Gibała <szymongib@gmail.com>
Co-authored-by: Lev <1187448+levb@users.noreply.github.com>
Co-authored-by: Jason Frerich <jason.frerich@mattermost.com>
Co-authored-by: Agniva De Sarker <agnivade@yahoo.co.in>
Co-authored-by: Artur M. Wolff <artur.m.wolff@gmail.com>
Co-authored-by: Madhav Hugar <16546715+madhavhugar@users.noreply.github.com>
Co-authored-by: Joe <security.joe@pm.me>
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>
Co-authored-by: José Peso <trilopin@users.noreply.github.com>
2023-08-21 09:50:30 +02:00
Jesse Hallam
b814d76488 config-reset: -tags production (#24277)
Somewhere in the build pipeline, we run `make config-reset` to generate a default `config.json` to include with the tarball. Unfortunately, this was being built without the `-tags production` signal that changes the default service environment to `production`, and in turn caused the `CWS` environment to default to testing. The trial licenses returned by the testing environment aren't compatible with the production environment, preventing new customers from starting trials by themselves.

As an immmediate workaround, customers can simply delete the `config.json` included with the tarball and start the server anew. Without any further configuration, it will correctly default to the `production` service environment and use the correct `CWS` environment.

Fix the tarball generation by adding `-tags production` to the `config-reset` Makefile target. We don't add a dev version of this for now, as it's not really needed given the server creates the right value on startup.

Fixes: https://mattermost.atlassian.net/browse/CLD-6137
2023-08-17 11:16:16 -03:00
Ibrahim Serdar Acikgoz
83652aa3c2 [MM-53840] Add migration workflow (#24211) 2023-08-16 10:09:11 +03:00
Christopher Poile
7bca8b11d2 calls -> v0.18.0 (#24186) 2023-08-04 08:35:59 -06:00
Jesse Hallam
9b05bfa8dc Pre-package Playbooks v1.38.0 (#24106) 2023-07-25 22:22:47 -03:00
Scott Bishel
0c4ac8b201 prepackage boards v7.11.2 (#24085)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-24 11:49:12 +02:00
Ibrahim Serdar Acikgoz
38fd8cd6aa tools/mmgotool: move into monorepo (#24010) 2023-07-17 16:15:58 +03:00
Scott Bishel
993ce5a5cc prepackage boards v7.11.1 (#23991)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-13 15:50:26 +02:00
Christopher Poile
b5a3eee739 calls -> v0.17.0 (#23975) 2023-07-09 20:41:45 -06:00
Jesse Hallam
c506e01a97 server: automatically retry CI testing failures (#23820)
* server: --rerun-fails=3 for test-server(-race)?

* --rerun-fails=3 for IS_CI=true and -race as well
2023-06-30 15:00:37 -03:00
Jesse Hallam
53731f95ff Pre-package Playbooks v1.37.0 (#23880) 2023-06-29 10:49:48 -03:00
Ben Schumacher
c6916c7047 Bump Apps plugin version to 1.2.2 (#23622) 2023-06-29 09:26:33 +02:00
Scott Bishel
4e0c9eb163 Prepackage boards v7.11.0 (#23844) 2023-06-27 11:31:29 -06:00
Ben Schumacher
fe8d66bc98 [MM-53254] Fix make pluginapi (#23803) 2023-06-23 12:24:52 +02:00
Jesse Hallam
2765d92991 Gotestsum (#22826)
* disable coverage

This reduces runtime of the server test suite from ~30m to ~10m, and as far as I can see: we discarded the coverage output anyway.

* allow morph 60s to migrate when running tests

* scripts/test.sh: drop COVERMODE

Stop generating coverage data when running unit tests. It's likely we'll want this data back at some point, but for now it's unused and removing simplifies invoking tests for developers.

* scripts/test.sh: remove cleanup steps

* scripts/test.sh: drop TESTS parameter

* scripts/test.sh: drop TESTFLAGS parameter

* switch to gotestsum
2023-06-15 15:27:52 -03:00
Miguel de la Cruz
44a99d1736 Move playbooks to plugin (#23732)
* Remove build references

* Remove playbooks webapp and server, and add the prepackaged plugin

* Remove translations

* Add ProductSettings to the playwright type

* Restore playbooks as a prepackaged plugin for cypress e2e tests
2023-06-14 23:33:26 +02:00
Scott Bishel
bc66807acc MM-53028 - Swap out todo plugin with snow in onboarding (#23681)
* swap out todo plugin with snow in onboarding

* Updating servicenow svg

* update name to be single word

---------

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2023-06-13 17:48:27 -06:00
Miguel de la Cruz
1215584665 Prevent boards product from being included automatically (#23539)
* Prevent boards product from being included automatically

* Fix config diff test

* Update prepackaged plugin version

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>

* Readd boards/dist to the gitignore

* Does not enable the focalboard plugin by default

* Update plugin version to v7.10.3

---------

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2023-06-12 18:51:43 +02:00
Maria A Nunez
d8cb5f3a6e Update prepackaged version for NPS (#23699) 2023-06-12 12:30:10 -04:00
Agniva De Sarker
efaa6264cc MM-53032: Fix module path after repo rename (#23689)
It was a good decision in hindsight to keep the public module as 0.x
because this would have been a breaking change again.

https://mattermost.atlassian.net/browse/MM-53032
```release-note
Changed the Go module path from github.com/mattermost/mattermost-server/server/v8 to github.com/mattermost/mattermost/server/v8.

For the public facing module, it's path is also changed from github.com/mattermost/mattermost-server/server/public to github.com/mattermost/mattermost/server/public
```
2023-06-11 10:54:35 +05:30
Jesse Hallam
8194817d54 disable coverage (#23686)
* disable coverage

This reduces runtime of the server test suite from ~30m to ~10m, and as far as I can see: we discarded the coverage output anyway.

* allow morph 60s to migrate when running tests
2023-06-09 12:29:08 +02:00
Ibrahim Serdar Acikgoz
a9645b634a server/Makefile: update morph usage in new-migration target (#23363) 2023-06-08 16:30:21 +03:00
Jesse Hallam
305fac6507 Service environment (#23443)
* fix fileutils.TestFindFile on MacOS

* introduce model.ExternalServiceEnvironment

* pick license public key from external service env

* pick Stripe public key from external service env

* pick Rudder key from external service env

* configure Sentry DSN from external service env

* always log external_service_environment, Unsetenv

* clear faked BuildEnv, improve logging

* strip out unset GOTAGS

* fix Sentry tests

* simplify to just ServiceEnvironment

* relocate ServiceEnvironment in client config

* initialize CWS URLs based on service environment

* unset rudder key for boards dev

* harden service environment to avoid accidental production

* fix TestSentry again

* fix DEFAULT -> ENTERPRISE

* s/dev/test when naming playbooks rudder key

* simplify boards rudder key switch

* use uniform rudderKey variable names

* retain compatibility with existing pipeline

* reduce to just production/test

* unit test with valid test license

* simplify Playbooks telemetry initialization

* restore dev service environment

* emit ServiceEnvironment when running e2e tests
2023-06-07 10:15:33 -03:00
Julien Tant
0468e772a9 [MM-52926] Deprecating work templates (#23466)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-05 18:42:03 -07:00
Miguel de la Cruz
951456c780 Includes mmctl into the mono-repo (#23091)
* Includes mmctl into the mono-repo

* Update to use the new public module paths

* Adds docs check to the mmctl CI

* Fix public utils import path

* Tidy up modules

* Fix linter

* Update CI tasks to use the new file structure

* Update CI references
2023-06-05 12:42:55 +02:00
Agniva De Sarker
c7295b01e5 Enable golangci-lint (attempt 2) (#23517)
This time we are just using the Makefile command
to see if that makes a difference
```release-note
NONE
```
2023-05-30 15:16:42 +05:30
Christopher Poile
d7cf652504 MM-52936 - Update prepackaged calls to v0.16.1 (#23504) 2023-05-25 13:10:28 -04:00
Michael Kochell
c4cea950f7 bump welcomebot plugin version to 1.3.0 (#23447) 2023-05-23 10:23:52 -04:00
José Peso
e1a2443f1a GitHub v2.1.6 and Jira v3.2.5 prepackaged (#23334) 2023-05-15 21:07:23 +02:00
Christopher Poile
831d51569e prepackage calls v0.16.0 (#23374)
Automatic Merge
2023-05-11 18:34:29 +03:00
Jesse Hallam
bb02b35048 Expose public/ API as submodule (#23345)
* model -> public/model

* plugin -> public/plugin

* public/model/utils -> public/utils

* platform/shared/mlog -> public/shared/mlog

* platform/shared/i18n -> public/shared/i18n

* platform/shared/markdown -> public/shared/markdown

* platform/services/timezones -> public/shared/timezones

* channels/einterfaces -> einterfaces

* expose public/ submodule

* go mod tidy

* .github: cache-dependency-path, setup-go-work

* modules-tidy for public/ too

* remove old gomodtidy
2023-05-10 13:07:02 -03:00