Add zuul artifacts for SA logs

Show link to log files in Zuul Artifacts tab

Change-Id: Iabaf5da054ab13988907bc69b9dbd3b5338cbcfd
This commit is contained in:
Sagi Shnaidman 2022-01-31 12:49:34 +02:00
parent 051457b7cd
commit cfbbcc8b36
4 changed files with 55 additions and 0 deletions

View File

@ -8,6 +8,7 @@ skip_list:
- role-name # Role name run-test does not match ``^[a-z][a-z0-9_]+$`` pattern - role-name # Role name run-test does not match ``^[a-z][a-z0-9_]+$`` pattern
- risky-file-permissions # File permissions unset or incorrect - risky-file-permissions # File permissions unset or incorrect
- package-latest - package-latest
- document-start
verbosity: 1 verbosity: 1
mock_modules: mock_modules:
- zuul_return - zuul_return

View File

@ -0,0 +1,27 @@
---
- hosts: primary
tasks:
- zuul_return:
data:
zuul:
artifacts:
- name: Undercloud deploy log
url: logs/undercloud/home/zuul/undercloud_install.log
- name: Overcloud deploy log
url: logs/undercloud/home/zuul/overcloud_deploy.log
- name: Tempest results
url: logs/stackviz/index.html#/testrepository.subunit
- name: All logs file in home dir
url: logs/undercloud/home/zuul/
- name: Extra logs
url: logs/undercloud/var/log/extra/index.html
- name: Errors file
url: logs/undercloud/var/log/extra/errors.txt
- name: Delorean build logs
url: logs/delorean_logs/
- name: System logs for each container
url: logs/undercloud/var/log/containers/
- name: Podman container setup configuration and setup logs
url: logs/undercloud/var/log/extra/podman/
- name: Container download, container update and provision log
url: logs/undercloud/var/log/tripleo-container-image-prepare.log

View File

@ -0,0 +1,25 @@
---
- hosts: primary
tasks:
- zuul_return:
data:
zuul:
artifacts:
- name: Standalone deploy log
url: logs/undercloud/home/zuul/standalone_deploy.log
- name: All logs file in home dir
url: logs/undercloud/home/zuul/
- name: Tempest results
url: logs/stackviz/index.html#/testrepository.subunit
- name: Extra logs
url: logs/undercloud/var/log/extra/index.html
- name: Errors file
url: logs/undercloud/var/log/extra/errors.txt
- name: Delorean build logs
url: logs/delorean_logs/
- name: System logs for each container
url: logs/undercloud/var/log/containers/
- name: Podman container setup configuration and setup logs
url: logs/undercloud/var/log/extra/podman/
- name: Container download, container update and provision log
url: logs/undercloud/var/log/tripleo-container-image-prepare.log

View File

@ -198,6 +198,7 @@
Base abstract job for multinode TripleO CI centos-8 zuulv3 jobs Base abstract job for multinode TripleO CI centos-8 zuulv3 jobs
parent: tripleo-ci-base-centos-8 parent: tripleo-ci-base-centos-8
pre-run: playbooks/tripleo-ci/install-built-repo.yml pre-run: playbooks/tripleo-ci/install-built-repo.yml
post-run: playbooks/tripleo-ci/post-artifact-mult.yml
vars: vars:
undercloud: 127.0.0.2 undercloud: 127.0.0.2
environment_infra: osinfra environment_infra: osinfra
@ -394,6 +395,7 @@
parent: tripleo-ci-base-standalone-required-projects-centos-8 parent: tripleo-ci-base-standalone-required-projects-centos-8
nodeset: single-centos-8-node nodeset: single-centos-8-node
pre-run: playbooks/tripleo-ci/install-built-repo.yml pre-run: playbooks/tripleo-ci/install-built-repo.yml
post-run: playbooks/tripleo-ci/post-artifact-sa.yml
vars: vars:
# for standalone we don't need the multinode network configuration but # for standalone we don't need the multinode network configuration but
# we do want the interface to be created. So let's create br-ex but # we do want the interface to be created. So let's create br-ex but