mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
ci: run all workflows on config change (#1829)
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
parent
b98e5f396a
commit
15ce428672
@ -11,6 +11,7 @@ workflows:
|
|||||||
base-revision: main
|
base-revision: main
|
||||||
config-path: .circleci/continue_config.yml
|
config-path: .circleci/continue_config.yml
|
||||||
mapping: |
|
mapping: |
|
||||||
|
.circleci/.* run-all-workflows true
|
||||||
gpt4all-bindings/python/.* run-python-workflow true
|
gpt4all-bindings/python/.* run-python-workflow true
|
||||||
gpt4all-bindings/typescript/.* run-ts-workflow true
|
gpt4all-bindings/typescript/.* run-ts-workflow true
|
||||||
gpt4all-bindings/csharp/.* run-csharp-workflow true
|
gpt4all-bindings/csharp/.* run-csharp-workflow true
|
||||||
|
@ -5,6 +5,9 @@ orbs:
|
|||||||
node: circleci/node@5.1
|
node: circleci/node@5.1
|
||||||
|
|
||||||
parameters:
|
parameters:
|
||||||
|
run-all-workflows:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
run-default-workflow:
|
run-default-workflow:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
@ -1011,11 +1014,17 @@ jobs:
|
|||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
default:
|
default:
|
||||||
when: << pipeline.parameters.run-default-workflow >>
|
when:
|
||||||
|
or:
|
||||||
|
- << pipeline.parameters.run-all-workflows >>
|
||||||
|
- << pipeline.parameters.run-default-workflow >>
|
||||||
jobs:
|
jobs:
|
||||||
- default-job
|
- default-job
|
||||||
build-chat-offline-installers:
|
build-chat-offline-installers:
|
||||||
when: << pipeline.parameters.run-chat-workflow >>
|
when:
|
||||||
|
or:
|
||||||
|
- << pipeline.parameters.run-all-workflows >>
|
||||||
|
- << pipeline.parameters.run-chat-workflow >>
|
||||||
jobs:
|
jobs:
|
||||||
- hold:
|
- hold:
|
||||||
type: approval
|
type: approval
|
||||||
@ -1029,7 +1038,10 @@ workflows:
|
|||||||
requires:
|
requires:
|
||||||
- hold
|
- hold
|
||||||
build-and-test-gpt4all-chat:
|
build-and-test-gpt4all-chat:
|
||||||
when: << pipeline.parameters.run-chat-workflow >>
|
when:
|
||||||
|
or:
|
||||||
|
- << pipeline.parameters.run-all-workflows >>
|
||||||
|
- << pipeline.parameters.run-chat-workflow >>
|
||||||
jobs:
|
jobs:
|
||||||
- hold:
|
- hold:
|
||||||
type: approval
|
type: approval
|
||||||
@ -1043,7 +1055,10 @@ workflows:
|
|||||||
requires:
|
requires:
|
||||||
- hold
|
- hold
|
||||||
deploy-docs:
|
deploy-docs:
|
||||||
when: << pipeline.parameters.run-python-workflow >>
|
when:
|
||||||
|
or:
|
||||||
|
- << pipeline.parameters.run-all-workflows >>
|
||||||
|
- << pipeline.parameters.run-python-workflow >>
|
||||||
jobs:
|
jobs:
|
||||||
- build-ts-docs:
|
- build-ts-docs:
|
||||||
filters:
|
filters:
|
||||||
@ -1056,7 +1071,10 @@ workflows:
|
|||||||
only:
|
only:
|
||||||
- main
|
- main
|
||||||
build-py-deploy:
|
build-py-deploy:
|
||||||
when: << pipeline.parameters.run-python-workflow >>
|
when:
|
||||||
|
or:
|
||||||
|
- << pipeline.parameters.run-all-workflows >>
|
||||||
|
- << pipeline.parameters.run-python-workflow >>
|
||||||
jobs:
|
jobs:
|
||||||
- pypi-hold:
|
- pypi-hold:
|
||||||
type: approval
|
type: approval
|
||||||
@ -1092,6 +1110,7 @@ workflows:
|
|||||||
build-bindings:
|
build-bindings:
|
||||||
when:
|
when:
|
||||||
or:
|
or:
|
||||||
|
- << pipeline.parameters.run-all-workflows >>
|
||||||
- << pipeline.parameters.run-python-workflow >>
|
- << pipeline.parameters.run-python-workflow >>
|
||||||
- << pipeline.parameters.run-csharp-workflow >>
|
- << pipeline.parameters.run-csharp-workflow >>
|
||||||
- << pipeline.parameters.run-ts-workflow >>
|
- << pipeline.parameters.run-ts-workflow >>
|
||||||
|
Loading…
Reference in New Issue
Block a user