Merge "Improve the possibility to inherit zuul jobs"

This commit is contained in:
Zuul 2021-01-21 15:28:16 +00:00 committed by Gerrit Code Review
commit ea909370ed
3 changed files with 4 additions and 2 deletions

View File

@ -16,7 +16,7 @@
environment:
LOGDIR: "{{ logs_dir }}"
args:
chdir: "{{ zuul.project.src_dir }}"
chdir: "{{ zuul.project.src_dir }}/{{ gate_scripts_relative_path | default('') }}"
- name: Upload the logs
synchronize:

View File

@ -17,6 +17,6 @@
vars:
script_path: "{{ script }}"
args:
chdir: "{{ zuul.project.src_dir }}"
chdir: "{{ zuul.project.src_dir }}/{{ gate_scripts_relative_path | default('') }}"
environment:
FEATURE_GATES: "{{ aio_params.feature_gates | default('') }}"

View File

@ -29,6 +29,7 @@
aio_params:
feature_gates: ""
collect_kubernetes_logs_namespace: tekton-pipelines
gate_scripts_relative_path: ../charts
gate_scripts:
- ./tools/gate/jarvis/050-setup-development-ca.sh
- ./tools/gate/jarvis/100-deploy-k8s.sh
@ -54,6 +55,7 @@
aio_params:
feature_gates: ""
collect_kubernetes_logs_namespace: tekton-pipelines
gate_scripts_relative_path: ../charts
gate_scripts:
- ./tools/gate/jarvis/050-setup-development-ca.sh
- ./tools/gate/jarvis/100-deploy-k8s.sh