Skip to content

Commit

Permalink
CircleCi: Remove automatic execution. Added manual triggers (#10396)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcortejoso committed Jul 19, 2023
1 parent eafea12 commit 4aa65cd
Showing 1 changed file with 18 additions and 19 deletions.
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

0 comments on commit 4aa65cd

Please sign in to comment.