I tried to run circleci local execute
to test my orb with cli/default executor (docker) on CircleCI
version: 2.1
orbs:
cli: circleci/circleci-cli@0.1.5
jobs:
test:
executor: cli/default
steps:
- cli/install
- checkout
- run: circleci config process orb-test.yml > orb-test.2.0.yml
- run: circleci local execute --config orb-test.2.0.yml
workflows:
main:
jobs:
- test
and got the error:
circleci local execute --config orb-test.2.0.yml
Error: failed to start event processor: failed to compute task config: failed to read config file: open /home/circleci/project/orb-test.2.0.yml: no such file or directory Exited with code 1
I guess this is because of the limitation of the remote docker environment and I should use machine environment instead, but
I am asking out of my curiosity, is there any workaround to share the orb-test.2.0.yml
file on the primary container with circleci local execute
running on remote docker?