Files
ttl.sh/okteto.yml
Ethan Mosbaugh 4366d098e0
Some checks failed
Deploy to Heroku / release (push) Failing after 1m40s
Revert "feat: run blob reaper every 72h" (#158)
2024-10-09 14:10:50 -05:00

34 lines
766 B
YAML

build:
ttl-hooks:
context: ./hooks
dockerfile: ./hooks/Dockerfile.hooks
ttl-reaper:
context: ./hooks
dockerfile: ./hooks/Dockerfile.reap
deploy:
- cd kustomize/overlays/dev && kustomize edit set image ttl-hooks=${OKTETO_BUILD_TTL_HOOKS_IMAGE}
- cd kustomize/overlays/dev && kustomize edit set image ttl-reaper=${OKTETO_BUILD_TTL_REAPER_IMAGE}
- kubectl apply -k kustomize/overlays/dev
dev:
ttl-hooks:
command: make deps build && bash || bash
workdir: /src
sync:
- ./hooks:/src
resources:
limits:
cpu: "1"
memory: 1Gi
ttl-reaper:
command: make deps build && bash || bash
workdir: /src
sync:
- ./hooks:/src
resources:
limits:
cpu: "1"
memory: 1Gi