@@ -995,6 +995,58 @@ jobs:
995
995
path : diagnostics*.gz
996
996
retention-days : 1
997
997
998
+ local_resume_test :
999
+ name : Resume local cluster test on (${{ matrix.run }})
1000
+ needs : build_primary_binaries
1001
+ runs-on : ${{ matrix.os }}
1002
+ strategy :
1003
+ # fail-fast: false
1004
+ matrix :
1005
+ os : [ubuntu-latest]
1006
+ rust-target : [x86_64-unknown-linux-musl]
1007
+ run : [r1]
1008
+ steps :
1009
+ - uses : actions/checkout@v4
1010
+ # Download artifacts
1011
+ - name : Download artifact - fluvio
1012
+ uses : actions/download-artifact@v4
1013
+ with :
1014
+ name : fluvio-${{ matrix.rust-target }}
1015
+ path : ~/bin
1016
+ - name : Download artifact - fluvio-run
1017
+ uses : actions/download-artifact@v4
1018
+ with :
1019
+ name : fluvio-run-${{ matrix.rust-target }}
1020
+ path : ~/bin
1021
+ - name : Mark executable
1022
+ run : |
1023
+ chmod +x ~/bin/fluvio-run
1024
+ chmod +x ~/bin/fluvio && ~/bin/fluvio version
1025
+ echo "${HOME}/bin" >> $GITHUB_PATH
1026
+ - name : Install Parallel
1027
+ run : sudo apt-get install -y parallel
1028
+
1029
+ - name : Run resume test with CI artifacts
1030
+ timeout-minutes : 10
1031
+ env :
1032
+ TEST_DATA_BYTES : 10000
1033
+ run : |
1034
+ date
1035
+ make FLUVIO_MODE=local FLUVIO_BIN=~/bin/fluvio resume-test
1036
+
1037
+ - name : Run diagnostics
1038
+ if : ${{ !success() }}
1039
+ timeout-minutes : 5
1040
+ run : fluvio cluster diagnostics
1041
+ - name : Upload logs
1042
+ timeout-minutes : 5
1043
+ if : ${{ !success() }}
1044
+ uses : actions/upload-artifact@v4
1045
+ with :
1046
+ name : local_upgrade_${{ matrix.run }}_log
1047
+ path : diagnostics*.gz
1048
+ retention-days : 1
1049
+
998
1050
# Smoke test across different version of fluvio
999
1051
cli_smoke :
1000
1052
name : CLI smoke test (${{ matrix.test }}) CLI (${{ matrix.cli_version }}) on cluster (${{ matrix.cluster_version }})
0 commit comments