Skip to content

Commit 73948f5

Browse files
committed
update
1 parent d8696ca commit 73948f5

File tree

2 files changed

+76
-66
lines changed

2 files changed

+76
-66
lines changed

.github/integration-in-memory-tests.yml

Lines changed: 47 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ runner-test-matrix:
673673
- id: smoke/ccip/ccip_aptos_token_transfer_test.go:Test_CCIP_TokenTransfer_LnR_EVM2Aptos
674674
path: integration-tests/smoke/ccip/ccip_aptos_token_transfer_test.go
675675
test_env_type: in-memory
676-
runs_on_self_hosted: runs-on/cpu=8/ram=32/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs
676+
runs_on: ubuntu-latest
677677
triggers:
678678
- PR Integration CCIP Tests
679679
- Nightly Integration CCIP Tests
@@ -685,7 +685,7 @@ runner-test-matrix:
685685
- id: smoke/ccip/ccip_aptos_token_transfer_test.go:Test_CCIP_TokenTransfer_LnR_without_TransferRef_EVM2Aptos
686686
path: integration-tests/smoke/ccip/ccip_aptos_token_transfer_test.go
687687
test_env_type: in-memory
688-
runs_on_self_hosted: runs-on/cpu=8/ram=32/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs
688+
runs_on: ubuntu-latest
689689
triggers:
690690
- PR Integration CCIP Tests
691691
- Nightly Integration CCIP Tests
@@ -697,7 +697,7 @@ runner-test-matrix:
697697
- id: smoke/ccip/ccip_aptos_token_transfer_test.go:Test_CCIP_TokenTransfer_LnR_without_TransferRef_Aptos2EVM
698698
path: integration-tests/smoke/ccip/ccip_aptos_token_transfer_test.go
699699
test_env_type: in-memory
700-
runs_on_self_hosted: runs-on/cpu=8/ram=32/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs
700+
runs_on: ubuntu-latest
701701
triggers:
702702
- PR Integration CCIP Tests
703703
- Nightly Integration CCIP Tests
@@ -710,7 +710,7 @@ runner-test-matrix:
710710
- id: smoke/ccip/ccip_ton_messaging_test.go:Test_CCIPMessaging_TON2EVM
711711
path: integration-tests/smoke/ccip/ccip_ton_messaging_test.go
712712
test_env_type: in-memory
713-
runs_on_self_hosted: runs-on/cpu=8/ram=32/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs
713+
runs_on: ubuntu-latest
714714
triggers:
715715
- PR Integration CCIP Tests
716716
- Nightly Integration CCIP Tests
@@ -721,7 +721,7 @@ runner-test-matrix:
721721
- id: smoke/ccip/ccip_ton_messaging_test.go:Test_CCIPMessaging_EVM2TON
722722
path: integration-tests/smoke/ccip/ccip_ton_messaging_test.go
723723
test_env_type: in-memory
724-
runs_on_self_hosted: runs-on/cpu=8/ram=32/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs
724+
runs_on: ubuntu-latest
725725
triggers:
726726
- PR Integration CCIP Tests
727727
- Nightly Integration CCIP Tests
@@ -734,19 +734,11 @@ runner-test-matrix:
734734
path: integration-tests/smoke/ccip/ccip_sui_messaging_test.go
735735
test_env_type: in-memory
736736
runs_on: ubuntu-latest
737-
# runs_on_self_hosted: runs-on/cpu=8/ram=32/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs
738737
triggers:
739738
- PR Integration CCIP Tests
740739
- Nightly Integration CCIP Tests
741740
test_cmd: |
742-
echo "🧹 Freeing up disk space before CCIP Sui test..."
743-
df -h
744-
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /usr/local/.ghcup /usr/share/swift /usr/local/lib/node_modules || true
745-
sudo apt-get autoremove -y && sudo apt-get autoclean -y && sudo apt-get clean || true
746-
sudo apt-get remove -y '^aspnetcore-.*' '^dotnet-.*' azure-cli google-cloud-sdk hhvm google-chrome-stable firefox powershell mono-devel || true
747-
docker system prune -af --volumes || true
748-
echo "✅ Cleanup completed. Available space:"
749-
df -h
741+
./scripts/free-disk-space.sh
750742
echo "🚀 Starting CCIP Sui2EVM test..."
751743
go test ./smoke/ccip -run "Test_CCIP_Messaging_Sui2EVM" -timeout 10m -test.parallel=1 -count=1 -json
752744
test_go_project_path: integration-tests
@@ -757,36 +749,31 @@ runner-test-matrix:
757749
path: integration-tests/smoke/ccip/ccip_sui_messaging_test.go
758750
test_env_type: in-memory
759751
runs_on: ubuntu-latest
760-
# runs_on_self_hosted: runs-on/cpu=8/ram=32/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs
761752
triggers:
762753
- PR Integration CCIP Tests
763754
- Nightly Integration CCIP Tests
764755
test_cmd: |
765-
echo "🧹 Freeing up disk space before CCIP Sui test..."
766-
df -h
767-
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /usr/local/.ghcup /usr/share/swift /usr/local/lib/node_modules || true
768-
sudo apt-get autoremove -y && sudo apt-get autoclean -y && sudo apt-get clean || true
769-
sudo apt-get remove -y '^aspnetcore-.*' '^dotnet-.*' azure-cli google-cloud-sdk hhvm google-chrome-stable firefox powershell mono-devel || true
770-
docker system prune -af --volumes || true
771-
echo "✅ Cleanup completed. Available space:"
772-
df -h
756+
./scripts/free-disk-space.sh
773757
echo "🚀 Starting CCIP EVM2Sui test..."
774758
go test ./smoke/ccip -run "Test_CCIP_Messaging_EVM2Sui" -timeout 10m -test.parallel=1 -count=1 -json
775759
test_go_project_path: integration-tests
776760
sui_cli_version: mainnet-1.60.1
777761
install_plugins_public: true
778762

