From dc1f3df145f26dc3805e190b6439ff9317361b8a Mon Sep 17 00:00:00 2001 From: Gage Hugo Date: Wed, 17 Feb 2021 19:42:58 -0600 Subject: [PATCH] Update reno script to work in other osh repos This change updates the releasenotes checking script in the linting gate to be able to be ran from other osh repos. Change-Id: Id897c7e10d0792b6df01c8a5e82e68cff2a99b0e --- playbooks/lint.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/playbooks/lint.yml b/playbooks/lint.yml index af7c4d248..383351329 100644 --- a/playbooks/lint.yml +++ b/playbooks/lint.yml @@ -37,9 +37,7 @@ chdir: "{{ ansible_user_dir }}/src/{{ zuul.project.canonical_name }}" - name: Check release note version matches - shell: ./tools/gate/reno-check.sh - args: - chdir: "{{ zuul.project.src_dir }}" + shell: "{{ zuul_osh_infra_relative_path | default('') }}/tools/gate/reno-check.sh" # TODO(gagehugo): Remove this when all the release notes are updated ignore_errors: True