forked from IBM/data-prep-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
55 lines (32 loc) · 1.3 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Define the root of the local git clone for the common rules to be able
# know where they are running from.
REPOROOT=../../../..
# Include a library of common .transform.* targets which most
# transforms should be able to reuse. However, feel free
# to override/redefine the rules below.
include $(REPOROOT)/transforms/.make.transforms
TRANSFORM_NAME=noop
BASE_IMAGE=${RAY_BASE_IMAGE}
venv:: .transforms.ray-venv
test:: .transforms.ray-test
clean:: .transforms.clean
image:: .transforms.ray-image
test-src:: .transforms.test-src
setup:: .transforms.setup
test-image:: .transforms.ray-test-image
build:: build-dist image
publish: publish-image
publish-image:: .transforms.publish-image-ray
setup:: .transforms.setup
# set the version of python transform that this depends on.
set-versions:
$(MAKE) TRANSFORM_PYTHON_VERSION=${NOOP_PYTHON_VERSION} TOML_VERSION=$(NOOP_RAY_VERSION) .transforms.set-versions
build-dist:: set-versions .defaults.build-dist
publish-dist:: .defaults.publish-dist
run-cli-sample: .transforms.run-cli-ray-sample
run-local-sample: .transforms.run-local-ray-sample
run-s3-sample: .transforms.run-s3-ray-sample
minio-start: .minio-start
kind-load-image:: .transforms.kind-load-image
docker-load-image: .defaults.docker-load-image
docker-save-image: .defaults.docker-save-image