codefresh-io / steps

36 stars 90 forks source link

feat(codefresh-run): add `PACK_NAME` argument #550

Closed ghost closed 1 year ago

ghost commented 1 year ago

Overview

PACK_NAME argument allows to choose resources size. Allowed values are inherited from codefresh run --pack-name=<value>; check Codefresh CLI documentation for more details.

Usage example:

version: "1.0"
steps:
  run_pipeline:
    type: codefresh-run
    title: Run child pipeline
    arguments:
      PIPELINE_ID: project/pipeline
      PACK_NAME: medium

Backward compatibility

The new argument defaults to empty string if not passed. If empty, previous behavior is untouched. This guarantees unchanged behavior for any previously implemented flow with this step.

Closes #CR-17123