Skip to content

Conversation

@maryiaCodefresh
Copy link

What

Add another example of the codefresh run command

Why

requested by the customer

Notes

zd ticket: https://octopuscd.zendesk.com/agent/tickets/173140
image

.example('codefresh run PIPELINE_ID | PIPELINE_NAME -b=master -v key1=value1 -v key2=value2', 'Setting variables through the command')
.example('codefresh run PIPELINE_ID | PIPELINE_NAME -b=master --var-file ./var_file.yml', 'Settings variables through a yml file')
.example('codefresh run PIPELINE_ID | PIPELINE_NAME -b=master --context context', 'Inject contexts to the pipeline execution')
.example('codefresh run PIPELINE_ID | PIPELINE_NAME --memory '2000' --cpu 547 --disk 2', 'Specify resources during pipeline run')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.example('codefresh run PIPELINE_ID | PIPELINE_NAME --memory '2000' --cpu 547 --disk 2', 'Specify resources during pipeline run')
.example('codefresh run PIPELINE_ID | PIPELINE_NAME --memory \'2000\' --cpu 547 --disk 2', 'Specify resources during pipeline run')

@maryiaCodefresh
Copy link
Author

Also added --memory, --cpu, --disk units to the codefresh run command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants