-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathjustfile
More file actions
75 lines (55 loc) · 1.95 KB
/
justfile
File metadata and controls
75 lines (55 loc) · 1.95 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Optional developer convenience commands for Kubeflow Pipelines
#
# These recipes are simple wrappers around existing Make targets.
# They are entirely optional and are not used by CI.
# Use a POSIX shell for consistency across platforms
set shell := ["sh", "-cu"]
# Default: show available recipes
default:
@echo "Available recipes (run 'just <name>'):" \
&& just --list
# ---- High-level commands ----
# NOTE:
# - There is intentionally no generic `build` or `test` recipe.
# - The backend `all` target builds multiple Docker images and must not be
# wired to a generic `just build`.
# Explicitly build all backend container images (backend/Makefile: all -> image_all)
backend-images:
make -C backend all
# Backend Go unit tests for the v2 engine (backend/src/v2/Makefile: test)
backend-test:
make -C backend/src/v2 test
# ---- Backend helpers ----
# Create a local standalone Kind cluster with KFP deployed
kind-standalone:
make -C backend kind-cluster-agnostic
# Create a local Kind cluster for API server development
kind-dev:
make -C backend dev-kind-cluster
# Backend lint and format (backend/Makefile)
backend-lint:
make -C backend lint
backend-format:
make -C backend format
backend-lint-format:
make -C backend lint-and-format
# Backend integration webhook tests
backend-webhook-test:
make -C backend/test/integration test-webhook
# ---- SDK / API / platform helpers ----
# Build API v2alpha1 Go and Python artifacts (api/Makefile: all)
api-protos:
make -C api all
# Build Kubernetes platform Go and Python artifacts (kubernetes_platform/Makefile: all)
kubernetes-platform-protos:
make -C kubernetes_platform all
# Build SDK Python distribution artifacts (sdk/Makefile: python)
sdk-build:
make -C sdk python
# ---- Repo-wide tooling ----
# Install Ginkgo test runner into ./bin (root Makefile)
ginkgo:
make ginkgo
# Check that generated files are up to date (root Makefile)
check-diff:
make check-diff