Closed SeanHayes closed 7 months ago
Thanks for reporting this issue. It is a known behaviour and we are trying to find a solution.
Unfortunately we can not fix this behaviour, we are exploring more solutions involving the future of this feature but a fix won't be provided soon.
Meta:
CircleCI CLI Version: 0.1.29314+148495a (homebrew)
Operating System: macOS Sonoma Version 14.1.1 (23B81)
CircleCI CLI Diagnostic:
Current behavior:
Error happens when running
circleci local execute my-job
. Execution works fine remotely on the Circle CI service, it only fails locally.To debug I added these steps:
Which gives this error:
Expected behavior:
The latest cli should automatically be used so that Orbs will continue to run after update. It's really odd that the most recent version of the CLI would use a 2 year old version of the CLI inside Docker containers.
Also, ideally Orbs would be able to define a minimum supported version.
When did this begin / Was this previously working?:
I updated from circleci/aws-cli@3.2.0 to circleci/aws-cli@4.1.1 and the new version uses the
circleci env subst
command.Additional Information:
If I include the Orb
circleci-cli: circleci/circleci-cli@0.1.9
and add this step:The latest CLI is installed and everything works.