Files
mattermost/enterprise.pin
T
Pavel Zeman 23ab604b96 ci: pin enterprise repo to explicit commit hash (#35957)
* ci: pin enterprise repo to explicit commit hash

Introduces an enterprise.pin file that explicitly pins the enterprise
commit the server is built and tested against. This replaces the
implicit HEAD checkout, eliminating the CI race condition for all
cross-repo changes.

Changes:
- enterprise.pin: pinned enterprise commit SHA
- server/Makefile: new bump-enterprise target to update the pin

Co-authored-by: Claude <claude@anthropic.com>

* ci: fix bump-enterprise error handling and path resolution

- Add set -e so recipe fails fast if git rev-parse fails
- Use $(ROOT)/../enterprise.pin instead of ../enterprise.pin to
  resolve path relative to Makefile location, not CWD

Co-authored-by: Claude <claude@anthropic.com>

* fix: add missing 'all' to .PHONY declaration in Makefile

Pre-existing issue flagged by CodeRabbit — the 'all' target (line 199)
was never declared phony. Out of scope for the enterprise.pin change
but trivial to fix.

Co-authored-by: Claude <claude@anthropic.com>

* ci: trigger Enterprise CI re-run

Co-authored-by: Claude <claude@anthropic.com>

---------

Co-authored-by: Claude <claude@anthropic.com>
2026-04-16 20:51:59 -04:00

4 lines
135 B
Plaintext

# Enterprise commit this server branch is tested against.
# Updated via: make bump-enterprise
b03e11ccf5dca59cc3ffd2ed8c73604c5a5a48b8