aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikita Kozlovskiy <nikitka@gmail.com>2023-06-19 16:15:06 +0000
committernkozlovskiy <nmk@ydb.tech>2023-06-19 19:15:06 +0300
commitc6c14a4f97a9ea30db5b393bf0bc459831b6fd41 (patch)
tree70b47e228686697e5785a26269c13c6071ddea00
parent8a4b2ec550ccaaa279639c5181a2a5418f0e4f9c (diff)
downloadydb-c6c14a4f97a9ea30db5b393bf0bc459831b6fd41.tar.gz
ci: add disk-size variable for on-demand workflow
ci: add disk-size variable for on-demand workflow Pull Request resolved: #268
-rw-r--r--.github/actions/build/action.yml1
-rw-r--r--.github/workflows/build_and_test_ondemand.yml2
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml
index e7695bda5d..0487186084 100644
--- a/.github/actions/build/action.yml
+++ b/.github/actions/build/action.yml
@@ -50,3 +50,4 @@ runs:
cd ../build
ninja
ccache -s
+ df -h
diff --git a/.github/workflows/build_and_test_ondemand.yml b/.github/workflows/build_and_test_ondemand.yml
index 4ed373cfde..23517fbb48 100644
--- a/.github/workflows/build_and_test_ondemand.yml
+++ b/.github/workflows/build_and_test_ondemand.yml
@@ -57,7 +57,7 @@ jobs:
github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
folder-id: ${{secrets.YC_FOLDER}}
image-id: ${{inputs.image}}
- disk-size: 1023GB
+ disk-size: ${{vars.DISK_SIZE && vars.DISK_SIZE || '1023GB'}}
disk-type: network-ssd-nonreplicated
cores: 32
memory: 64GB