779-
# - id: smoke/ccip/ccip_sui_messaging_test.go:Test_CCIP_EVM2Sui_ZeroReceiver
780-
# path: integration-tests/smoke/ccip/ccip_sui_messaging_test.go
781-
# test_env_type: in-memory
782-
# runs_on: ubuntu-latest
783-
# triggers:
784-
# - PR Integration CCIP Tests
785-
# - Nightly Integration CCIP Tests
786-
# test_cmd: go test ./smoke/ccip -run "Test_CCIP_EVM2Sui_ZeroReceiver" -timeout 10m -test.parallel=1 -count=1 -json
787-
# test_go_project_path: integration-tests
788-
# sui_cli_version: mainnet-1.57.2
789-
# install_plugins_public: true
763+
- id: smoke/ccip/ccip_sui_messaging_test.go:Test_CCIP_EVM2Sui_ZeroReceiver
764+
path: integration-tests/smoke/ccip/ccip_sui_messaging_test.go
765+
test_env_type: in-memory
766+
runs_on: ubuntu-latest
767+
triggers:
768+
- PR Integration CCIP Tests
769+
- Nightly Integration CCIP Tests
770+
test_cmd: |
771+
./scripts/free-disk-space.sh
772+
echo "🚀 Starting CCIP EVM2Sui ZeroReceiver test..."
773+
go test ./smoke/ccip -run "Test_CCIP_EVM2Sui_ZeroReceiver" -timeout 10m -test.parallel=1 -count=1 -json
774+
test_go_project_path: integration-tests
775+
sui_cli_version: mainnet-1.57.2
776+
install_plugins_public: true
790777

