-
Notifications
You must be signed in to change notification settings - Fork 7
Port AMP CI/CD to GitHub Actions #4452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Port AMP CI/CD to GitHub Actions #4452
Conversation
- Add GitHub Actions workflow for building and deploying AMP - Optimize Docker build process (skip tests, improve caching) - Add commit-hash-based image tagging for faster deployments - Fix Maven version parsing to avoid slow Maven initialization - Fix Dockerfile to ensure Java classes are compiled - Update database image registry configuration - Add comprehensive deployment documentation
…b-actions # Conflicts: # .github/workflows/deploy.yml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR migrates AMP's CI/CD pipeline from a previous system to GitHub Actions, introducing workflow improvements for building and deploying Docker images across multiple environments and countries.
Key Changes:
- Enhanced Docker build reliability with npm retry logic and improved layer caching strategy
- Added support for PR-based deployments with validation and tracking
- Optimized build performance through commit-hash-based image caching and parallel layer builds
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| amp/Dockerfile | Restructured build stages to separate dependency installation from source code copying, added npm retry configurations, and introduced test skipping capability for faster deployments |
| .github/workflows/deploy.yml | Created comprehensive deployment workflow with PR deployment support, SSH configuration for submodules, commit-hash-based image caching, and enhanced deployment validation |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Resolve copilot comments
Optimizing build
Optimizing build
Use maven cache flag in java setup step
remove maven cache flag in java setup step
Testing maven cache
Testing maven cache
No description provided.