Skip to content

Commit

Permalink
Minor fixes.
Browse files Browse the repository at this point in the history
Signed-off-by: Revital Sur <eres@il.ibm.com>
  • Loading branch information
revit13 committed Jun 21, 2024
1 parent ba13024 commit 25ca5e1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,5 +141,13 @@ jobs:
export KFPv2=1
make -C kind setup
make -C kfp/kfp_support_lib test
make setup
make -C transforms/universal/noop workflow-test
make -C transforms setup
dir=("code" "universal") && index=$(($RANDOM % 2)) && subdirs=${dir[$index]} && transforms=($(find transforms/$subdirs/ -type d -maxdepth 1 ))
# First element is not really a subdir but rather the current dir so remove it and randomly choose a transform to run
set -- "${transforms[@]}" && shift && transforms=("$@") && size=${#transforms[@]} && index=$(($RANDOM % $size))
export REPOROOT=$PWD
export KIND_SCRIPTS=$PWD/scripts/kind
source scripts/kind/common.sh
header_text "Running ${transforms[$index]} workflow test"
make -C ${transforms[$index]} workflow-test
header_text "Run ${transforms[$index]} completed"
2 changes: 1 addition & 1 deletion kfp/kfp_ray_components/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ set-versions:
@$(MAKE) .reconcile-requirements FILE=deleteRayClusterComponent.yaml
@$(MAKE) .reconcile-requirements FILE=executeRayJobComponent.yaml
@$(MAKE) .reconcile-requirements FILE=executeRayJobComponent_multi_s3.yaml
$(REPOROOT)/scripts/transforms/update_dockerfile.sh ${RAY}
@$(REPOROOT)/scripts/transforms/update_dockerfile.sh ${RAY}
ifneq ($(KFPv2), 1)
@$(MAKE) .reconcile-requirements FILE=executeSubWorkflowComponent.yaml
endif
Expand Down

0 comments on commit 25ca5e1

Please sign in to comment.