Skip to content

Commit

Permalink
fix circle ci nightly load test jobs (#8117) (#8119)
Browse files Browse the repository at this point in the history
* fix broken scheduled jobs

* fix prettier
  • Loading branch information
molinamelendezj committed Aug 26, 2022
1 parent 80aee4e commit c06edf4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ setup: true
orbs:
continuation: circleci/continuation@0.1.2

parameters:
run_load_tests:
type: boolean
default: false

# our defined job, and its steps
jobs:
setup:
Expand Down
13 changes: 4 additions & 9 deletions .circleci/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ parameters:
go-version:
type: string
default: "1.19"
run_load_tests:
type: boolean
default: false

executors:
docker-go:
Expand Down Expand Up @@ -649,15 +652,7 @@ workflows:
jobs:
- helm-tests
nightly_load_tests:
triggers:
- schedule:
cron: "0 6 * * *"
filters:
branches:
only:
- master
- 2.1.x
- 2.2.x
when: << pipeline.parameters.run_load_tests >>
jobs:
- nightly-load:
matrix:
Expand Down

0 comments on commit c06edf4

Please sign in to comment.