deploy-dev

Deploy code and infrastructure updates to development environments using Terraform.

25|11|Updated Feb 6, 2025
One-click install
npx skills add https://github.com/METR/inspect-action --skill deploy-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deploy-dev
Source: https://github.com/METR/inspect-action/tree/main/.claude/skills/deploy-dev
Command: npx skills add https://github.com/METR/inspect-action --skill deploy-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of deploying code changes to development environments, applying infrastructure updates, and verifying the deployed changes end-to-end.

Core Features & Use Cases

  • Targeted Deployments: Apply infrastructure changes to specific modules within the development environment.
  • Full Deployments: Execute comprehensive plans and apply all infrastructure changes.
  • Database Migrations: Manage and apply database schema updates.
  • Smoke Testing: Verify the functionality and stability of the deployed environment.
  • Use Case: After pushing a new feature branch, use this skill to deploy the changes to dev2, run database migrations, and then execute smoke tests to ensure everything is working as expected.

Quick Start

Deploy the API module to the dev environment by running the tofu apply command with the target module API.

Frequently Asked Questions about deploy-dev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy code changes to a development environment using Terraform?

To deploy code changes to a development environment using Terraform, you can run targeted or full deployments to apply infrastructure updates across specific dev environments like dev1 through dev4.

What's the best way to run database migrations before smoke testing a dev deployment?

The best way to run database migrations before smoke testing a dev deployment is to apply schema updates using Alembic, then trigger end-to-end verification to ensure the deployed environment is stable.

Do I need AWS credentials to apply infrastructure updates to dev environments?

Yes, you need AWS credentials for the staging account and Docker registry authentication for ECR and DHI to apply infrastructure updates and deploy code changes to dev environments.

Can I target a specific module for deployment instead of running a full plan?

Yes, you can execute targeted deployments to apply infrastructure changes to specific modules within the development environment instead of running a full deployment plan.

How do smoke tests verify the stability of a newly deployed development environment?

Smoke tests verify the stability of a newly deployed development environment by triggering end-to-end verification that checks the functionality and stability of the applied code and infrastructure changes.