codefresh-run

Run a pipeline by id or name and attach the created build logs
Arguments
PIPELINE_ID
- Pipeline name or id
TRIGGER_ID
- Trigger id or name
BRANCH
- Branch
SHA
- Set commit sha
NO_CACHE
- Ignore cached images
NO_CF_CACHE
- Ignore Codefresh cache optimizations
ENABLE_NOTIFICATIONS
- Report notifications about pipeline execution
RESET_VOLUME
- Reset pipeline cached volume
DETACH
- Run pipeline and print build ID
CONTEXT
- Run pipeline with contexts
VARIABLE
- Set build variables
ONLY
- run only specifc steps
SKIP
- skip specifc steps
    version: '1.0'
steps:
  codefresh-run:
    title: Run a codefresh pipeline
    type: codefresh-run
    arguments:
      PIPELINE_ID: project-name/pip_name
      TRIGGER_ID: trigger_id
      CONTEXT:
        - context1
        - context2
      VARIABLE:
        - key1=val1
        - key2=val2

  
github.comItai GendlerAug 21, 2019source