Skip to content

Commit 6381b6e

Browse files
committed
Revert retagger gate to weekly, allow weekly in matrix
1 parent b07efff commit 6381b6e

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/scripts/extract_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def __gt__(self, other):
276276
def get_tagged_jobs(buildspec, target, filter=None):
277277
jobs = [Job({"name": target}).to_dict()]
278278
for job in sorted([Job(build) for build in buildspec.get("builds", [])]):
279-
if not any(t for t in job.targets if t in [target]):
279+
if not any(t for t in job.targets if t in [target, "weekly"]):
280280
continue
281281
if filter and not re.match(filter, job.name):
282282
continue

.github/workflows/ci-matrix-gen.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
jobs_to_run:
1313
required: true
1414
type: string
15+
1516
schedule:
1617
- cron: '0 0 * * 1'
1718

ci.jsonnet

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
"windows:amd64:jdk-latest" : tier3,
192192
}),
193193
"python-svm-build": gpgate + platform_spec(no_jobs) + platform_spec({
194-
"linux:amd64:jdk-latest" : tier1 + provide(GPY_NATIVE_STANDALONE),
194+
"linux:amd64:jdk-latest" : tier2 + provide(GPY_NATIVE_STANDALONE),
195195
"linux:aarch64:jdk-latest" : tier3 + provide(GPY_NATIVE_STANDALONE),
196196
"darwin:aarch64:jdk-latest" : tier3 + provide(GPY_NATIVE_STANDALONE),
197197
"windows:amd64:jdk-latest" : tier3 + provide(GPY_NATIVE_STANDALONE),
@@ -242,10 +242,10 @@
242242
"linux:amd64:jdk-latest" : tier1,
243243
}),
244244
"python-unittest-retagger": ut_retagger + platform_spec(no_jobs) + batches(RETAGGER_SPLIT) + platform_spec({
245-
"linux:amd64:jdk-latest" : tier2 + require(GPY_NATIVE_STANDALONE),
246-
"linux:aarch64:jdk-latest" : tier3 + require(GPY_NATIVE_STANDALONE),
247-
"darwin:aarch64:jdk-latest" : tier3 + require(GPY_NATIVE_STANDALONE),
248-
"windows:amd64:jdk-latest" : tier3 + require(GPY_NATIVE_STANDALONE),
245+
"linux:amd64:jdk-latest" : weekly + t("20:00:00"),
246+
"linux:aarch64:jdk-latest" : weekly + t("20:00:00"),
247+
"darwin:aarch64:jdk-latest" : weekly + t("20:00:00"),
248+
"windows:amd64:jdk-latest" : weekly + t("20:00:00"),
249249
}),
250250
"python-coverage-jacoco-tagged": cov_jacoco_tagged + batches(COVERAGE_SPLIT) + platform_spec(no_jobs) + platform_spec({
251251
"linux:amd64:jdk21" : weekly + t("20:00:00"),

0 commit comments

Comments
 (0)