File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -130,7 +130,17 @@ runs:
130130 fi
131131
132132 exit 1
133-
133+
134+ - name : build_stats
135+ shell : bash
136+ continue-on-error : true
137+ if : always()
138+ run : |
139+ set -x
140+ export build_preset="${{ inputs.build_preset }}"
141+ python3 -m pip install ydb ydb[yc]
142+ python3 .github/scripts/send_build_stats.py
143+
134144 - name : comment-if-cancel
135145 shell : bash
136146 if : cancelled() && (github.event_name == 'pull_request' || github.event_name == 'pull_request_target')
Original file line number Diff line number Diff line change @@ -145,15 +145,6 @@ runs:
145145 echo "Build successful." | .github/scripts/tests/comment-pr.py --ok
146146 fi
147147
148- - name : build_stats
149- shell : bash
150- continue-on-error : true
151- run : |
152- set -x
153- export build_preset="${{ inputs.build_preset }}"
154- python3 -m pip install ydb ydb[yc]
155- python3 .github/scripts/send_build_stats.py
156-
157148 - name : show free space
158149 if : always()
159150 shell : bash
Original file line number Diff line number Diff line change @@ -56,6 +56,11 @@ def main():
5656 # So, set up it locally
5757 os .environ ["YDB_SERVICE_ACCOUNT_KEY_FILE_CREDENTIALS" ] = os .environ ["CI_YDB_SERVICE_ACCOUNT_KEY_FILE_CREDENTIALS" ]
5858
59+ if not os .path .exists (YDBD_PATH ):
60+ # can be possible due to incremental builds and ydbd itself is not affected by changes
61+ print ("{} not exists, skipping" .format (YDBD_PATH ))
62+ return 1
63+
5964 with ydb .Driver (
6065 endpoint = "grpcs://ydb.serverless.yandexcloud.net:2135" ,
6166 database = "/ru-central1/b1ggceeul2pkher8vhb6/etn6d1qbals0c29ho4lf" ,
You can’t perform that action at this time.
0 commit comments