Problem:
When using dynamic configuration via the circleci/continuation and/or circleci/path-filtering Orbs the setup workflow fails at the "Continue Pipeline" job with an error:
{"message":"Invalid continuation key."}
Exited with code exit status 1Solutions:
- For CircleCI server, the default
circleci_domainparameter needs to be overriden from the default (circleci.com). Instead it must be set to match theglobal.domainNameparameter from your Server environment's values.yaml
Outcome:
Once the circleci_domain parameter is set correctly, the continuation workflow will be triggered successfully.
path-filtering example:
version 2.1
setup: true
orbs:
path-filtering: circleci/path-filtering@2
workflows:
setup:
jobs:
- path-filtering/filter:
name: detect-changes
config-path: .circleci/continue_config.yml
circleci_domain: <your gloabal.domainName value>Additional Resources:
- Orbs documentation
Comments
Article is closed for comments.