Skip to content

Commit

Permalink
fix dcc_quality kfp makefile
Browse files Browse the repository at this point in the history
Signed-off-by: matouma <[email protected]>
  • Loading branch information
matouma committed Dec 15, 2024
1 parent 45ac542 commit 352e267
Showing 1 changed file with 6 additions and 22 deletions.
28 changes: 6 additions & 22 deletions transforms/language/doc_quality/kfp_ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,13 @@ REPOROOT=${CURDIR}/../../../../
WORKFLOW_VENV_ACTIVATE=${REPOROOT}/transforms/venv/bin/activate
include $(REPOROOT)/transforms/.make.workflows


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

SRC_DIR=${CURDIR}/../
# Use the docker image that is built for ray runtime
TRANSFORM_RUNTIME=ray
## override settings in .make.default as they assume old structure with ray being the current folder
DOCKER_IMAGE_NAME=$(TRANSFORM_NAME)-$(TRANSFORM_RUNTIME)
DOCKER_LOCAL_IMAGE=$(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_VERSION)


# Only build the image with -f Dockerfile.ray
BUILD_SPECIFIC_RUNTIME=ray

Expand All @@ -25,23 +20,8 @@ workflow-venv: .check_python_version ${WORKFLOW_VENV_ACTIVATE}
.PHONY: clean
clean:
@# Help: Clean up the virtual environment.
rm -rf ${REPOROOT}/transforms/venv

venv::

build::

test::

test-src::
rm -rf ${REPOROOT}/transforms/venv

test-image::

publish::

image::

load-image::

.PHONY: workflow-build
workflow-build: workflow-venv
Expand All @@ -57,7 +37,11 @@ workflow-test: workflow-build
PIPELINE_FILE=$(TRANSFORM_NAME)_wf.yaml .workflows.test-pipeline

.PHONY: workflow-upload
workflow-upload:
workflow-upload: workflow-build
@for file in $(YAML_WF); do \
$(MAKE) .workflows.upload-pipeline PIPELINE_FILE=$$file; \
done




0 comments on commit 352e267

Please sign in to comment.