Skip to content

Mtor/prod 15615#455

Merged
sellisd merged 5 commits intomainfrom
mtor/PROD-15615
Mar 26, 2026
Merged

Mtor/prod 15615#455
sellisd merged 5 commits intomainfrom
mtor/PROD-15615

Conversation

@MohcineTor
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread Babylon/commands/macro/deploy.py Dismissed
Comment thread Babylon/commands/macro/deploy.py Dismissed
Comment thread Babylon/commands/macro/deploy.py Dismissed
Comment thread Babylon/commands/macro/deploy.py Dismissed
Comment thread Babylon/commands/macro/deploy.py Dismissed
Comment thread Babylon/commands/macro/deploy.py Dismissed
Comment thread Babylon/commands/macro/deploy.py Dismissed
Copy link
Copy Markdown
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 updates Babylon’s dependency set and workflow tooling while extending the workspace lifecycle to manage additional Kubernetes resources (workspace Secret + CoAL ConfigMap) and improving troubleshooting output when Kubernetes secrets are missing.

Changes:

  • Bump Python dependencies (incl. cosmotech-api, ruff, Azure SDKs) and refresh uv.lock.
  • Add Kubernetes Secret/ConfigMap creation during workspace deploy and deletion during destroy.
  • Rename webapp URL inputs from cluster_domain to cluster_name + domain_zone, update templates, and bump azure/login action to v3.

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
uv.lock Refresh locked dependency versions and transitive set (incl. docs tooling deps).
pyproject.toml Bump cosmotech-api to 5.0.1 and ruff minimum to 0.15.7.
Babylon/version.py Bump Babylon version string to 5.1.0.
Babylon/utils/environment.py Add richer troubleshooting output (active kubectl context + Babylon namespace info) when a secret is missing.
Babylon/templates/working_dir/.templates/yaml/variables.yaml Replace cluster_domain with domain_zone variable.
Babylon/templates/working_dir/.templates/yaml/Webapp.yaml Update payload field from cluster_domain to domain_zone.
Babylon/commands/macro/deploy.py Add helpers to create/delete workspace Secret and CoAL ConfigMap; update webapp URL computation to use domain_zone.
Babylon/commands/macro/deploy_workspace.py Call new deploy helpers after schema init.
Babylon/commands/macro/destroy.py Delete the newly created Kubernetes resources during destroy.
.github/workflows/ci.yml Update azure/login from v2 to v3.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Babylon/commands/macro/deploy.py
Comment thread Babylon/commands/macro/deploy.py
Comment thread Babylon/commands/macro/deploy.py
Comment thread Babylon/commands/macro/destroy.py
Comment thread Babylon/utils/environment.py
Comment thread Babylon/commands/macro/deploy.py
Comment thread Babylon/commands/macro/deploy_workspace.py

from Babylon.commands.api.workspace import get_workspace_api_instance
from Babylon.commands.macro.deploy import get_postgres_service_host, update_object_security
from Babylon.commands.macro.deploy import (
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The macro command for creating a workspace is very different from the micro-command that just reflects the API, I wonder if it is worth adding some comment in the source to make this clear

@sellisd sellisd merged commit cc8e24b into main Mar 26, 2026
13 of 14 checks passed
@sellisd sellisd deleted the mtor/PROD-15615 branch March 26, 2026 13:31
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.

4 participants