CircleCI Ideas

- checkout "$BRANCH_NAME"

This would checkout a specific branch like /devopstools that performs steps in the CI that do not require the entire branch. 
For example, if your repo has these branch sizes.
/dev is 6GB

/devopstools 20MB


with a job step like - checkout: "devopstools"  we can checkout out our tools only and save a LOT of bandwidth via unnecessary cloning. Some of the jobs are just figuring out what version number or job to run next and doesn't need all the repo just a few files I can get with a git command like.
git checkout commit_hash  filetocheckout

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Feb 8 2020
  • New
  • Attach files