791778
- id: smoke/ccip/ccip_sui_token_transfer_test.go:Test_CCIPTokenTransfer_Sui2EVM_BurnMintTokenPool
792779
path: integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go
@@ -797,14 +784,7 @@ runner-test-matrix:
797784
- PR Integration CCIP Tests
798785
- Nightly Integration CCIP Tests
799786
test_cmd: |
800-
echo "🧹 Freeing up disk space before CCIP Sui token transfer test..."
801-
df -h
802-
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /usr/local/.ghcup /usr/share/swift /usr/local/lib/node_modules || true
803-
sudo apt-get autoremove -y && sudo apt-get autoclean -y && sudo apt-get clean || true
804-
sudo apt-get remove -y '^aspnetcore-.*' '^dotnet-.*' azure-cli google-cloud-sdk hhvm google-chrome-stable firefox powershell mono-devel || true
805-
docker system prune -af --volumes || true
806-
echo "✅ Cleanup completed. Available space:"
807-
df -h
787+
./scripts/free-disk-space.sh
808788
echo "🚀 Starting CCIP Sui2EVM BurnMint token transfer test..."
809789
go test ./smoke/ccip -run "Test_CCIPTokenTransfer_Sui2EVM_BurnMintTokenPool" -timeout 10m -test.parallel=1 -count=1 -json
810790
test_go_project_path: integration-tests
@@ -815,19 +795,11 @@ runner-test-matrix:
815795
path: integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go
816796
test_env_type: in-memory
817797
runs_on: ubuntu-latest
818-
# runs_on_self_hosted: runs-on/cpu=8/ram=32/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs
819798
triggers:
820799
- PR Integration CCIP Tests
821800
- Nightly Integration CCIP Tests
822801
test_cmd: |
823-
echo "🧹 Freeing up disk space before CCIP Sui managed token pool test..."
824-
df -h
825-
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /usr/local/.ghcup /usr/share/swift /usr/local/lib/node_modules || true
826-
sudo apt-get autoremove -y && sudo apt-get autoclean -y && sudo apt-get clean || true
827-
sudo apt-get remove -y '^aspnetcore-.*' '^dotnet-.*' azure-cli google-cloud-sdk hhvm google-chrome-stable firefox powershell mono-devel || true
828-
docker system prune -af --volumes || true
829-
echo "✅ Cleanup completed. Available space:"
830-
df -h
802+
./scripts/free-disk-space.sh
831803
echo "🚀 Starting CCIP Sui2EVM ManagedTokenPool test..."
832804
go test ./smoke/ccip -run "Test_CCIPTokenTransfer_Sui2EVM_ManagedTokenPool" -timeout 10m -test.parallel=1 -count=1 -json
833805
test_go_project_path: integration-tests
@@ -837,11 +809,14 @@ runner-test-matrix:
837809
- id: smoke/ccip/ccip_sui_token_transfer_test.go:Test_CCIPPureTokenTransfer_EVM2SUI_BurnMintTokenPool
838810
path: integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go
839811
test_env_type: in-memory
840-
runs_on_self_hosted: runs-on/cpu=8/ram=32/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs
812+
runs_on: ubuntu-latest
841813
triggers:
842814
- PR Integration CCIP Tests
843815
- Nightly Integration CCIP Tests
844-
test_cmd: go test ./smoke/ccip -run "Test_CCIPPureTokenTransfer_EVM2SUI_BurnMintTokenPool" -timeout 7m -test.parallel=1 -count=1 -json
816+
test_cmd: |
817+
./scripts/free-disk-space.sh
818+
echo "🚀 Starting CCIP EVM2Sui Pure Token Transfer test..."
819+
go test ./smoke/ccip -run "Test_CCIPPureTokenTransfer_EVM2SUI_BurnMintTokenPool" -timeout 7m -test.parallel=1 -count=1 -json
845820
test_go_project_path: integration-tests
846821
sui_cli_version: mainnet-1.60.1
847822
install_plugins_public: true
@@ -870,26 +845,32 @@ runner-test-matrix:
870845
# sui_cli_version: mainnet-1.60.1
871846
# install_plugins_public: true
872847

