Use strict for findpkg
We hit an issue where the change list included puppet-watcher but it tried to build the actual watcher package using the puppet-watcher versions. This resulted in failed CI runs on the puppet openstack modules that include oooq jobs in the gate. Change-Id: I7e360f2a3fb10c230ee2078cc8935e9982580731 Closes-Bug: #1691579
This commit is contained in:
parent
10406d2973
commit
d688b8652a
|
@ -35,7 +35,7 @@
|
|||
shell: >
|
||||
source {{ build_repo_dir }}/dlrn-venv/bin/activate;
|
||||
export PROJECT_NAME=$(echo {{ artg_change.project }} | sed "s|openstack/||");
|
||||
rdopkg findpkg $PROJECT_NAME -l rdoinfo | grep ^name | awk '{print $2}'
|
||||
rdopkg findpkg -s $PROJECT_NAME -l rdoinfo | grep ^name | awk '{print $2}'
|
||||
args:
|
||||
chdir: '{{ build_repo_dir }}/DLRN'
|
||||
failed_when: project_name_mapped.stdout == ''
|
||||
|
|
Loading…
Reference in New Issue