From e7a5dff596dee08273719fe047858fc4c5d6e8d0 Mon Sep 17 00:00:00 2001 From: Revital Sur Date: Mon, 14 Oct 2024 20:35:12 +0300 Subject: [PATCH] Run noop in test-kfp workflow instead of random transform. Signed-off-by: Revital Sur --- .github/workflows/test-kfp.yml | 30 ++++-------------------------- 1 file changed, 4 insertions(+), 26 deletions(-) diff --git a/.github/workflows/test-kfp.yml b/.github/workflows/test-kfp.yml index 8a5023b39..60db612b7 100644 --- a/.github/workflows/test-kfp.yml +++ b/.github/workflows/test-kfp.yml @@ -96,19 +96,8 @@ jobs: run: | $PWD/scripts/workflow_helper.sh install-tools make -C kfp/kfp_support_lib test - KFP_BLACK_LIST=$(./scripts/check-workflows.sh -show-kfp-black-list) - while : - do - dir=("code" "universal" "language") && index=$(($RANDOM % ${#dir[@]})) && subdirs=${dir[$index]} && transforms=($(find transforms/$subdirs -type d -maxdepth 1 -mindepth 1 )) - set -- "${transforms[@]}" && transforms=("$@") && size=${#transforms[@]} && index=$(($RANDOM % $size)) - transform=$(basename "${transforms[$index]}") - if [ -e "$transform/Makefile" -a -e "$transform/kfp_ray/Makefile" ] && echo ${KFP_BLACK_LIST} | grep -qv ${transform}; then - echo "Running ${transforms[$index]} workflow test" - break - fi - done - $PWD/scripts/workflow_helper.sh test-workflow ${transforms[$index]} - echo "Run ${transforms[$index]} completed" + $PWD/scripts/workflow_helper.sh test-workflow "transforms/universal/noop" + echo "Run noop completed" test-kfp-v2: runs-on: ubuntu-22.04 steps: @@ -135,19 +124,8 @@ jobs: run: | $PWD/scripts/workflow_helper.sh install-tools make -C kfp/kfp_support_lib test - KFP_BLACK_LIST=$(./scripts/check-workflows.sh -show-kfp-black-list) - while : - do - dir=("code" "universal" "language") && index=$(($RANDOM % ${#dir[@]})) && subdirs=${dir[$index]} && transforms=($(find transforms/$subdirs -type d -maxdepth 1 -mindepth 1 )) - set -- "${transforms[@]}" && transforms=("$@") && size=${#transforms[@]} && index=$(($RANDOM % $size)) - transform=$(basename "${transforms[$index]}") - if [ -e "${transforms[$index]}/Makefile" -a -e "${transforms[$index]}/kfp_ray/Makefile" ] && echo ${KFP_BLACK_LIST} | grep -qv ${transform}; then - echo "Running ${transforms[$index]} workflow test" - break - fi - done - $PWD/scripts/workflow_helper.sh test-workflow ${transforms[$index]} - echo "Run ${transforms[$index]} completed" + $PWD/scripts/workflow_helper.sh test-workflow "transforms/universal/noop" + echo "Run noop completed" build-kfp-components: needs: [check_if_push_images] runs-on: ubuntu-22.04