-
Notifications
You must be signed in to change notification settings - Fork 0
/
Tiltfile
49 lines (40 loc) · 1.23 KB
/
Tiltfile
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
load('ext://restart_process', 'docker_build_with_restart')
local_resource('Install CAPI dependencies',
'make apply-capi-dependencies'
)
local_resource('Wait CAPI dependencies resources',
'make wait-capi-dependencies-resources',
resource_deps=[
'Install CAPI dependencies'
]
)
local_resource('Install Cluster API',
'make apply-capi'
)
local_resource('Wait CAPI resources',
'make wait-capi-resources',
resource_deps=[
'Install Cluster API'
]
)
local_resource('Populate test clusters into CAPI',
'make apply-test-clusters',
deps=['Makefile'],
resource_deps=[
'Wait CAPI resources'
]
)
local_resource('Build KaaS-manager binary',
'make build',
deps=['Makefile'],
)
docker_build_with_restart('manager:test',
'.',
dockerfile='./Dockerfile.dev',
entrypoint='/app/manager',
live_update=[
sync('./build/manager', '/app/manager')
]
)
k8s_yaml('.kubernetes/dev/manifest.yaml')
k8s_resource('manager', port_forwards=8080)