Skip to content

Commit

Permalink
fix Makefile typo on Include and add config for repo_level_ordering a…
Browse files Browse the repository at this point in the history
…nd fdedup

Signed-off-by: David Wood <[email protected]>
  • Loading branch information
daw3rd committed Oct 4, 2024
1 parent 1c99306 commit 7636304
Show file tree
Hide file tree
Showing 24 changed files with 58 additions and 22 deletions.
2 changes: 1 addition & 1 deletion transforms/code/code2parquet/kfp_ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKFLOW_VENV_ACTIVATE=${REPOROOT}/transforms/venv/bin/activate
include $(REPOROOT)/transforms/.make.workflows

# Include the common configuration for this transform
Include ../transform.config
include ../transform.config

SRC_DIR=${CURDIR}/../ray/

Expand Down
2 changes: 1 addition & 1 deletion transforms/code/code_quality/kfp_ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKFLOW_VENV_ACTIVATE=${REPOROOT}/transforms/venv/bin/activate
include $(REPOROOT)/transforms/.make.workflows

# Include the common configuration for this transform
Include ../transform.config
include ../transform.config

SRC_DIR=${CURDIR}/../ray/

Expand Down
2 changes: 1 addition & 1 deletion transforms/code/header_cleanser/kfp_ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKFLOW_VENV_ACTIVATE=${REPOROOT}/transforms/venv/bin/activate
include $(REPOROOT)/transforms/.make.workflows

# Include the common configuration for this transform
Include ../transform.config
include ../transform.config

SRC_DIR=${CURDIR}/../ray/

Expand Down
2 changes: 1 addition & 1 deletion transforms/code/license_select/kfp_ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKFLOW_VENV_ACTIVATE=${REPOROOT}/transforms/venv/bin/activate
include $(REPOROOT)/transforms/.make.workflows

# Include the common configuration for this transform
Include ../transform.config
include ../transform.config

SRC_DIR=${CURDIR}/../ray/

Expand Down
2 changes: 1 addition & 1 deletion transforms/code/malware/kfp_ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKFLOW_VENV_ACTIVATE=${REPOROOT}/transforms/venv/bin/activate
include $(REPOROOT)/transforms/.make.workflows

# Include the common configuration for this transform
Include ../transform.config
include ../transform.config

SRC_DIR=${CURDIR}/../ray/

Expand Down
2 changes: 1 addition & 1 deletion transforms/code/proglang_select/kfp_ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKFLOW_VENV_ACTIVATE=${REPOROOT}/transforms/venv/bin/activate
include $(REPOROOT)/transforms/.make.workflows

# Include the common configuration for this transform
Include ../transform.config
include ../transform.config

SRC_DIR=${CURDIR}/../ray/

Expand Down
2 changes: 1 addition & 1 deletion transforms/code/repo_level_ordering/kfp_ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKFLOW_VENV_ACTIVATE=${REPOROOT}/transforms/venv/bin/activate
include $(REPOROOT)/transforms/.make.workflows

# Include the common configuration for this transform
Include ../transform.config
include ../transform.config

SRC_DIR=${CURDIR}/../ray/

Expand Down
2 changes: 0 additions & 2 deletions transforms/code/repo_level_ordering/ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ include ../transform.config

BASE_IMAGE=$(RAY_BASE_IMAGE)

TRANSFORM_NAME=repo_level_order

venv:: .transforms.ray-venv

test:: .transforms.ray-test
Expand Down
19 changes: 19 additions & 0 deletions transforms/code/repo_level_ordering/transform.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#
# This is intended to be included across the Makefiles provided within
# a given transform's directory tree, so must use compatible syntax.
#
################################################################################
# This defines the name of the transform and is used to match against
# expected files and is used to define the transform's image name.
TRANSFORM_NAME=repo_level_order

################################################################################
# This defines the transforms' version number as would be used
# when publishing the wheel. In general, only the micro version
# number should be advanced relative to the DPK_VERSION.
#
# If you change the versions numbers, be sure to run "make set-versions" to
# update version numbers across the transform (e.g., pyproject.toml).
REPO_LVL_ORDER_RAY_VERSION=$(REPO_LEVEL_ORDER_PYTHON_VERSION)


2 changes: 1 addition & 1 deletion transforms/language/doc_chunk/kfp_ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKFLOW_VENV_ACTIVATE=${REPOROOT}/transforms/venv/bin/activate
include $(REPOROOT)/transforms/.make.workflows

# Include the common configuration for this transform
Include ../transform.config
include ../transform.config

SRC_DIR=${CURDIR}/../ray/

Expand Down
2 changes: 1 addition & 1 deletion transforms/language/doc_quality/kfp_ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKFLOW_VENV_ACTIVATE=${REPOROOT}/transforms/venv/bin/activate
include $(REPOROOT)/transforms/.make.workflows

# Include the common configuration for this transform
Include ../transform.config
include ../transform.config

SRC_DIR=${CURDIR}/../ray/

Expand Down
2 changes: 1 addition & 1 deletion transforms/language/lang_id/kfp_ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKFLOW_VENV_ACTIVATE=${REPOROOT}/transforms/venv/bin/activate
include $(REPOROOT)/transforms/.make.workflows

