here's sneak peek of what the new configuration st...
# 💻|contributing
a
here's sneak peek of what the new configuration style can look like:
Copy code
yaml
kind: Build
type: container
name: api

---
kind: Deploy
description: The backend for the voting UI
name: api
type: container
build: api
dependencies:
  - deploy.redis
spec:
  args: [python, app.py]
  ports:
    - name: http
      protocol: TCP
      containerPort: 80
  healthCheck:
    httpGet:
      path: /api
      port: http
  ingresses:
    - path: /
      hostname: "api.${var.baseHostname}"
      port: http

---
kind: Test
name: api-integ
type: container
build: api
dependencies:
  - deploy.api
timeout: 200
spec:
  args: [python, /app/test.py]