@jin7942/ray
Version:
Lightweight CI/CD deployment tool powered by Docker and Git
11 lines (10 loc) • 411 B
TypeScript
import { StepContext } from '../_types/context';
import { Config } from '../_types/config';
/**
* Transforms a Config object into a StepContext object.
* Adds internal runtime data such as the workspace path.
*
* @param config - The raw configuration loaded from JSON
* @returns StepContext ready to be passed into pipeline functions
*/
export declare function createContext(config: Config): StepContext;