Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CircleCi: Remove automatic execution. Added manual triggers #10396

Merged
merged 6 commits into from
Jul 19, 2023
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 18 additions & 19 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,18 @@
# and https://github.com/facebook/react-native/blob/master/.circleci/config.yml

version: 2.1

setup: true

parameters:
run-workflow-general:
type: boolean
default: false
run-workflow-npm-install:
type: boolean
default: false
run-workflow-protocol-coverage:
type: boolean
default: false
# When you need to force a rebuild of the node modules cache then bump this version
node-modules-cache-version:
type: integer
Expand Down Expand Up @@ -891,6 +900,9 @@ jobs:
workflows:
version: 2
celo-monorepo-build:
# Contitionally triggered
when:
or: [<< pipeline.parameters.run-workflow-general >>]
jobs:
- install_dependencies
- certora-test:
Expand Down Expand Up @@ -1011,30 +1023,17 @@ workflows:
- end-to-end-cip35-eth-compatibility-test
- odis-test
npm-install-testing-cron-workflow:
triggers:
- schedule:
# 7 PM in UTC = noon in PDT.
# Best for test to fail during SF afternoon, so that, someone can fix it during the day time.
cron: '0 19 * * *'
filters:
branches:
only:
- master
# Contitionally triggered
when:
or: [<< pipeline.parameters.run-workflow-npm-install >>]
jobs:
- test-typescript-npm-package-install
- test-utils-npm-package-install
- test-contractkit-npm-package-install
- test-celocli-npm-package-install
protocol-testing-with-code-coverage-cron-workflow:
triggers:
- schedule:
# 1 PM in UTC = 6 AM in PDT.
# Best for this slow test (~3 hours) to run during SF early morning.
cron: '0 13 * * *'
filters:
branches:
only:
- master
when:
or: [<< pipeline.parameters.run-workflow-protocol-coverage >>]
jobs:
- install_dependencies
- lint-checks:
Expand Down