873-
# - id: smoke/ccip/ccip_sui_token_transfer_test.go:Test_CCIPTokenTransfer_EVM2SUI_BurnMintTokenPool
874-
# path: integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go
875-
# test_env_type: in-memory
876-
# runs_on_self_hosted: runs-on/cpu=8/ram=32/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs
877-
# triggers:
878-
# - PR Integration CCIP Tests
879-
# - Nightly Integration CCIP Tests
880-
# test_cmd: go test ./smoke/ccip -run "Test_CCIPTokenTransfer_EVM2SUI_BurnMintTokenPool" -timeout 7m -test.parallel=1 -count=1 -json
881-
# test_go_project_path: integration-tests
882-
# sui_cli_version: mainnet-1.60.1
883-
# install_plugins_public: true
848+
- id: smoke/ccip/ccip_sui_token_transfer_test.go:Test_CCIPTokenTransfer_EVM2SUI_BurnMintTokenPool
849+
path: integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go
850+
test_env_type: in-memory
851+
runs_on: ubuntu-latest
852+
triggers:
853+
- PR Integration CCIP Tests
854+
- Nightly Integration CCIP Tests
855+
test_cmd: |
856+
./scripts/free-disk-space.sh
857+
echo "🚀 Starting CCIP EVM2Sui BurnMint Token Transfer test..."
858+
go test ./smoke/ccip -run "Test_CCIPTokenTransfer_EVM2SUI_BurnMintTokenPool" -timeout 7m -test.parallel=1 -count=1 -json
859+
test_go_project_path: integration-tests
860+
sui_cli_version: mainnet-1.60.1
861+
install_plugins_public: true
884862

885863
- id: smoke/ccip/ccip_sui_token_transfer_test.go:Test_CCIPTokenTransfer_EVM2SUI_ManagedTokenPool
886864
path: integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go
887865
test_env_type: in-memory
888-
runs_on_self_hosted: runs-on/cpu=8/ram=32/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs
866+
runs_on: ubuntu-latest
889867
triggers:
890868
- PR Integration CCIP Tests
891869
- Nightly Integration CCIP Tests
892-
test_cmd: go test ./smoke/ccip -run "Test_CCIPTokenTransfer_EVM2SUI_ManagedTokenPool" -timeout 7m -test.parallel=1 -count=1 -json
870+
test_cmd: |
871+
./scripts/free-disk-space.sh
872+
echo "🚀 Starting CCIP EVM2Sui ManagedTokenPool test..."
873+
go test ./smoke/ccip -run "Test_CCIPTokenTransfer_EVM2SUI_ManagedTokenPool" -timeout 7m -test.parallel=1 -count=1 -json
893874
test_go_project_path: integration-tests
894875
sui_cli_version: mainnet-1.60.1
895876
install_plugins_public: true
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/usr/bin/env bash
2+
3+
# Free up disk space on GitHub ubuntu-latest runners before running CCIP tests
4+
# This script removes unnecessary pre-installed software to prevent "no space left on device" errors
5+
6+
set -e
7+
8+
echo "🧹 Freeing up disk space for CCIP tests..."
9+
df -h
10+
11+
# Remove large pre-installed software (~7GB)
12+
echo "Removing large pre-installed software..."
13+
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /usr/local/.ghcup /usr/share/swift /usr/local/lib/node_modules || true
14+
15+
# Clean package cache (~1GB)
16+
echo "Cleaning package cache..."
17+
sudo apt-get autoremove -y && sudo apt-get autoclean -y && sudo apt-get clean || true
18+
19+
# Remove unnecessary packages (~2GB)
20+
echo "Removing unnecessary packages..."
21+
sudo apt-get remove -y '^aspnetcore-.*' '^dotnet-.*' azure-cli google-cloud-sdk hhvm google-chrome-stable firefox powershell mono-devel || true
22+
23+
# Docker cleanup (~1GB)
24+
echo "Cleaning Docker..."
25+
docker system prune -af --volumes || true
26+
27+
echo "✅ Cleanup completed. Available space:"
28+
df -h
29+
echo ""

0 commit comments

Comments
 (0)