Zuul configuration common to all OpenDev tenants
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

47 lines
1.6 KiB

- hosts: localhost
tasks:
- name: Include Zuul manifest role
include_role:
name: generate-zuul-manifest
- name: Generate bulk log download script
include_role:
name: local-log-download
vars:
local_log_download_api: 'https://zuul.opendev.org/api/tenant/{{ zuul.tenant }}'
- name: Include upload logs role
no_log: true
include_role:
name: upload-logs-swift
vars:
zuul_log_path_shard_build: true
zuul_log_cloud_config: '{{ item }}'
zuul_log_partition: true
zuul_log_delete_after: 2592000
# Unique log prefix to avoid container name collisions when ceph is
# used.
zuul_log_container: zuul_opendev_logs
with_random_choice:
- '{{ opendev_cloud_ovh_bhs }}'
- '{{ opendev_cloud_ovh_gra }}'
- '{{ opendev_cloud_rax_dfw }}'
- '{{ opendev_cloud_rax_iad }}'
- '{{ opendev_cloud_rax_ord }}'
# NOTE(ianw): file generated by local-log-download, upload_results
# is registered by the upload-logs-swift role
- name: Register quick-download link
zuul_return:
data:
zuul:
artifacts:
- name: Download all logs
url: 'download-logs.sh'
metadata:
command: 'curl "{{ upload_results.url }}/download-logs.sh" | bash'
- hosts: localhost
# NOTE(pabelanger): We ignore_errors for the following tasks as not to fail
# successful jobs.
ignore_errors: yes
roles:
- submit-logstash-jobs
- submit-subunit-jobs