CircleCI CLI Binary should --skip-update-check by default when run inside CircleCI
T
Toby Pinder
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.CCI-I-967
G
Gabriel Simmer
Hi all! We recently pushed out a change that checks for the $CI environment variable before auto updating :)
a
alex@convoy.com
Please implement this flag for the CLI! I shouldn't be getting throttled by Github when running
circleci config pack
, a totally offline operation :(T
Toby Pinder
This should have been posted under my username, apologies