Harden benchmark failure guard

This commit is contained in:
Chirag Aggarwal
2026-04-22 19:30:01 +05:30
parent 7b25d778d4
commit c15e8d0126
+3 -1
View File
@@ -712,6 +712,7 @@ jobs:
_APP_DOMAIN: localhost
_APP_CONSOLE_DOMAIN: localhost
_APP_DOMAIN_FUNCTIONS: functions.localhost
_APP_OPTIONS_ABUSE: disabled
run: |
docker tag ${{ env.IMAGE }}:before ${{ env.IMAGE }}
docker compose up -d --wait --no-build
@@ -766,6 +767,7 @@ jobs:
_APP_DOMAIN: localhost
_APP_CONSOLE_DOMAIN: localhost
_APP_DOMAIN_FUNCTIONS: functions.localhost
_APP_OPTIONS_ABUSE: disabled
run: |
docker tag ${{ env.IMAGE }}:after ${{ env.IMAGE }}
docker compose up -d --wait --no-build
@@ -816,5 +818,5 @@ jobs:
retention-days: 7
- name: Fail benchmark
if: always() && steps.benchmark_after.outcome == 'failure'
if: always() && steps.benchmark_after.outcome != 'success'
run: exit 1