Skip to content

Production Deploy#3604

Merged
davidsmejia merged 67 commits into
masterfrom
dev
Jul 2, 2026
Merged

Production Deploy#3604
davidsmejia merged 67 commits into
masterfrom
dev

Conversation

@davidsmejia

Copy link
Copy Markdown
Contributor

This pull request introduces significant improvements and refactoring to the deployment pipeline, especially around environment variable management, Docker image building, and deployment orchestration. The main goals are to standardize environment variable names, remove legacy scripts, and modernize the build and deploy process for better reliability and maintainability.

The most important changes are:

Deployment Pipeline Refactoring:

  • Standardized environment variable names in .github/scripts/remote_deploy.sh and .github/workflows/config.yml, replacing CI_TAG and CI_USERNAME with DEPLOY_TAG and DEPLOY_USER throughout the workflow. This ensures consistent and clear naming for deployment metadata. [1] [2] [3] [4] [5] [6]
  • The deploy script now resolves environment-specific values (like DEPLOY_ENV, DOCKERHUB_REPO, and BATCH_USE_ON_DEMAND_INSTANCES) directly from the BRANCH variable, simplifying and centralizing environment configuration.

Docker Build and Verification:

  • Replaced the legacy Docker build invocation with a call to ./bin/rbio build --push deploy, and added explicit verification that all images exist on Dockerhub before proceeding with deployment. This addresses previous issues where Docker could exit successfully even if pushes failed.

Terraform and Legacy Script Removal:

  • Removed the obsolete .github/scripts/run_terraform.sh script, migrating infrastructure deployment to the new ./bin/rbio deploy:up command. This streamlines and modernizes infrastructure management. [1] [2]

Workflow Improvements:

  • Updated all CI steps that started services with bin/rbio dev:up to use the new bin/rbio compose:up command, reflecting the current recommended approach for service orchestration. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]

Miscellaneous:

  • Upgraded the pre-commit-hooks version in .pre-commit-config.yaml from v2.4.0 to v5.0.0 to use the latest linting and formatting hooks.

These changes collectively modernize the deployment pipeline, improve reliability, and make the process more transparent and maintainable for future development.

…ks-py313-compat

ci: bump pre-commit/pre-commit-hooks to v5.0.0 for Python 3.13 compat
…foundation

rbio: add @requires decorator + mtime-gated common sdist rebuild
…local-dev

rbio: add compose:* + new dev:* + test:all (local dev surface)
…cloud

rbio: add deploy:* ops:* install:* (cloud surface)
…diagnostics

rbio: add debug:* diagnostics (env, deps, venv)
…ate-format-batch

relocate format_batch_with_env.sh into infrastructure/
…hell-callers

api: migrate serve scripts to rbio build + refinebio_default network
…structure-callers

infra/deploy.sh: drop scripts/common.sh source, inline its consumers
…rkflow

ci: switch deploy to rbio commands, inline branch resolution, rename CI_* -> DEPLOY_*
…ntu-22

upgrade base ubuntu 22 + common sdist output file name fix
…a-compendia

Move compendia off of nvidia cuda image and onto base
…mpendia-timeout

fix list compendia timeout

@nozomione nozomione left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍

migrage drf-yasg OpenAPI2-> drf-spectacular OpenAPI3
@davidsmejia davidsmejia merged commit eacad89 into master Jul 2, 2026
7 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.

3 participants