
http://travaux.ovh.net/?do=details&id=49850& suggests everything should be back to normal now. This reverts commit e6e69e4aac9b509669eeee99886c838f2dd9b6ff. Change-Id: Id42f6cfe6ca6042e697e70e043321875612c407f
48 lines
1.6 KiB
YAML
48 lines
1.6 KiB
YAML
- 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
|