Merge "Add a soft dependency between gitea build and run"

This commit is contained in:
Zuul 2019-03-10 17:58:35 +00:00 committed by Gerrit Code Review
commit 8513ba4bd2
1 changed files with 12 additions and 2 deletions

View File

@ -131,6 +131,7 @@
- context: docker/gitea
target: gitea-openssh
repository: opendevorg/gitea-openssh
# Duplicate in the run-gitea job
files: &gitea_files
- docker/gitea/.*
@ -539,6 +540,9 @@
- playbooks/roles/haproxy/
- testinfra/test_gitea.py
- testinfra/test_gitea_lb.py
# From gitea_files -- If we rebuild the image, we want to run
# this job as well.
- docker/gitea/.*
- job:
name: system-config-run-zuul-preview
@ -607,7 +611,10 @@
- system-config-run-nodepool
- system-config-run-docker
- system-config-run-docker-registry
- system-config-run-gitea
- system-config-run-gitea:
dependencies:
- name: system-config-build-image-gitea
soft: true
- system-config-run-zuul-preview
- system-config-build-image-jinja-init
- system-config-build-image-gitea-init
@ -629,7 +636,10 @@
- system-config-run-nodepool
- system-config-run-docker
- system-config-run-docker-registry
- system-config-run-gitea
- system-config-run-gitea:
dependencies:
- name: system-config-upload-image-gitea
soft: true
- system-config-run-zuul-preview
- system-config-upload-image-jinja-init
- system-config-upload-image-gitea-init