run_all_stages: Emulate a CI run locally

View source: R/run.R

run_all_stagesR Documentation

Emulate a CI run locally

Description

Runs predefined stages similarly to the chosen CI provider. The run aborts on error, the after_failure stage is never run.

Usage

run_all_stages(stages = dsl_load())

Arguments

stages

⁠[named list]⁠ A named list of TicStage objects as returned by dsl_load(), by default loaded from tic.R.

Details

The stages are run in the following order:

  1. before_install()

  2. install()

  3. after_install()

  4. before_script()

  5. script()

  6. after_success()

  7. before_deploy()

  8. deploy()

  9. after_deploy()

  10. after_script()

See Also

Other runners: prepare_all_stages(), run_stage()


ropenscilabs/tic documentation built on Feb. 5, 2024, 5:06 p.m.