CircleCI

From Bonus Bits
Jump to: navigation, search

Description

This article gives examples of using the CircleCI CLI tool.


Prerequisites


Validate CircleCI Configuration File Locally

Change to the root of a project with the .circleci directory.

circleci config validate


Output Expanded Config

circleci config process .circleci/config.yml


Validate Orb

circleci orb validate /tmp/my_orb.yml


Run Job Locally

This can be used to run a job locally with Docker.

circleci local execute --job JOB_NAME


formatted text
cat /var/log/messages

Icon-Tip-Square-Green.png
Gnome-sticky-notes-applet


Related Articles


Sources