Conversation
Signed-off-by: Stavros Foteinopoulos <stafot@gmail.com>
Signed-off-by: Stavros Foteinopoulos <stafot@gmail.com>
Signed-off-by: Stavros Foteinopoulos <stafot@gmail.com>
25631ad to
bde3be4
Compare
Signed-off-by: Stavros Foteinopoulos <stafot@gmail.com>
angeloskyratzakos
approved these changes
Jul 7, 2025
Contributor
angeloskyratzakos
left a comment
There was a problem hiding this comment.
Amazing work! well done @stafot LGTM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Optimize GitHub Actions Workflows for 3-5x Faster Builds
🚀 Optimize GitHub Actions Workflows for 3-5x Faster Builds
Overview
This PR dramatically improves CI/CD performance by replacing slow multi-platform builds with fast parallel native builds, while maintaining clean multi-platform images and backward compatibility.
🎯 Key Performance Improvements
🔧 Technical Changes
GitHub Actions Workflows
CI Workflow (
.github/workflows/ci.yml)ubuntu-24.04, ARM64 onubuntu-24.04-arm64Release Workflow (
.github/workflows/release.yml)build-image-parallel-with-tagsmake target$(IMAGE),$(IMAGE)-$(BUILD_TIME),$(REPO):${TAG}notify-release.ymlMakefile Enhancements
New Optimized Targets
Improvements Made
build-image-parallelinstead of legacy buildsvetnaming conventionE2E Test Optimization
Dockerfile.e2e Changes
🏗️ Architecture Improvements
Clean Multi-Platform Images
Before: Platform-specific tags
After: Clean unified tags
mattermost/mattermost-cloud:latest # Multi-platform manifestParallel Build Strategy
graph TB A[Lint & Test] --> B[Build AMD64] A --> C[Build ARM64] B --> D[Create Clean Manifest] C --> D D --> E[Push to Docker Hub] B -.->|"ubuntu-24.04<br/>Native"| F[30m] C -.->|"ubuntu-24.04-arm64<br/>Native"| G[20m] D -.->|"No Platform Suffixes"| H[Clean Images]🧪 Testing & Validation
Local Testing Setup
Performance Validation
🔄 Backward Compatibility
$(IMAGE),$(IMAGE)-$(BUILD_TIME),$(REPO):${TAG}📚 Documentation Updates
🎉 Benefits
For Developers
For Users
For Infrastructure
🔍 Testing Instructions
Local Testing:
ACT Testing (optional):
Performance Verification:
🚨 Breaking Changes
None - This is a performance optimization that maintains full backward compatibility.
🔗 Related Issues
Ready to merge: All optimizations tested and validated. Expected 3-5x performance improvement with zero breaking changes.
Ticket Link
https://mattermost.atlassian.net/browse/CLD-9358
Release Note