Skip to content

Commit a1ee6ac

Browse files
committed
label
1 parent 36f41bc commit a1ee6ac

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

.github/workflows/health-metrics.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ name: Health Metrics
22

33
on:
44
pull_request:
5-
types:
6-
- labeled
7-
- opened
8-
- reopened
9-
- synchronize
105
push:
116
branches:
127
- master
@@ -22,7 +17,6 @@ jobs:
2217
if: |
2318
(github.event_name == 'push' && github.repository == 'firebase/firebase-android-sdk')
2419
|| (github.event_name == 'pull_request'
25-
&& github.event.action != 'labeled'
2620
&& github.event.pull_request.head.repo.full_name == github.repository)
2721
runs-on: ubuntu-latest
2822
steps:
@@ -58,7 +52,6 @@ jobs:
5852
if: |
5953
(github.event_name == 'push' && github.repository == 'firebase/firebase-android-sdk')
6054
|| (github.event_name == 'pull_request'
61-
&& github.event.action != 'labeled'
6255
&& github.event.pull_request.head.repo.full_name == github.repository)
6356
runs-on: ubuntu-latest
6457
steps:
@@ -91,11 +84,10 @@ jobs:
9184

9285
startup_time:
9386
name: Startup Time
94-
if: | # In case of pull requests, label "startup-time" is required to trigger
87+
if: | # In case of pull requests, label "health-metrics: startup-time" is required
9588
(github.event_name == 'push' && github.repository == 'firebase/firebase-android-sdk')
9689
|| (github.event_name == 'pull_request'
97-
&& github.event.action == 'labeled'
98-
&& github.event.label.name == 'health-metrics: startup-time'
90+
&& contains(github.event.pull_request.labels.*.name, 'health-metrics: startup-time')
9991
&& github.event.pull_request.head.repo.full_name == github.repository)
10092
runs-on: ubuntu-latest
10193
steps:

ci/fireci/fireciplugins/macrobenchmark/run/test_project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ async def run(index: int, run_id: str) -> str:
8888
args += ['--results-bucket', 'fireescape-benchmark-results']
8989
args += ['--results-dir', run_id]
9090
args += ['--environment-variables', ','.join(ftl_environment_variables)]
91-
args += ['--timeout', '30m']
91+
args += ['--timeout', '45m']
9292
args += ['--project', 'fireescape-c4819']
9393
await execute_async(executable, *args, logger=run_logger)
9494
return run_id

0 commit comments

Comments
 (0)