Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
Include project name in build log
Browse files Browse the repository at this point in the history
  • Loading branch information
cjeanner committed May 13, 2020
1 parent 68cabeb commit 1dc5ac7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions roles/undercloud/tasks/rdo-project-build.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
---
- name: Clear DLRN data subdirectory is present
- name: "{{ project.name }}: Clear DLRN data subdirectory is present"
file:
path: "{{ build_dir }}/DLRN/data"
state: absent
force: true

- name: Ensure DLRN data subdirectory is present
- name: "{{ project.name }}: Ensure DLRN data subdirectory is present"
file:
path: "{{ build_dir }}/DLRN/data"
state: directory

- name: Map RDO project names
- name: "{{ project.name }}: Map RDO project names"
register: mapped_name
shell:
chdir: '{{ build_dir }}/DLRN'
Expand All @@ -22,13 +22,13 @@
-l /home/stack/rdoinfo | \
awk '/^name/{print $2}; {print "findpkg: " $0 > "/dev/stderr"}'
- name: Copy content to build location
- name: "{{ project.name }}: Copy content to build location"
copy:
src: "{{ project.dest | default(synchronize_default_dest) }}/{{ project.name }}/"
dest: "{{ build_dir }}/DLRN/data/{{ mapped_name.stdout }}"
remote_src: true

- name: Build package
- name: "{{ project.name }}: Build package"
register: pkg_build
args:
chdir: "{{ build_dir }}/DLRN/"
Expand All @@ -51,7 +51,7 @@
exit $?;
done
- name: Copy packages to their final location
- name: "{{ project.name }}: Copy packages to their final location"
when:
- pkg_build is changed
shell: |
Expand Down

0 comments on commit 1dc5ac7

Please sign in to comment.