Commit graph

174 commits

Author SHA1 Message Date
Akis Maziotis
09c4f13f2c
[feat] makefile adding an aprooval step for version bump targets (#202)
Ticket: https://mattermost.atlassian.net/browse/CLD-7957
2024-06-26 10:55:54 +03:00
Akis Maziotis
9805832b2f
[chore] Makefile - Allow releasing also from release.* branches (#201)
Rationale: https://hub.mattermost.com/private-core/pl/yim6z9us9fdtfrjkdf8i16tczw
2024-06-07 13:44:29 +03:00
Akis Maziotis
bd0e6f287b
[feat] Implementing new release process (#200)
Streamlining the release process for mattermost-plugins by integrating release and signing pipelines under the delivery platform.

This update automates signing and releasing by simply pushing a semver tag(e.g: v0.0.1) or by using the newly introduced Makefile targets.
```
make patch
make minor
make major
```

For Release Candidades(RC):
```
make patch-rc
make minor-rc
make major-rc
```

Signed-off-by: Akis Maziotis <akis.maziotis@mattermost.com>
2024-06-06 11:27:19 +03:00
Christopher Poile
4e15acf566
[MM-57855] Add manifest validation step (#198) 2024-04-22 11:03:18 -04:00
Ben Schumacher
cb94a72744
Fix flaky TestFilterLogEntries (#197) 2024-03-20 12:45:34 +01:00
Ben Schumacher
495541e965
Improve error message when plugin bundle is too large (#195) 2024-02-12 11:29:58 +01:00
Ben Schumacher
8dd6e7c187
Fetch plugin logs from server (#193)
Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>
2024-01-30 16:49:59 +01:00
Jesse Hallam
de0b31b48a
Sync with playbooks: install-go-tools, gotestsum, and dynamic versions (#192)
* Revert "Update main.go (#154)"

This reverts commit be4a281d0c.

* Revert "[MM-33506] Use embed package to include plugin manifest (#145)"

This reverts commit ca9ee3c17c.

* Revert "Don't generate manifest.ts (#127)"

This reverts commit 18d30b50bc.

* install-go-tools target, adopt gotestsum

* bring back make apply + automatic versioning

* Update build/manifest/main.go

Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com>

* suppress git describe error when no tags match

* make version/release notes opt-in

* fix whitespace in Makefile

* document version management options

---------

Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com>
2024-01-23 14:02:37 +00:00
Michael Kochell
376ea7e1f5
Disable unused-parameter golangci check (#191)
* add lint rule exclusion for unused-parameter

* re-introduce the unused parameters in plugin.go
2023-11-20 10:57:33 -05:00
Michael Kochell
846ffb50d3
Replace mattermost-webapp dependency with mattermost-redux (#190)
* replace mattermost-webapp dep with mattermost-redux

* remove references in tsconfig.json and webpack.config.js

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-06 20:06:52 -05:00
Michael Kochell
5237d354cf
fix ununsed param (#189) 2023-10-26 15:49:24 -04:00
Benjamin Loison
eef27c854b
Add JSON and Bash syntax highlighting to README.md (#187) 2023-08-15 16:04:35 -04:00
Ben Schumacher
d1047c7140
Remove build/sync tool (#186) 2023-08-02 12:45:06 +02:00
Ben Schumacher
8862f96d1f
[MM-53695] Make use of github.com/mattermost/mattermost/server/public (#185) 2023-08-01 21:07:15 +02:00
José Peso
b874f4747e
simplify server compile in one only block with options (#178)
Simplify make server command by setting a new var for gcflags based on MM_DEBUG.
2023-03-31 10:12:06 +02:00
Ben Schumacher
d17821a331
[MM-51751] Fix regex for tags trigger in CI/CD (#177) 2023-03-30 09:11:26 +02:00
Colton Shaw
121997e77a
Upgrade node to 16.13 (#163)
* Updated base packages and regenerated package-lock

* Added babel plugin to eslint, cleaned up webpack config

* Version requirements for node/npm in README

* Readded compass and css, removed by mistake

* Fixed jest testing

* Fixing lint issues.

* Moved import to use webapp redux package

* Fixed final jest issue

* Modified packages and rebuild packagelock for node 16.14

* Add src and mattermost-redux alias

* Update README.md

Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com>

* Adding nvm and removing the default type from the package

* Delete root package-lock.json

* Pinned to webapp v7, rebuild package log

* fixed imports with TS

* change tsconfig location pointer

* updates for vscode-eslint to work with tsconfig subpath

* don't import webapp for tests

* remove "v" from .nvmrc

---------

Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-02-22 02:23:38 -05:00
Spiros Economakis
c0b3c8b760
Migrate from CircleCI to Github Actions (#173)
CI/CD reusable workflows in Github Actions for Plugin software lifecycle

Ticket: https://mattermost.atlassian.net/browse/CLD-4816
2023-02-07 11:39:25 +02:00
moussetc
e7fd65fd4e
Update plugin.json (#174)
Bump up min_server_version to match mattermost-server in go.mod

Fixes #172
2023-02-06 17:41:47 -05:00
Harrison Healey
59b6596936
MM-47046 Use version of Reaact DOM provided by web app (#169)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-02 14:54:07 -04:00
Ben Schumacher
2474dfc803
[MM-43713] Disable CGO for all builds (#167) 2022-10-07 20:40:37 +02:00
Ben Schumacher
2879447b47
Update orb version (#170) 2022-10-07 20:24:44 +02:00
Michael Kochell
2629a23a05
Create .gitpod.yml (#166) 2022-05-06 12:27:19 -04:00
Colton Shaw
18b436aa4c
Added Enable upload to plugins (#162) 2022-01-27 11:34:34 +01:00
Ben Schumacher
0f9b8ba790
Only build binary for current architecture in dev mode (#161) 2022-01-17 13:15:25 +01:00
Carlos Tadeu Panato Junior
05c25c4c47
add linux arm64 targets (#160) 2021-11-02 14:45:37 +01:00
Ben Schumacher
4571b3b71c
[MM-38075] Update server dependency (#158) 2021-09-07 17:47:26 +02:00
Ben Schumacher
a80b066195
[MM-38075] Use mattermost-server/v6 (#157) 2021-08-25 09:29:26 +02:00
Jesse Hallam
f547011d23
add arm64 support (#155)
* add arm64 support

* arm64s arent exe...

* s/windows/darwin/
2021-06-16 09:38:16 -03:00
Chetanya Kandhari
be4a281d0c
Update main.go (#154) 2021-06-01 09:38:41 +02:00
Ben Schumacher
ca9ee3c17c
[MM-33506] Use embed package to include plugin manifest (#145) 2021-05-18 15:51:24 +02:00
Ben Schumacher
f5cae51a20
Disable fieldalignment golangci-lint check (#149) 2021-04-29 17:15:58 -03:00
Haardik Dharma
660543084e
Update plugin.json to make template more "marketplace-ready" (#144)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2021-02-22 21:13:17 +01:00
dependabot[bot]
d362217b0a
Bump ini from 1.3.5 to 1.3.8 in /webapp (#141)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-12 08:05:08 +01:00
Domas Monkus
54637e7313
Synchronization tool file history tests modified to set up a temporary git repo (#138) 2020-11-03 10:19:36 +01:00
Artur M. Wolff
e8103502da
Fix .editorconfig (#137) 2020-10-20 16:37:29 +02:00
moussetc
d3786e75dd
Update README with files to edit manually (#133)
Co-authored-by: Alejandro García Montoro <alejandro.garciamontoro@gmail.com>
2020-10-16 13:01:54 +02:00
Domas Monkus
95bcc7ac80
Disable git file history test that relies on commits not being squashed in github PR merges. (#135) 2020-10-09 11:55:14 +02:00
Domas Monkus
5eb33f8675
Removed file git history (#128) 2020-10-09 09:52:05 +02:00
Ben Schumacher
57f7843ae1
Make plan.yml general purpose (#125) 2020-10-09 09:42:45 +02:00
Jared Shields
a09b4949fe
Removed trailing slash from site url. (#120)
* Removed trailing slash from site url.

* Reverted trimming of the URL. Updated reference in the build's go.mod to use specific commit in mattermost-server that contains fix for trailing slashes on the site url.

Co-authored-by: jshields <jshields@caci.com>
2020-09-28 09:59:39 -03:00
Artur M. Wolff
2dffc39e61
Skip the webapp/package.json if it is missing (#130) 2020-09-24 17:07:15 -04:00
Ben Schumacher
d9532472eb
Migrate index.js to use Typescript (#129)
* Migrate index.js to use Typescript

* Fix tests
2020-09-24 09:42:36 +02:00
Ben Schumacher
18d30b50bc
Don't generate manifest.ts (#127) 2020-09-23 01:14:00 +02:00
Ben Schumacher
eae9f9826a
Fix bad merge (#126) 2020-09-17 02:36:58 +02:00
Michael Kochell
511805e36c
Add separate go.mod to build folder (#119)
Co-authored-by: Hanzei <hanzei@mailbox.org>
2020-09-17 01:55:20 +02:00
Ben Schumacher
dcaf9dd289
Fix issues with Repository synchronization tool (#124)
* Only run tests in build/sync if directory exists

* Use t.Helper()

* Don't compare size of directories

* Fix TestFileHistory

* Fix linter issue

* Apply changes from https://github.com/mattermost/mattermost-plugin-github/pull/345

* Use ts file for tests

* Add sync target
2020-09-15 12:32:37 -04:00
Domas Monkus
0688e8df4c
MM-21722 - Repository synchronization tool (#86) 2020-09-13 15:30:09 +02:00
Jared Shields
4e7a2d3734
Updated readme to describe new method of invoking the debug builds. (#117) 2020-08-24 10:39:22 -04:00
Ben Schumacher
dfa4dc13dd
Drop interfacer and goconst from golangci-lint config (#118) 2020-08-24 15:01:50 +02:00