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
This commit is contained in:
Thierry Carrez 2020-07-10 11:19:15 +02:00
parent 299017c496
commit 2f534a2d46
2 changed files with 4 additions and 3 deletions

View File

@ -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 }}"

View File

@ -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