Skip to content

Commit 97e35b6

Browse files
committed
Correct log path for Run DLRN in build_openstack_packages
The path for pushing logs was set to: /home/zuul/src/github.com/openstack-k8s-operators/ci-framework/logs/dlrn.log but the directory is not pushed to the logs server (assuming by checking job result [1] - cifmw-molecule-build_openstack_packages job). [1] https://softwarefactory-project.io/zuul/t/rdoproject.org/build/5806364f9a4c45b68e4cc8b03413d281 Signed-off-by: Daniel Pawlik <[email protected]>
1 parent e9bba52 commit 97e35b6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

roles/build_openstack_packages/defaults/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ cifmw_bop_dlrn_deps:
3232
- python3-libselinux
3333

3434
cifmw_bop_build_repo_dir: "{{ cifmw_basedir | default(ansible_user_dir ~ '/ci-framework-data') }}/logs"
35+
cifmw_bop_artifacts_basedir: "{{ ansible_user_dir ~ '/ci-framework-data') }}"
3536
cifmw_bop_dlrn_repo_url: "https://github.com/openstack-packages/DLRN.git"
3637
cifmw_bop_dlrn_from_source: false
3738
cifmw_bop_dlrn_venv: "{{ ansible_user_dir }}/dlrn_venv"

roles/build_openstack_packages/tasks/run_dlrn.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,5 +178,5 @@
178178
ansible.builtin.shell:
179179
cmd: >
180180
set -o pipefail &&
181-
{{ cifmw_bop_build_repo_dir }}/run_dlrn.sh 2>&1 {{ cifmw_bop_timestamper_cmd }} >> {{ cifmw_bop_build_repo_dir }}/dlrn.log
181+
{{ cifmw_bop_build_repo_dir }}/run_dlrn.sh 2>&1 {{ cifmw_bop_timestamper_cmd }} >> {{ cifmw_bop_artifacts_basedir }}/logs/dlrn.log
182182
chdir: '{{ cifmw_bop_build_repo_dir }}'

0 commit comments

Comments
 (0)