CircleCI Ideas

CircleCI CLI Binary should --skip-update-check by default when run inside CircleCI

CircleCI provide the circleci-cli orb which is incredibly useful for building a CI/CD process for orbs themselves. However as noticed from the source of that orb and from our own interactions here, CircleCI's (sensible) default behaviour is to perform an update check which results in a slower build and corrupted output such as the following:

 

⠋ Checking for updates... ⠙ Checking for updates... ⠹ Checking for updates... ⠸Already up-to-date. ⠼Already up-to-date. ⠴Already up-to-date.

 

This can be manually skipped with a `--skip-update-check` flag but it might make sense for the CLI tool to simply detect the `CI` or `CIRCLE` environment variables and then automatically skip the update check based on this.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Mar 27 2019
  • New
CLI
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    28 Mar 19:07

    This should have been posted under my username, apologies