Files
mattermost/.github/workflows
Jesse Hallam 42c53ef464 Use chainctl for fips build images (#33674)
We need to identify ourselves to Chainguard for pulling images during
build steps. Note that the identity value is not a secret, at least in
so far as we're already using it this way over at
https://github.com/mattermost/mattermost/pull/33549/files.
2025-08-13 19:43:46 +00:00
..
2025-08-07 13:39:05 +08:00
2025-07-22 20:40:55 +05:30

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

server-ci-master | ---server-ci-template | ---server-test-template

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

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