# Include the common configuration for this transform
Include ../transform.config
include ../transform.config

SRC_DIR=${CURDIR}/../ray/

Expand Down
2 changes: 1 addition & 1 deletion transforms/language/pdf2parquet/kfp_ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKFLOW_VENV_ACTIVATE=${REPOROOT}/transforms/venv/bin/activate
include $(REPOROOT)/transforms/.make.workflows

# Include the common configuration for this transform
Include ../transform.config
include ../transform.config

SRC_DIR=${CURDIR}/../ray/

Expand Down
2 changes: 1 addition & 1 deletion transforms/language/pii_redactor/kfp_ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKFLOW_VENV_ACTIVATE=${REPOROOT}/transforms/venv/bin/activate
include $(REPOROOT)/transforms/.make.workflows

# Include the common configuration for this transform
Include ../transform.config
include ../transform.config

SRC_DIR=${CURDIR}/../ray/

Expand Down
2 changes: 1 addition & 1 deletion transforms/language/text_encoder/kfp_ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKFLOW_VENV_ACTIVATE=${REPOROOT}/transforms/venv/bin/activate
include $(REPOROOT)/transforms/.make.workflows

# Include the common configuration for this transform
Include ../transform.config
include ../transform.config

SRC_DIR=${CURDIR}/../ray/

Expand Down
2 changes: 1 addition & 1 deletion transforms/universal/doc_id/kfp_ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKFLOW_VENV_ACTIVATE=${REPOROOT}/transforms/venv/bin/activate
include $(REPOROOT)/transforms/.make.workflows

# Include the common configuration for this transform
Include ../transform.config
include ../transform.config

SRC_DIR=${CURDIR}/../ray/

Expand Down
2 changes: 1 addition & 1 deletion transforms/universal/ededup/kfp_ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKFLOW_VENV_ACTIVATE=${REPOROOT}/transforms/venv/bin/activate
include $(REPOROOT)/transforms/.make.workflows

# Include the common configuration for this transform
Include ../transform.config
include ../transform.config

SRC_DIR=${CURDIR}/../ray/

Expand Down
2 changes: 1 addition & 1 deletion transforms/universal/fdedup/kfp_ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKFLOW_VENV_ACTIVATE=${REPOROOT}/transforms/venv/bin/activate
include $(REPOROOT)/transforms/.make.workflows

# Include the common configuration for this transform
Include ../transform.config
include ../transform.config

SRC_DIR=${CURDIR}/../ray/

Expand Down
1 change: 1 addition & 0 deletions transforms/universal/fdedup/ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ include $(REPOROOT)/transforms/.make.transforms
include ../transform.config

BASE_IMAGE=${RAY_BASE_IMAGE}

venv:: .transforms.ray-venv

test:: .transforms.ray-test
Expand Down
18 changes: 18 additions & 0 deletions transforms/universal/fdedup/transform.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#
# This is intended to be included across the Makefiles provided within
# a given transform's directory tree, so must use compatible syntax.
#
################################################################################
# This defines the name of the transform and is used to match against
# expected files and is used to define the transform's image name.
TRANSFORM_NAME=fdedup

################################################################################
# This defines the transforms' version number as would be used
# when publishing the wheel. In general, only the micro version
# number should be advanced relative to the DPK_VERSION.
#
# If you change the versions numbers, be sure to run "make set-versions" to
# update version numbers across the transform (e.g., pyproject.toml).
FDEDUP_RAY_VERSION=$(_PYTHON_VERSION)

2 changes: 1 addition & 1 deletion transforms/universal/filter/kfp_ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKFLOW_VENV_ACTIVATE=${REPOROOT}/transforms/venv/bin/activate
include $(REPOROOT)/transforms/.make.workflows

# Include the common configuration for this transform
Include ../transform.config
include ../transform.config

SRC_DIR=${CURDIR}/../ray/

Expand Down
2 changes: 1 addition & 1 deletion transforms/universal/profiler/kfp_ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKFLOW_VENV_ACTIVATE=${REPOROOT}/transforms/venv/bin/activate
include $(REPOROOT)/transforms/.make.workflows

# Include the common configuration for this transform
Include ../transform.config
include ../transform.config

SRC_DIR=${CURDIR}/../ray/

Expand Down
2 changes: 1 addition & 1 deletion transforms/universal/resize/kfp_ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKFLOW_VENV_ACTIVATE=${REPOROOT}/transforms/venv/bin/activate
include $(REPOROOT)/transforms/.make.workflows

# Include the common configuration for this transform
Include ../transform.config
include ../transform.config

SRC_DIR=${CURDIR}/../ray/

Expand Down
2 changes: 1 addition & 1 deletion transforms/universal/tokenization/kfp_ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKFLOW_VENV_ACTIVATE=${REPOROOT}/transforms/venv/bin/activate
include $(REPOROOT)/transforms/.make.workflows

# Include the common configuration for this transform
Include ../transform.config
include ../transform.config

SRC_DIR=${CURDIR}/../ray/

Expand Down

0 comments on commit 7636304

Please sign in to comment.