mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-04-30 20:54:15 +00:00
ci: do not run online installer or publish jobs on PR branches (#3217)
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
parent
92acc7b3ac
commit
ffd29eae08
@ -1109,7 +1109,7 @@ jobs:
|
|||||||
paths:
|
paths:
|
||||||
- "*.whl"
|
- "*.whl"
|
||||||
|
|
||||||
store-and-upload-wheels:
|
publish-wheels:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/python:3.8
|
- image: circleci/python:3.8
|
||||||
steps:
|
steps:
|
||||||
@ -1462,6 +1462,11 @@ jobs:
|
|||||||
npm set //registry.npmjs.org/:_authToken=$NPM_TOKEN
|
npm set //registry.npmjs.org/:_authToken=$NPM_TOKEN
|
||||||
npm publish
|
npm publish
|
||||||
|
|
||||||
|
main_only: &main_only
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
only: main
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
noop:
|
noop:
|
||||||
@ -1507,23 +1512,30 @@ workflows:
|
|||||||
- << pipeline.parameters.run-chat-workflow >>
|
- << pipeline.parameters.run-chat-workflow >>
|
||||||
jobs:
|
jobs:
|
||||||
- hold:
|
- hold:
|
||||||
|
<<: *main_only
|
||||||
type: approval
|
type: approval
|
||||||
- build-online-chat-installer-macos:
|
- build-online-chat-installer-macos:
|
||||||
|
<<: *main_only
|
||||||
requires:
|
requires:
|
||||||
- hold
|
- hold
|
||||||
- sign-online-chat-installer-macos:
|
- sign-online-chat-installer-macos:
|
||||||
|
<<: *main_only
|
||||||
requires:
|
requires:
|
||||||
- build-online-chat-installer-macos
|
- build-online-chat-installer-macos
|
||||||
- notarize-online-chat-installer-macos:
|
- notarize-online-chat-installer-macos:
|
||||||
|
<<: *main_only
|
||||||
requires:
|
requires:
|
||||||
- sign-online-chat-installer-macos
|
- sign-online-chat-installer-macos
|
||||||
- build-online-chat-installer-windows:
|
- build-online-chat-installer-windows:
|
||||||
|
<<: *main_only
|
||||||
requires:
|
requires:
|
||||||
- hold
|
- hold
|
||||||
- sign-online-chat-installer-windows:
|
- sign-online-chat-installer-windows:
|
||||||
|
<<: *main_only
|
||||||
requires:
|
requires:
|
||||||
- build-online-chat-installer-windows
|
- build-online-chat-installer-windows
|
||||||
- build-online-chat-installer-linux:
|
- build-online-chat-installer-linux:
|
||||||
|
<<: *main_only
|
||||||
requires:
|
requires:
|
||||||
- hold
|
- hold
|
||||||
build-and-test-gpt4all-chat:
|
build-and-test-gpt4all-chat:
|
||||||
@ -1550,47 +1562,31 @@ workflows:
|
|||||||
- << pipeline.parameters.run-python-workflow >>
|
- << pipeline.parameters.run-python-workflow >>
|
||||||
jobs:
|
jobs:
|
||||||
- build-ts-docs:
|
- build-ts-docs:
|
||||||
filters:
|
<<: *main_only
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- main
|
|
||||||
- build-py-docs:
|
- build-py-docs:
|
||||||
filters:
|
<<: *main_only
|
||||||
branches:
|
build-python:
|
||||||
only:
|
|
||||||
- main
|
|
||||||
build-py-deploy:
|
|
||||||
when:
|
when:
|
||||||
or:
|
or:
|
||||||
- << pipeline.parameters.run-all-workflows >>
|
- << pipeline.parameters.run-all-workflows >>
|
||||||
- << pipeline.parameters.run-python-workflow >>
|
- << pipeline.parameters.run-python-workflow >>
|
||||||
jobs:
|
jobs:
|
||||||
- pypi-hold:
|
- pypi-hold:
|
||||||
|
<<: *main_only
|
||||||
type: approval
|
type: approval
|
||||||
- hold:
|
- hold:
|
||||||
type: approval
|
type: approval
|
||||||
- build-py-linux:
|
- build-py-linux:
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
requires:
|
requires:
|
||||||
- hold
|
- hold
|
||||||
- build-py-macos:
|
- build-py-macos:
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
requires:
|
requires:
|
||||||
- hold
|
- hold
|
||||||
- build-py-windows:
|
- build-py-windows:
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
requires:
|
requires:
|
||||||
- hold
|
- hold
|
||||||
- store-and-upload-wheels:
|
- publish-wheels:
|
||||||
filters:
|
<<: *main_only
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
requires:
|
requires:
|
||||||
- pypi-hold
|
- pypi-hold
|
||||||
- build-py-windows
|
- build-py-windows
|
||||||
@ -1605,59 +1601,38 @@ workflows:
|
|||||||
jobs:
|
jobs:
|
||||||
- hold:
|
- hold:
|
||||||
type: approval
|
type: approval
|
||||||
- nuget-hold:
|
|
||||||
type: approval
|
|
||||||
- nodejs-hold:
|
- nodejs-hold:
|
||||||
type: approval
|
type: approval
|
||||||
- npm-hold:
|
- npm-hold:
|
||||||
|
<<: *main_only
|
||||||
type: approval
|
type: approval
|
||||||
- build-bindings-backend-linux:
|
- build-bindings-backend-linux:
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
requires:
|
requires:
|
||||||
- hold
|
- hold
|
||||||
- build-bindings-backend-macos:
|
- build-bindings-backend-macos:
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
requires:
|
requires:
|
||||||
- hold
|
- hold
|
||||||
- build-bindings-backend-windows:
|
- build-bindings-backend-windows:
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
requires:
|
requires:
|
||||||
- hold
|
- hold
|
||||||
|
|
||||||
# NodeJs Jobs
|
# NodeJs Jobs
|
||||||
- prepare-npm-pkg:
|
- prepare-npm-pkg:
|
||||||
filters:
|
<<: *main_only
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
requires:
|
requires:
|
||||||
- npm-hold
|
- npm-hold
|
||||||
- build-nodejs-linux
|
- build-nodejs-linux
|
||||||
- build-nodejs-windows
|
- build-nodejs-windows
|
||||||
- build-nodejs-macos
|
- build-nodejs-macos
|
||||||
- build-nodejs-linux:
|
- build-nodejs-linux:
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
requires:
|
requires:
|
||||||
- nodejs-hold
|
- nodejs-hold
|
||||||
- build-bindings-backend-linux
|
- build-bindings-backend-linux
|
||||||
- build-nodejs-windows:
|
- build-nodejs-windows:
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
requires:
|
requires:
|
||||||
- nodejs-hold
|
- nodejs-hold
|
||||||
- build-bindings-backend-windows
|
- build-bindings-backend-windows
|
||||||
- build-nodejs-macos:
|
- build-nodejs-macos:
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
requires:
|
requires:
|
||||||
- nodejs-hold
|
- nodejs-hold
|
||||||
- build-bindings-backend-macos
|
- build-bindings-backend-macos
|
||||||
|
Loading…
Reference in New Issue
Block a user