From 2f534a2d4644e7c178e896843069692f8ccb89e0 Mon Sep 17 00:00:00 2001 From: Thierry Carrez Date: Fri, 10 Jul 2020 11:19:15 +0200 Subject: [PATCH] maintain-github-mirror: fix repository names Job definition referenced opendev/governance and opendev/project_config instead of openstack/governance and openstack/project-config, causing the job to fail. Also replace variable names so that they make more sense. Change-Id: I7cd026a1d0bc1a8ad2d0c6b7bf3a5a0d37ecd423 --- playbooks/maintain-github-mirror/run.yaml | 2 +- zuul.d/jobs.yaml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/playbooks/maintain-github-mirror/run.yaml b/playbooks/maintain-github-mirror/run.yaml index cdb60eab32..73c2a6589a 100644 --- a/playbooks/maintain-github-mirror/run.yaml +++ b/playbooks/maintain-github-mirror/run.yaml @@ -16,7 +16,7 @@ virtualenv_command: "{{ ensure_pip_virtualenv_command }}" - name: Run manager script - command: "{{ ansible_user_dir }}/.venv/bin/python {{ ansible_user_dir }}/github_manager.py {{ conf }} {{ gov }}" + command: "{{ ansible_user_dir }}/.venv/bin/python {{ ansible_user_dir }}/github_manager.py {{ project_config }} {{ governance }}" environment: GITHUB_TOKEN: "{{ github_credentials.api_token }}" diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index c90ee915e3..201dc20eca 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -803,8 +803,9 @@ - name: github_credentials secret: openstack-github-mirroring vars: - conf: "{{ zuul.projects['opendev.org/opendev/project_config'].src_dir }}" - gov: "{{ zuul.projects['opendev.org/opendev/governance'].src_dir }}" + project_config: "{{ zuul.projects['opendev.org/openstack/project-config'].src_dir }}" + governance: "{{ zuul.projects['opendev.org/openstack/governance'].src_dir }}" + - job: name: propose-updates