Commit Graph

91 Commits

Author SHA1 Message Date
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
Doug Lauder
598fdd2d89
move pull request template file to repo root (#3482) 2022-07-29 14:00:38 -06:00
Doug Lauder
c0fb4d65c7
Remove contents of CODEOWNERS file to ensure group is not auto-assigned to all PRs (#3480) 2022-07-29 13:38:29 -04:00
Doug Lauder
4f33a50bfa
add pull request template for github (#3479) 2022-07-29 13:15:56 -04: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
Chen-I Lim
10427afa24
Tweaked bug template (#2529)
* Tweaked bug template

* Update .github/ISSUE_TEMPLATE/bug_report.md

Thanks, good idea!

Co-authored-by: Winson Wu <93531870+wuwinson@users.noreply.github.com>

Co-authored-by: Winson Wu <93531870+wuwinson@users.noreply.github.com>
2022-03-14 14:41:40 -07: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
Chen-I Lim
690dc365f5
Add note about Severity labels to bug template (#2195)
* Add note about Severity labels to bug template

* typo
2022-01-28 09:19:21 -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
Hossein
bfad610d15
Add Triage tag to new bugs (#1894) 2021-11-30 11:20: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
Justine Geffen
f5bf6e8019
Update templates for issues (#1175)
* Update doc_improvement.md

Update templates: formatting, style, example links.

* Update bug_report.md

* Update enhancement.md

* Fix merge

Co-authored-by: Chen-I Lim <46905241+chenilim@users.noreply.github.com>
2021-09-28 18:43:17 +02:00
Chen-I Lim
c64e6ed006 Add edition to bug template 2021-09-16 12:58:27 -07:00
Chen-I Lim
fbd513c37a
Fix #1229. Set telemetry key for production (#1230) 2021-09-16 11:32:57 -06:00
Chen-I Lim
e9f92e9edf Update bug templates with label capitalization 2021-09-09 14:57:33 -07: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
Carlos Tadeu Panato Junior
4b1136900d
add codeowners to make the PR auto assignment to work (#697) 2021-07-09 13:25:01 +02: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
it33
15498c913e
New template for requesting doc improvements (#548)
* New template for requesting doc improvements

I wanted to request a doc improvement and there wasn't a template to do so

* Rename doc_improvement to doc_improvement.md

* Update doc_improvement.md

* Update doc_improvement.md
2021-06-08 17:11:06 -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
Miguel de la Cruz
b327bc7b8a
Adds plugin actions to the project's CI (#471)
* Adds plugin actions to the project's CI

* Remove the version number from the generated artifact

* Change job name to something more descriptive

* Switch back to workflow_dispatch
2021-05-25 19:22:31 +02:00