-
Notifications
You must be signed in to change notification settings - Fork 9
feat: Add GitHub Actions deployment workflow for EC2 and A100 instances #230
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
Open
moarshy
wants to merge
22
commits into
main
Choose a base branch
from
feat/deploy-actions
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
- Created deploy.yml workflow for deploying application to multiple EC2 instances - Added deploy-readme.md with comprehensive documentation for deployment process - Configured workflow to trigger on push or merge to feat/deploy-actions branch - Implemented multi-instance deployment strategy with SSH-based deployment steps
…ployment - Update deploy-readme.md with comprehensive server setup and GitHub configuration instructions - Modify deploy.yml to prepare for main branch deployment - Simplify health check response in http_server.py
- Created deploy-a100.yml workflow for deploying application to A100 instance - Configured workflow to trigger on push or merge to feat/deploy-actions branch - Implemented deployment steps with SSH-based deployment and Docker compose - Updated health check response in http_server.py
- Include debug echo statements to trace deployment process - Log current user, directory, and deployment path - Add directory listing commands for troubleshooting
- Explicitly pass environment variables to SSH command - Add error handling for unset DEPLOY_PATH - Simplify deployment path ownership and navigation - Remove deployment-specific commands for cleaner workflow
…ker commands - Simplify SSH deployment script to focus on core deployment steps - Remove debug logging and error handling - Add direct git fetch, reset, and docker compose build commands - Integrate docker-ctl and launch.sh for deployment
- Add environment sourcing for conda/miniforge - Verify Python availability during deployment - Switch deployment to feat/deploy-actions branch - Use sudo with preserved environment for launch script - Improve deployment script robustness
…ecution steps - Simplify conda/miniforge environment activation - Add explicit PATH export for miniforge - Make docker-ctl.sh executable - Streamline deployment commands - Remove redundant Python version checks
…ing and deployment steps - Switch git fetch and reset to main branch - Add Python version and location checks - Implement conditional requirements.txt installation - Preserve Python environment during launch script execution - Enhance deployment script reliability and logging
- Create new GitHub Actions workflow for EC2 deployment - Implement matrix strategy to support multiple EC2 instances - Add dynamic host and SSH key selection based on instance number - Include deployment steps for fetching, resetting, and launching services - Enhance deployment status reporting with instance-specific messaging
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.
Add automated deployment workflow that triggers on push to main or merged PRs.
Changes: