context-infrastructure

stars-end 的头像作者 stars-end

13. Railway部署、CI/CD工作流、GitHub Actions和冒烟测试。处理Railway配置、GitHub Actions工作流、部署自动化和健康检查。在处理部署、CI配置、Railway设置或基础设施自动化时使用,或当用户提及Railway环境、GitHub Actions、部署问题、CI失败、"构建失败"错误、冒烟测试错误、CI/CD管道、Docker配置或devops工作流时使用。

📖 中文导读:13. Railway部署、CI/CD工作流、GitHub Actions和冒烟测试。处理Railway配置、GitHub Actions工作流、部署自动化和健康检查。在处理部署、CI配置、Railway设置或基础设施自动化时使用,或当用户提及Railway环境、GitHub Actions、部署问题、CI失败、"构建失败"错误、冒烟测试错误、CI/CD管道、Docker配置或devops工作流时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: context-infrastructure description: | Railway deployment, CI/CD workflows, GitHub Actions, and smoke tests. Handles Railway configuration, GitHub Actions workflows, deployment automation, and health checks. Use when working with deployment, CI configuration, Railway setup, or infrastructure automation, or when user mentions Railway environments, GitHub Actions, deployment issues, CI failures, "Build failed" errors, smoke test errors, CI/CD pipelines, Docker configuration, or devops workflows. tags: [infra, deployment, ci-cd, railway]

Infrastructure

Navigate Railway deployment, GitHub Actions workflows, and infrastructure config.

Overview

Railway for deployment, GitHub Actions for CI/CD. See docs/deployment/RAILWAY.md.

Railway Configuration

  • railway.toml (root) - Project-level config
  • backend/railway.toml - Backend service
  • frontend/railway.toml - Frontend service

CI/CD Workflows

  • .github/workflows/*.yml - All GitHub Actions
  • .github/workflows/deploy.yml - Deployment workflow (if exists)
  • .github/workflows/test.yml - Test workflow (if exists)

Docker

  • Dockerfile (root) - Docker configuration (if exists)
  • docker-compose*.yml - Docker Compose (if exists)

Smoke Tests

  • backend/smoke_endpoints.py - Backend health checks
  • frontend/e2e-smoke/*.spec.ts - Frontend smoke tests

Scripts

  • scripts/test-railway-setup.sh - Railway testing
  • scripts/db-commands/db-verify.sh - Database verification

Documentation

  • Internal: docs/deployment/RAILWAY.md
  • See context-testing-infrastructure for smoke test patterns
  • See context-database-schema for migration deployment