1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-21 13:38:56 +02:00
Commit Graph

85 Commits

Author SHA1 Message Date
Agniva De Sarker
d6207dde6c
MM-49703: Bump to Go 1.19 (#4489) (#4502)
Also fix some gofmt issues

https://mattermost.atlassian.net/browse/MM-49703
2023-01-23 12:43:40 +05:30
Doug Lauder
50e15f3804
Revert "MM-49703: Bump to Go 1.19 (#4489)" (#4499)
This reverts commit 2d0dde21dd.
2023-01-20 21:58:27 +05:30
Agniva De Sarker
2d0dde21dd
MM-49703: Bump to Go 1.19 (#4489)
* MM-49703: Bump to Go 1.19

Also fix some gofmt issues

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

* Bump versions in go.mod

* Update go.work as well

* Bump GolangCI to 1.50.1

* Upgraded to new builder image
2023-01-20 11:06:16 -05:00
Scott Bishel
0adde49cd8
Fix prod workflow (#4266)
* don't exclude server from build

* fix a couple more places

* fix a one more place
2022-11-29 17:45:32 -07:00
Scott Bishel
6b890d4963
Fix prod workflow (#4264)
* don't exclude server from build

* fix a couple more places
2022-11-29 17:26:09 -07:00
Scott Bishel
c9a1733824
don't exclude server from build (#4262) 2022-11-29 16:44:19 -07:00
Scott Bishel
571aa2ca99
remove extra run tag for plugin check (#4260) 2022-11-29 14:44:25 -07:00
Scott Bishel
5db87a8353 don't check plugin when building ubuntu 2022-11-29 11:52:50 -07:00
Scott Bishel
24aa8bd541 update for MPA 2022-11-29 10:34:45 -07:00
Miguel de la Cruz
a96fa493eb
Set down migrations as noops and add CI job (#4186) 2022-11-10 17:04:40 +01:00
Miguel de la Cruz
821e3e1c85
Add mariadb tests and update database migration for compatibility (#3929)
* Add mariadb tests and update database migration for compatibility

* add additional tests for migrating json fields

* remove unnecessary test

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-10-20 07:36:13 -06:00
Rohitesh Gupta
04a53f4b7b
Updated CodeQL to latest version 2022-10-18 16:52:00 +05:30
Mustafa Kara
e7b5830a20
Modify go.work file to include multi-product architecture repositories by default (#3516)
* Fix pipelines and makefile to build multi-product architecture repositories

Signed-off-by: Mustafa Kara <mustafa.kara@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: wiggin77 <wiggin77@warpmail.net>
2022-08-03 12:28:07 +03:00
Ibrahim Serdar Acikgoz
67608a833b
Update product adapter for changes in the UserService (#3401)
* reflect changes in server regarding to user service

* include server into build even in CI

* Fix lint pipeline to use only local repositories

Signed-off-by: Mustafa Kara <mustafa.kara@mattermost.com>

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Mustafa Kara <mustafa.kara@mattermost.com>
2022-07-28 10:03:55 +05:30
Mustafa Kara
ba73ab082d
Update .github/workflows/lint-server.yml
Co-authored-by: Akis Maziotis <36594156+phoinixgrr@users.noreply.github.com>
2022-07-26 11:29:08 +03:00
Mustafa Kara
ea37064e94
Update .github/workflows/lint-server.yml
Co-authored-by: Akis Maziotis <36594156+phoinixgrr@users.noreply.github.com>
2022-07-26 11:28:58 +03:00
Mustafa Kara
4fa713d75b
Fix pipeline code
Signed-off-by: Mustafa Kara <mustafa.kara@mattermost.com>
2022-07-25 17:08:02 +03:00
Mustafa Kara
b3f28693f1
Update lint-server.yml 2022-07-25 17:05:04 +03:00
Mustafa Kara
794307556f
Fix lint pipeline to fetch enterprise repo
Signed-off-by: Mustafa Kara <mustafa.kara@mattermost.com>
2022-07-25 17:01:29 +03:00
Paul Esch-Laurent
ba64de9fa1
ci: test & lint mattermost-plugin (#3156)
* ci: test & lint `mattermost-plugin`

* chore: fix mattermost-plugin/webapp linting

* lint: fix eslint errors

* ci: run `make webapp-ci`

* test: fix non-idempotent snapshot tests

* chore: `npm run i18n-extract`

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-07-13 08:28:13 +02:00
Harshil Sharma
2ab4e95289
Updated go version (#3189)
* Updated go version

* Generated mocks

* lint fix

* lint fix

* lint fix

* Updated gitlab builder image
2022-06-06 10:18:21 +02:00
Doug Lauder
979807a3b6
Bump versions of github actions, golangci-lint, and Go (#2844)
* Bumps versions of github actions, golangci-lint, and Go
* fix lint plugin;  use make file
2022-04-19 21:18:47 -04:00
Chen-I Lim
c9e449ee85 CI: Mac - only run integration tests 2022-04-13 15:47:35 -07:00
Chen-I Lim
5b423d6647
CI updates: Speed up register / login, minimize Windows tests, and add Mac tests (#2784)
* Upgrade npm in build-ubuntu

* npm i -S moment

* Don't upgrade npm

* macos-latest on build-mac

* Update dev-release.yml

* Add CI for macOS

* Lower password hash during unit tests

* Add comment

* Only integration tests on Windows

* Tweak TestCreateRecurringTask timings

* Fix server-test-mini-sqlite
2022-04-13 15:36:20 -07:00
Chen-I Lim
3264902131
Fix #2770: Handle Windows path in import and tests (#2771)
* Upgrade npm in build-ubuntu

* npm i -S moment

* Don't upgrade npm

* macos-latest on build-mac

* Update dev-release.yml

* Support Windows in import archive and tests

* Run CI on Windows too

* CI: Windows SQLite only

* Remove npm ci fromn Windows CI
2022-04-13 10:17:04 -07:00
Doug Lauder
a5565dcfa1
Generate templates archive at build time (#2577) 2022-03-30 18:10:11 -04:00
Chen-I Lim
8caf02a4be
Fix CI (#2619)
* Upgrade npm in build-ubuntu

* npm i -S moment

* Don't upgrade npm

* macos-latest on build-mac

* Update dev-release.yml

* Fix CI
2022-03-23 14:53:48 -07:00
Jesús Espino
50977bcd28
Trying to parallize tests (#2608)
* Trying to parallize tests

* Fixing yml syntax

* Split server and webapp tets

* Trying to fix the ci server build

* Trying to fix the ci server build

* Trying to fix the ci.yml file
2022-03-23 15:51:52 -04:00
Jesús Espino
03864823dc
Run make server-test-sqlite to run only against sqlite for that part of the job (#2605) 2022-03-23 20:13:07 +01:00
Ossi Väänänen
827e3e22e3
Replace npm install with npm ci to ensure dependencies are properly (#2288)
pinned during CI/CD`
2022-03-04 07:14:16 -07:00
Chen-I Lim
5ba81b4c27
Update GitHub workflow to use Windows 2022 (#2348)
* Upgrade npm in build-ubuntu

* npm i -S moment

* Don't upgrade npm

* macos-latest on build-mac

* Update dev-release.yml

* Use windows-2022

* Debug: Dir

* Win SDK path

* Dir

* Use Win SDK 10.0.19041.0

* Cleanup

* Add Win requirements to readme

* Add Windows SDK download link to readme
2022-02-16 07:43:09 -08:00
Chen-I Lim
14b2103f85
Fix #2346. Revert to Windows 2019 for GitHub actions (#2347) 2022-02-15 13:26:17 -08:00
Chen-I Lim
64c4be7e1b
GitHub: workflows: Use macOS 11 and Xcode 13.2.1 (#2338)
* GitHub: workflows: Use macOS 11 and Xcode 13.2.1

* Update readme with macOS version
2022-02-14 18:52:38 -08:00
Ossi Väänänen
a0185bf514
Add scorecards analysis (#2186)
Github Action for Scorecard
https://github.com/ossf/scorecard

The Scorecard provides a (somewhat opinionated) view on the security posture of the repository -- we (the product security team) would like to adopt this on our key repositories to identify possible security improvements
2022-01-31 14:40:20 -08:00
Doug Lauder
0727fbc96a
run CI against all PRs and pushes, in any branch (#2056) 2022-01-06 12:33:29 -05:00
Doug Lauder
7af9e18a49
Test all supported databases in CI (#2000)
* add mysql and postgres tests to CI
2021-12-17 12:30:47 -05:00
Chen-I Lim
902a25c265
Fix #1663. Remove unused workflows. (#1674) 2021-10-27 08:42:16 -07:00
Doug Lauder
992ad833d1
run all CI on PRs to be merged with release branches (#1390) 2021-10-01 10:24:21 -04:00
Chen-I Lim
80b9abf9dd
Fix #1365. Run CI workflows on release branches (#1366) 2021-09-30 12:09:38 -07:00
Chen-I Lim
fbd513c37a
Fix #1229. Set telemetry key for production (#1230) 2021-09-16 11:32:57 -06:00
Scott Bishel
94e6e8a9f7
Plugin telemetry (#1069)
* implement webapp telemetry

* cleanup

* remove imports, update events

* change event title

* update for lint

* add test, update filename

* linter fix

* fix field name

* revert changes

* fix test

* update builds

* fix workflows

* fix workflows

* fix workflow

* temp checkin

* remove log lines

* updates from peer review
2021-09-01 15:53:27 -06:00
Miguel de la Cruz
f9c76d8129
Update focalboard to be compatible with mattermost v6 (#1020)
* Update focalboard to be compatible with mattermost v6

* Point to the new plugin API version

* Fix collectors linter issues

* Move all CI jobs to 1.16
2021-08-24 12:13:58 +02:00
kamre
b2346fcacf
Use cross-env instead of win-node-env (#656)
* File `package-lock.json` updated.

* Use `cross-env` for setting environment variables in npm scripts.

* Remove all the mentions of `win-node-env` because it is no longer needed for running npm scripts.

Co-authored-by: Chen-I Lim <46905241+chenilim@users.noreply.github.com>
2021-07-15 19:30:22 -07:00
Doug Lauder
a0524dd386
Lint server & plugin for CI (#720)
* enable CI linting for server and plugin
* replace `golint` (deprecated) with `revive`
* use GH actions for lint
2021-07-14 09:36:18 -04:00
Chen-I Lim
7ad24e6b1d Add workflow_dispatch to dev_release workflow - fix yml 2021-07-01 09:41:57 -07:00
Chen-I Lim
0a1de477e8 Add workflow_dispatch to dev-release workflow 2021-07-01 09:38:48 -07:00
Chen-I Lim
2683f73654 Add the plugin build to prod-release 2021-06-10 16:29:27 -07:00
Chen-I Lim
8f33875230 Add dev-release action for commits and PRs 2021-06-03 09:22:17 -07:00
Rohitesh Gupta
5d854caca3
Create codeql-analysis.yml (#510) 2021-06-02 18:34:55 +02:00
Carlos Tadeu Panato Junior
36acff4476
Add GitLab ci to build internally and bump go to 1.16 (#468)
* update go to 1.16

* add gitlab ci to build focalboard
2021-05-26 12:34:42 +02:00