Skip to content

Azure mvp deploy - #15

Merged
baasith6 merged 7 commits into
mainfrom
azure-mvp-deploy
Jul 29, 2026
Merged

Azure mvp deploy#15
baasith6 merged 7 commits into
mainfrom
azure-mvp-deploy

Conversation

@baasith6

@baasith6 baasith6 commented Jul 29, 2026

Copy link
Copy Markdown
Owner

Summary by CodeRabbit

  • New Features

    • Added automated CI/CD deployment workflows with configurable VM, GPU, installer, and build options.
    • Added support for both local image builds and registry-based deployments.
    • Added automated Windows installer packaging and distribution.
    • Added deployment health checks for the dashboard and API.
  • Bug Fixes

    • Improved setup wizard validation, code normalization, and error messages.
    • Allowed unauthenticated access to setup endpoints required during onboarding.
  • Documentation

    • Added Jenkins deployment guidance and updated Azure deployment instructions.

baasith6 and others added 7 commits July 29, 2026 14:15
Enables CI, tarball deploy to /opt/onevo/app, and smoke tests from local Jenkins.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…aller tools.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 29, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@baasith6
baasith6 merged commit 275db81 into main Jul 29, 2026
2 of 6 checks passed
@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 576b6624-de2f-45c0-8ad9-aa25b2c2b140

📥 Commits

Reviewing files that changed from the base of the PR and between f58d7d4 and ee999a5.

📒 Files selected for processing (11)
  • .github/workflows/deploy-mvp.yml
  • Jenkinsfile
  • connector/app/admin.py
  • connector/app/backend_client.py
  • connector/app/wizard.py
  • docs/AZURE_MVP_DEPLOY.md
  • docs/JENKINS_DEPLOY.md
  • infra/mvp/PROVISIONED.md
  • infra/mvp/deploy.sh
  • scripts/deploy-vm.ps1
  • scripts/ensure-installer-tools.ps1

📝 Walkthrough

Walkthrough

The PR adds Jenkins and PowerShell deployment paths, standardizes deployment under /opt/onevo/app, supports ACR or local Docker builds, distributes installers to new locations, and improves setup wizard request validation and error handling.

Changes

Deployment pipeline and VM layout

Layer / File(s) Summary
Deployment parameters and directory contracts
Jenkinsfile, scripts/deploy-vm.ps1, infra/mvp/deploy.sh, infra/mvp/PROVISIONED.md, docs/AZURE_MVP_DEPLOY.md
Deployment parameters, environment variables, VM paths, and installer locations now use /opt/onevo/app.
Jenkins CI/CD pipeline
Jenkinsfile, docs/JENKINS_DEPLOY.md, docs/AZURE_MVP_DEPLOY.md, .github/workflows/deploy-mvp.yml
Jenkins builds backend, dashboard, and connector components in parallel, deploys to the VM, runs smoke tests, and documents pipeline operation.
PowerShell packaging and transfer
scripts/deploy-vm.ps1
The deployment script creates a filtered tarball, uploads it over SCP, optionally builds the installer, executes remote Docker deployment, and checks backend health.
Compose modes and installer distribution
infra/mvp/deploy.sh, .github/workflows/deploy-mvp.yml
Deployment selects ACR pulls or local image builds, conditionally enables GPU compose, and copies installers to both installer-site and connector/dist.
Installer tool provisioning
scripts/ensure-installer-tools.ps1
Installer prerequisites are downloaded, cached, validated, and copied into the configured tools directory.

Setup wizard request handling

Layer / File(s) Summary
Setup authorization and request contract
connector/app/admin.py, connector/app/wizard.py
Setup routes bypass admin authentication, and /wizard/claim accepts a typed request model with normalized setup codes.
Claim and browser error handling
connector/app/backend_client.py, connector/app/wizard.py
Claim failures and browser POST handlers now extract structured errors while safely handling non-JSON responses.

Estimated code review effort: 4 (Complex) | ~45 minutes

Sequence Diagram(s)

sequenceDiagram
  participant Jenkins
  participant DeployScript
  participant AzureVM
  participant DockerCompose
  Jenkins->>DeployScript: start deployment with VM and build parameters
  DeployScript->>AzureVM: upload application tarball and installer
  DeployScript->>AzureVM: run remote deployment script
  AzureVM->>DockerCompose: pull ACR images or build locally
  DockerCompose->>AzureVM: start application containers
  AzureVM->>AzureVM: check backend health endpoint
Loading

Possibly related PRs

✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Fix failing CI checks
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch azure-mvp-deploy

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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