Skip to content

Commit

Permalink
fix some Tilt hiccups (#5013)
Browse files Browse the repository at this point in the history
## Which issue(s) this PR closes

- Tilt would complain, on a completely fresh setup, if the
`./dev/helm-local.dev.yml` file didn't exist
- fix issue when building the `grpcio` wheel
  • Loading branch information
joeyorlando authored Sep 11, 2024
1 parent 6fd6f32 commit ea813c9
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,21 @@ docker_build_sub(


def load_oncall_helm():
helm_oncall_values = ["./dev/helm-local.yml"]
helm_oncall_values += ["./.github/helm-ci.yml"] if is_ci else ["./dev/helm-local.dev.yml"]
yaml = helm("helm/oncall", name=HELM_PREFIX, values=helm_oncall_values, set=twilio_values, namespace="default")
helm_oncall_values_files = ["./dev/helm-local.yml"]
local_dev_helm_values_file = "./dev/helm-local.dev.yml"

if is_ci:
helm_oncall_values_files.append("./.github/helm-ci.yml")
elif os.path.exists(local_dev_helm_values_file):
helm_oncall_values_files.append(local_dev_helm_values_file)

yaml = helm(
"helm/oncall",
name=HELM_PREFIX,
values=helm_oncall_values_files,
set=twilio_values,
namespace="default",
)
k8s_yaml(yaml)

# --- GRAFANA START ----
Expand Down

0 comments on commit ea813c9

Please sign in to comment.