system-config/zuul.d/project.yaml
2023-03-29 13:35:19 +02:00

87 lines
2.6 KiB
YAML

---
- project:
merge-mode: squash-merge
default-branch: main
check:
jobs:
- otc-tox-linters
- system-config-run-base
- system-config-run-acme-ssl
- system-config-run-gitea
gate:
jobs:
- otc-tox-linters
- system-config-run-base
- system-config-run-acme-ssl
- system-config-run-vault
- system-config-run-gitea
deploy:
jobs:
# This installs the ansible on bridge that all the infra-prod
# jobs will run with. Note the jobs use this ansible to then
# run against zuul's checkout of system-config.
- infra-prod-bootstrap-bridge
# From now on, all jobs should depend on base
- infra-prod-base: &infra-prod-base
dependencies:
- name: infra-prod-bootstrap-bridge
soft: true
- infra-prod-base-ext: &infra-prod-base-ext
dependencies:
- name: infra-prod-base
soft: true
- infra-prod-service-bridge: &infra-prod-service-bridge
dependencies:
- name: infra-prod-base
soft: true
- infra-prod-install-helm-chart: &infra-prod-install-helm-chart
dependencies:
- name: infra-prod-base
soft: true
- infra-prod-service-acme-ssl: &infra-prod-service-acme-ssl
dependencies:
- name: infra-prod-base
soft: true
- infra-prod-service-apimon-k8s: &infra-prod-service-apimon-k8s
dependencies:
- name: infra-prod-base
soft: true
- infra-prod-service-gitea: &infra-prod-service-gitea
dependencies:
- name: infra-prod-base
soft: true
- infra-prod-service-vault: &infra-prod-service-vault
dependencies:
- name: infra-prod-base
soft: true
periodic:
# Nightly execution
jobs:
- infra-prod-bootstrap-bridge
- infra-prod-base: *infra-prod-base
- infra-prod-base-ext: *infra-prod-base-ext
- infra-prod-service-bridge: *infra-prod-service-bridge
- infra-prod-install-helm-chart: *infra-prod-install-helm-chart
- infra-prod-service-acme-ssl: *infra-prod-service-acme-ssl
- infra-prod-service-gitea: *infra-prod-service-gitea
- infra-prod-service-vault: *infra-prod-service-vault
periodic-hourly:
# hourly execution
jobs:
- infra-prod-bootstrap-bridge
- infra-prod-service-bridge: *infra-prod-service-bridge