Skip to content

feat: implement secure WireGuard-based automated deployment pipeline#10

Merged
venkidesh04 merged 7 commits into
dev/cloud-deploymentfrom
feat/deployment-automation
Feb 25, 2026
Merged

feat: implement secure WireGuard-based automated deployment pipeline#10
venkidesh04 merged 7 commits into
dev/cloud-deploymentfrom
feat/deployment-automation

Conversation

@venkidesh04

Copy link
Copy Markdown
Contributor

This PR completes the CI/CD deployment automation using WireGuard VPN and private SSH.

Enhancements:

  • Artifact transfer via SCP
  • systemd-based zero-manual deployment
  • Automatic binary backup
  • Service verification and failure detection
  • Parallel test optimization
  • Build metadata embedding

Deployment now runs fully automated over private network without public SSH exposure.

- Configure GitHub Actions to establish WireGuard VPN tunnel
- Deploy to EC2 using private IP over VPN
- Remove dependency on public SSH access
- Improve security by avoiding open port 22 exposure
…test

- Removed direct public SSH deployment steps
- Added WireGuard VPN setup in deploy workflow
- Added VPN status verification step
- Added SSH connectivity test via private EC2 IP
- Added appleboy/scp-action step
- Transfers controller-linux to /tmp on private VM
- Prepares deployment stage for systemd integration
- Stops mini-heroku service before deployment
- Creates timestamped backup of existing binary
- Moves new controller binary into /opt directory
- Applies correct ownership and permissions
- Restarts systemd service
- Validates mini-heroku systemd service status
- Fails workflow if service is not active
- Prints last 50 journal logs for debugging
- Improves deployment reliability
…binary

- Converted test job to matrix-based execution
- Runs controller and CLI tests in parallel
- Reduces overall CI pipeline duration
- Embedded short Git commit SHA into controller binary
- Added UTC build timestamp via ldflags
- Improves build traceability and deployment visibility
@venkidesh04 venkidesh04 merged commit 48b6c03 into dev/cloud-deployment Feb 25, 2026
7 of 8 checks passed
@venkidesh04 venkidesh04 deleted the feat/deployment-automation branch March 17, 2026 08:26
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