Skip to content

Commit 856f33b

Browse files
authored
[CI] Create several schedules (#13484)
This PR adds more schedules to the daily CI job. This will help to split the load in different builds at different times.
1 parent 8309265 commit 856f33b

File tree

2 files changed

+67
-1
lines changed

2 files changed

+67
-1
lines changed

.buildkite/pipeline.schedule-daily.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ steps:
2525
depends_on:
2626
- step: "check"
2727
allow_failure: false
28+
if: |
29+
build.env('TEST_PACKAGES_7_BRANCH') == "true"
2830
2931
- label: "Check integrations local stacks - Stack Version v8.19"
3032
trigger: "integrations"
@@ -37,6 +39,8 @@ steps:
3739
depends_on:
3840
- step: "check"
3941
allow_failure: false
42+
if: |
43+
build.env('TEST_PACKAGES_8_BRANCH') == "true"
4044
4145
- label: "Check integrations local stacks - Stack Version v8.19 - LogsDB"
4246
trigger: "integrations"
@@ -50,6 +54,37 @@ steps:
5054
depends_on:
5155
- step: "check"
5256
allow_failure: false
57+
if: |
58+
build.env('TEST_PACKAGES_8_BRANCH') == "true"
59+
60+
- label: "Check integrations local stacks and basic subscription and LogsDB"
61+
trigger: "integrations"
62+
build:
63+
env:
64+
SERVERLESS: "false"
65+
FORCE_CHECK_ALL: "true"
66+
PUBLISH_COVERAGE_REPORTS: "false"
67+
ELASTIC_SUBSCRIPTION: "basic"
68+
STACK_LOGSDB_ENABLED: "true"
69+
depends_on:
70+
- step: "check"
71+
allow_failure: false
72+
if: |
73+
build.env('TEST_PACKAGES_BASIC_SUBSCRIPTION') == "true"
74+
75+
- label: "Check integrations local stacks and basic subscription"
76+
trigger: "integrations"
77+
build:
78+
env:
79+
SERVERLESS: "false"
80+
FORCE_CHECK_ALL: "true"
81+
PUBLISH_COVERAGE_REPORTS: "false"
82+
ELASTIC_SUBSCRIPTION: "basic"
83+
depends_on:
84+
- step: "check"
85+
allow_failure: false
86+
if: |
87+
build.env('TEST_PACKAGES_BASIC_SUBSCRIPTION') == "true"
5388
5489
- label: "Check integrations local stacks - Stack Version v9.1"
5590
trigger: "integrations"
@@ -62,6 +97,8 @@ steps:
6297
depends_on:
6398
- step: "check"
6499
allow_failure: false
100+
if: |
101+
build.env('TEST_PACKAGES_9_BRANCH') == "true"
65102
66103
- label: "Check integrations in serverless - project: Observability"
67104
key: "trigger-integrations-serverless-obs"
@@ -72,6 +109,8 @@ steps:
72109
depends_on:
73110
- step: "check"
74111
allow_failure: false
112+
if: |
113+
build.env('TEST_PACKAGES_SERVERLESS') == "true"
75114
76115
- label: "Check integrations in serverless - project: Security"
77116
key: "trigger-integrations-serverless-security"
@@ -82,10 +121,14 @@ steps:
82121
depends_on:
83122
- step: "check"
84123
allow_failure: false
124+
if: |
125+
build.env('TEST_PACKAGES_SERVERLESS') == "true"
85126
86127
- label: ":package: Publish missing packages"
87128
key: "trigger-integrations-publish"
88129
trigger: "integrations-publish"
89130
depends_on:
90131
- step: "check"
91132
allow_failure: false
133+
if: |
134+
build.env('REPUBLISH_PACKAGES') == "true"

catalog-info.yaml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,31 @@ spec:
178178
schedules:
179179
main_daily:
180180
branch: "main"
181-
cronline: "30 1 * * *"
181+
cronline: "30 0 * * *"
182182
message: "Run the daily jobs"
183+
env:
184+
TEST_PACKAGES_7_BRANCH: "true"
185+
TEST_PACKAGES_SERVERLESS: "true"
186+
REPUBLISH_PACKAGES: "true"
187+
main_daily_8_version:
188+
branch: "main"
189+
cronline: "30 1 * * *"
190+
message: "Run the daily jobs for 8.x"
191+
env:
192+
TEST_PACKAGES_8_BRANCH: "true"
193+
main_daily_9_version:
194+
branch: "main"
195+
cronline: "30 3 * * *"
196+
message: "Run the daily jobs for 9.x"
197+
env:
198+
TEST_PACKAGES_9_BRANCH: "true"
199+
main_daily_basic_subscription:
200+
branch: "main"
201+
cronline: "30 4 * * *"
202+
message: "Run the daily jobs for basic subscription"
203+
env:
204+
TEST_PACKAGES_BASIC_SUBSCRIPTION: "true"
205+
183206
provider_settings:
184207
trigger_mode: none # don't trigger jobs from github activity
185208
build_pull_request_forks: false

0 commit comments

Comments
 (0)