mattermost/.github/workflows
2024-06-28 10:08:18 +02:00
..
api.yml feat: Upgrade github actions for node20 (#26318) 2024-02-28 10:55:04 +02:00
build-server-image.yml fix: Fix buildEnv Dockerfile path (#27191) 2024-05-29 19:27:12 +03:00
codeql-analysis.yml MM-57245: Bump up Go version to 1.21 (#26512) 2024-03-21 09:12:35 +05:30
docker-push-mirrored.yml feat: Upgrade github actions for node20 (#26318) 2024-02-28 10:55:04 +02:00
e2e-fulltests-ci.yml Fix concurrency for daily tests (#27480) 2024-06-28 10:08:18 +02:00
e2e-tests-ci-template.yml CLD-5704 Migrate daily master/cloud tests (#27393) 2024-06-25 15:46:05 +02:00
e2e-tests-ci.yml CLD-798 Add support for MM_ENV, various fixes (#26616) 2024-04-03 12:14:19 +02:00
esrupgrade-common.yml feat: Upgrade github actions for node20 (#26318) 2024-02-28 10:55:04 +02:00
esrupgrade.yml Disable certain actions from running on forks (#23747) 2023-08-08 16:45:24 -04:00
i18n-ci-pr.yml prevent modifying non-English translation files (#25002) 2023-10-19 14:40:06 -03:00
i18n-ci-template.yml feat: Upgrade github actions for node20 (#26318) 2024-02-28 10:55:04 +02:00
migration.yml MM-57245: Bump up Go version to 1.21 (#26512) 2024-03-21 09:12:35 +05:30
mmctl-test-template.yml MM-57245: Bump up Go version to 1.21 (#26512) 2024-03-21 09:12:35 +05:30
README.md MM-52712: Prevent CI cancellation in master (round 2) (#23293) 2023-05-09 23:49:06 +05:30
scorecards-analysis.yml fix: Update scorecard workflow (#24457) 2023-09-04 13:49:49 +03:00
sentry.yaml feat: Upgrade github actions for node20 (#26318) 2024-02-28 10:55:04 +02:00
server-ci-artifacts.yml fix: Add missing Github Token for download artifacts from other workflows (#27202) 2024-05-31 09:46:04 +03:00
server-ci-master.yml feat: Upgrade github actions for node20 (#26318) 2024-02-28 10:55:04 +02:00
server-ci-pr.yml feat: Introduce go-version file to support multiple go versions on CI (#25271) 2023-11-03 16:25:54 +02:00
server-ci-template.yml fix: Update download action with the official one (#27194) 2024-05-29 19:30:37 +03:00
server-test-template.yml fix: Migrate notifications to reusable actions (#26792) 2024-04-21 21:10:50 -04:00
tag-public-module.yaml feat: Upgrade github actions for node20 (#26318) 2024-02-28 10:55:04 +02:00
webapp-ci-master.yml feat: Upgrade github actions for node20 (#26318) 2024-02-28 10:55:04 +02:00
webapp-ci-pr.yml fix: Add e2e-tests paths for tests trigger (#23894) 2023-07-12 10:52:05 +03:00
webapp-ci-template.yml feat: Upgrade github actions for node20 (#26318) 2024-02-28 10:55:04 +02:00

Background

This document aims to explain the bunch of server and webapp yaml files and their functionality.

The context behind this complexity is that we want new pushes to PR branches to cancel older in-progress and pending CI runs, but we don't want that to happen in master branch. Unfortunately, there is no config knob to control pending workflows and if you set a concurrency group, then pending workflows will always be canceled. Refer to https://github.com/orgs/community/discussions/5435 for discussion.

Therefore, we have a template yaml file which is actually the main CI code. That is then imported by {server|webapp}-ci-master.yml and {server|webapp}-ci-pr.yml. The -master.yml files don't have any concurrency limits, but -pr.yml files do.

Folder structure

server-ci-pr | ---server-ci-template | ---server-test-template (common code for postgres and mysql tests)

server-ci-master | ---server-ci-template | ---server-test-template (common code for postgres and mysql tests)

webapp-ci-pr | ---webapp-ci-template

webapp-ci-master | ---webapp-ci-template