Skip to content

Conversation

@brianbrix
Copy link
Contributor

No description provided.

- 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
@brianbrix brianbrix requested a review from Copilot December 25, 2025 13:28
Copy link
Contributor

Copilot AI left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant