9 lines
273 B
Bash
Executable File
9 lines
273 B
Bash
Executable File
#!/bin/bash
|
|
|
|
build_dir="$(mktemp -d)"
|
|
function cleanup { rm -rf "$build_dir"; }
|
|
trap cleanup EXIT
|
|
|
|
charm build . --build-dir "$build_dir"
|
|
pip install -f "$build_dir/kubeapi-load-balancer/wheelhouse" --no-index --no-cache-dir "$build_dir"/kubeapi-load-balancer/wheelhouse/*
|