Browse Source

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
changes/29/740429/1
Thierry Carrez 2 years ago
parent
commit
2f534a2d46
  1. 2
      playbooks/maintain-github-mirror/run.yaml
  2. 5
      zuul.d/jobs.yaml

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

5
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

Loading…
Cancel
Save