ci: disk in github action increased to 75G from 64G
the disk size in the github action machine has
increased from 64G to 75G. Now, we detech the version
automatically not fetching hard coded value.
Co-authored-by: Jan Klippel <jan.klippel@uhurutec.com>
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 6b0deb32d9)
This commit is contained in:
1 parent
964d38c686
commit
7f2b60681d
5 files changed
+17
-17
No files matched your search
@@ -288,7 +288,7 @@ jobs:
|
||||
- name: use local disk as OSD
|
||||
run: |
|
||||
tests/scripts/github-action-helper.sh use_local_disk
|
||||
BLOCK=$(sudo lsblk --paths|awk '/14G/ || /64G/ {print $1}'| head -1)
|
||||
BLOCK=$(sudo lsblk --paths | awk '/14G/ || /64G/ || /75G/ {print $1}'| head -1)
|
||||
tests/scripts/create-bluestore-partitions.sh --disk "$BLOCK" --wipe-only
|
||||
|
||||
- name: prepare loop devices for osds
|
||||
@@ -354,7 +354,7 @@ jobs:
|
||||
- name: use local disk as OSD
|
||||
run: |
|
||||
tests/scripts/github-action-helper.sh use_local_disk
|
||||
BLOCK=$(sudo lsblk --paths|awk '/14G/ || /64G/ {print $1}'| head -1)
|
||||
BLOCK=$(sudo lsblk --paths | awk '/14G/ || /64G/ || /75G/ {print $1}'| head -1)
|
||||
tests/scripts/create-bluestore-partitions.sh --disk "$BLOCK" --wipe-only
|
||||
|
||||
- name: deploy cluster
|
||||
@@ -399,7 +399,7 @@ jobs:
|
||||
|
||||
- name: use local disk as OSD
|
||||
run: |
|
||||
BLOCK=$(sudo lsblk --paths|awk '/14G/ || /64G/ {print $1}'| head -1)
|
||||
BLOCK=$(sudo lsblk --paths | awk '/14G/ || /64G/ || /75G/ {print $1}'| head -1)
|
||||
tests/scripts/github-action-helper.sh use_local_disk
|
||||
tests/scripts/create-bluestore-partitions.sh --disk "$BLOCK" --wipe-only
|
||||
|
||||
@@ -451,7 +451,7 @@ jobs:
|
||||
|
||||
- name: use local disk as OSD
|
||||
run: |
|
||||
BLOCK=$(sudo lsblk --paths|awk '/14G/ || /64G/ {print $1}'| head -1)
|
||||
BLOCK=$(sudo lsblk --paths | awk '/14G/ || /64G/ || /75G/ {print $1}'| head -1)
|
||||
tests/scripts/github-action-helper.sh use_local_disk
|
||||
tests/scripts/create-bluestore-partitions.sh --disk "$BLOCK" --wipe-only
|
||||
|
||||
@@ -497,13 +497,13 @@ jobs:
|
||||
|
||||
- name: use local disk as OSD
|
||||
run: |
|
||||
BLOCK=$(sudo lsblk --paths|awk '/14G/ || /64G/ {print $1}'| head -1)
|
||||
BLOCK=$(sudo lsblk --paths | awk '/14G/ || /64G/ || /75G/ {print $1}'| head -1)
|
||||
tests/scripts/github-action-helper.sh use_local_disk
|
||||
tests/scripts/create-bluestore-partitions.sh --disk "$BLOCK" --wipe-only
|
||||
|
||||
- name: create LV on disk
|
||||
run: |
|
||||
BLOCK=$(sudo lsblk --paths|awk '/14G/ || /64G/ {print $1}'| head -1)
|
||||
BLOCK=$(sudo lsblk --paths | awk '/14G/ || /64G/ || /75G/ {print $1}'| head -1)
|
||||
tests/scripts/github-action-helper.sh create_LV_on_disk $BLOCK
|
||||
|
||||
- name: deploy cluster
|
||||
@@ -554,7 +554,7 @@ jobs:
|
||||
|
||||
- name: create cluster prerequisites
|
||||
run: |
|
||||
BLOCK=$(sudo lsblk --paths|awk '/14G/ || /64G/ {print $1}'| head -1)
|
||||
BLOCK=$(sudo lsblk --paths | awk '/14G/ || /64G/ || /75G/ {print $1}'| head -1)
|
||||
tests/scripts/localPathPV.sh "$BLOCK"
|
||||
tests/scripts/loopDevicePV.sh 1
|
||||
tests/scripts/github-action-helper.sh create_cluster_prerequisites
|
||||
@@ -585,7 +585,7 @@ jobs:
|
||||
kubectl -n rook-ceph logs deploy/rook-ceph-operator
|
||||
tests/scripts/github-action-helper.sh wait_for_cleanup_pod
|
||||
lsblk
|
||||
BLOCK=$(sudo lsblk --paths|awk '/14G/ || /64G/ {print $1}'| head -1)
|
||||
BLOCK=$(sudo lsblk --paths | awk '/14G/ || /64G/ || /75G/ {print $1}'| head -1)
|
||||
sudo head --bytes=60 ${BLOCK}1
|
||||
sudo head --bytes=60 ${BLOCK}2
|
||||
sudo head --bytes=60 /dev/loop1
|
||||
@@ -747,7 +747,7 @@ jobs:
|
||||
kubectl -n rook-ceph delete cephcluster rook-ceph
|
||||
kubectl -n rook-ceph logs deploy/rook-ceph-operator
|
||||
tests/scripts/github-action-helper.sh wait_for_cleanup_pod
|
||||
BLOCK=$(sudo lsblk --paths|awk '/14G/ || /64G/ {print $1}'| head -1)
|
||||
BLOCK=$(sudo lsblk --paths | awk '/14G/ || /64G/ || /75G/ {print $1}'| head -1)
|
||||
sudo head --bytes=60 ${BLOCK}1
|
||||
sudo head --bytes=60 ${BLOCK}2
|
||||
sudo lsblk
|
||||
@@ -1037,7 +1037,7 @@ jobs:
|
||||
|
||||
- name: create LV on disk
|
||||
run: |
|
||||
BLOCK=$(sudo lsblk --paths|awk '/14G/ || /64G/ {print $1}'| head -1)
|
||||
BLOCK=$(sudo lsblk --paths | awk '/14G/ || /64G/ || /75G/ {print $1}'| head -1)
|
||||
tests/scripts/github-action-helper.sh create_LV_on_disk $BLOCK
|
||||
tests/scripts/localPathPV.sh /dev/test-rook-vg/test-rook-lv
|
||||
|
||||
@@ -1085,7 +1085,7 @@ jobs:
|
||||
- name: use local disk into two partitions
|
||||
run: |
|
||||
tests/scripts/github-action-helper.sh use_local_disk
|
||||
BLOCK=$(sudo lsblk --paths|awk '/14G/ || /64G/ {print $1}'| head -1)
|
||||
BLOCK=$(sudo lsblk --paths | awk '/14G/ || /64G/ || /75G/ {print $1}'| head -1)
|
||||
tests/scripts/create-bluestore-partitions.sh --disk "$BLOCK" --osd-count 2
|
||||
sudo lsblk
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ jobs:
|
||||
- name: TestCephMultiClusterDeploySuite
|
||||
run: |
|
||||
tests/scripts/github-action-helper.sh collect_udev_logs_in_background
|
||||
export TEST_SCRATCH_DEVICE=$(sudo lsblk --paths|awk '/14G/ || /64G/ {print $1}'| head -1)1
|
||||
export TEST_SCRATCH_DEVICE=$(sudo lsblk --paths | awk '/14G/ || /64G/ || /75G/ {print $1}'| head -1)1
|
||||
export DEVICE_FILTER=$(lsblk|awk '/14G/ || /64G/ {print $1}'| head -1)
|
||||
go test -v -timeout 1800s -failfast -run CephMultiClusterDeploySuite github.com/rook/rook/tests/integration
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@ jobs:
|
||||
- name: TestCephMultiClusterDeploySuite
|
||||
run: |
|
||||
tests/scripts/github-action-helper.sh collect_udev_logs_in_background
|
||||
export TEST_SCRATCH_DEVICE=$(sudo lsblk --paths|awk '/14G/ || /64G/ {print $1}'| head -1)1
|
||||
export TEST_SCRATCH_DEVICE=$(sudo lsblk --paths | awk '/14G/ || /64G/ || /75G/ {print $1}'| head -1)1
|
||||
export DEVICE_FILTER=$(lsblk|awk '/14G/ || /64G/ {print $1}'| head -1)
|
||||
go test -v -timeout 1800s -run CephMultiClusterDeploySuite github.com/rook/rook/tests/integration
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ runs:
|
||||
- name: use local disk into two partitions
|
||||
shell: bash --noprofile --norc -eo pipefail -x {0}
|
||||
run: |
|
||||
BLOCK=$(sudo lsblk --paths|awk '/14G/ || /64G/ {print $1}'| head -1)
|
||||
BLOCK=$(sudo lsblk --paths | awk '/14G/ || /64G/ || /75G/ {print $1}'| head -1)
|
||||
tests/scripts/github-action-helper.sh use_local_disk
|
||||
tests/scripts/create-bluestore-partitions.sh --disk "$BLOCK" --osd-count 2
|
||||
sudo lsblk
|
||||
|
||||
Reference in new issue
Block a user