Skip to content

Project 4 Days 1-3: registry, versioned image build, automated deployment to VPS - #6

Merged
Ronaldo-F-dev merged 11 commits into
mainfrom
feature/registry-and-cicd-variables
Aug 6, 2026
Merged

Project 4 Days 1-3: registry, versioned image build, automated deployment to VPS#6
Ronaldo-F-dev merged 11 commits into
mainfrom
feature/registry-and-cicd-variables

Conversation

@Ronaldo-F-dev

Copy link
Copy Markdown
Owner

Summary

  • Day 1: GHCR registry chosen and configured, CI/CD secrets set up (REGISTRY_, DEPLOY_), deployment user/SSH/app directory prepared on the VPS
  • Day 2: docker_build job tags (commit SHA + version) and pushes images to GHCR, tested with a deliberate build failure then fix
  • Day 3: docker-compose.prod.yml, scripts/deploy.sh, and a deploy job (SSH to VPS, pull, up, healthcheck) — gated behind manual approval on the production environment
  • Migrated the existing manual Project 2 deployment (/home/ronaldo/app) data to the new automated path, reusing the same Postgres volume (app_postgres_data) so no data is lost

Test plan

  • Approve the production deployment when prompted
  • Confirm the app responds after deployment (/health, /version)
  • Confirm PostgreSQL data (existing tasks) is still present after cutover

@sonarqubecloud

sonarqubecloud Bot commented Aug 6, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@sonarqubecloud

sonarqubecloud Bot commented Aug 6, 2026

Copy link
Copy Markdown

@Ronaldo-F-dev
Ronaldo-F-dev merged commit a1058f6 into main Aug 6, 2026
14 checks passed
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