oncall-engine/helm/oncall/tests/dev_mode_volumes_test.yaml
Bob Cotton 6c8344a82d
Use Tilt for local development (#1396)
# What this PR does

PR adds Tilt for local development

## Which issue(s) this PR fixes

## Checklist

- [ ] Tests updated
- [ ] Documentation added
- [ ] `CHANGELOG.md` updated

---------

Co-authored-by: Joey Orlando <joseph.t.orlando@gmail.com>
Co-authored-by: Ildar Iskhakov <Ildar.iskhakov@grafana.com>
Co-authored-by: Michael Derynck <michael.derynck@grafana.com>
Co-authored-by: Joey Orlando <joey.orlando@grafana.com>
2023-09-07 19:38:19 +08:00

18 lines
477 B
YAML

suite: dev mode
templates:
- celery/deployment.yaml
- engine/deployment.yaml
release:
name: oncall
tests:
- it: doesn't add a volume and volume mount when oncall.devMode is disabled
set:
oncall:
devMode: false
asserts:
- notExists:
path: spec.template.spec.containers[0].volumeMounts
- notExists:
path: spec.template.spec.initContainers[0].volumeMounts
- notExists:
path: spec.template.spec.volumes