Closed pszittyay closed 1 year ago
@pszittyay I'm also having this issue. I've updated to v0.1.1 and the error is now:
Traceback (most recent call last): File "
", line 23, in File " ", line 15, in checkout File "/home/circleci/.pyenv/versions/3.8.12/lib/python3.8/subprocess.py", line 516, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['git', 'checkout', 'main']' returned non-zero exit status 1.
So it's not even getting to the call for git merge-base
but hitting a wall with checkout(head)
which is just git checkout ${CIRCLE_SHA1}
.
The original issue was resolved by:
setup:true
is added to the config.yml
version: 2.1
setup: true
orbs:
path-filtering: circleci/path-filtering@0.0.1
I will close this issue on that note, and if there are further concerns, please re-open this issue.
Orb version: 0.0.3
What happened:
Traceback (most recent call last): File "", line 10, in
File "/home/circleci/.pyenv/versions/3.8.11/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'merge-base', 'main', 'c22bb01717c674fb75ad8d3ebe58de4bbc17a340']' returned non-zero exit status 128.
Exited with code exit status 1
Expected behavior:
Should continue reading the continue_config.yml and running the corresponding jobs
Additional Information:
config.yml
version: 2.1 orbs: path-filtering: circleci/path-filtering@0.0.3 workflows: generate-config: jobs:
config-path: .circleci/continue-config.yml mapping: | sgd/backend/. run-sgd-back true sgd/frontend/. run-sgd-fron true trading/app/.* run-nts true