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

fix circle ci nightly load test jobs (#8117) #8119

Merged
merged 2 commits into from
Aug 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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