@jin7942/ray
Version:
Lightweight CI/CD deployment tool powered by Docker and Git
23 lines (22 loc) • 658 B
TypeScript
import { Config } from './config';
/**
* Internal pipeline execution context
* - Created from Config
* - Used across all pipeline steps
*/
export interface StepContext {
/** GitHub repository URL */
repo: string;
/** Branch to checkout (optional) */
branch?: string;
/** Build command to run */
/** Docker configuration */
docker: Config['docker'];
/** Environment variables (optional) */
env?: Record<string, string>;
/** Temporary working directory for this pipeline */
workspace: string;
/** path to .env file to load environment variables (optional) */
envFilePath?: string;
logDir?: string;
}