14f9d42889
This helps running tests with the app running in a Kubernetes cluster.
24 lines
598 B
Python
24 lines
598 B
Python
load('ext://uibutton', 'cmd_button', 'bool_input', 'location')
|
|
load('ext://namespace', 'namespace_create', 'namespace_inject')
|
|
namespace_create('oidc2fer')
|
|
|
|
docker_build(
|
|
'localhost:5001/oidc2fer:latest',
|
|
context='.',
|
|
dockerfile='./Dockerfile',
|
|
only=['./src/satosa', './docker', './env.d'],
|
|
target = 'development',
|
|
live_update=[
|
|
sync('./src/satosa', '/app'),
|
|
]
|
|
)
|
|
|
|
docker_build(
|
|
'localhost:5001/oidc-test-client:latest',
|
|
context='docker/oidc-test-client'
|
|
)
|
|
|
|
watch_file('src/helm')
|
|
|
|
k8s_yaml(local('cd src/helm && helmfile -n oidc2fer -e dev template .'))
|