Browse Source

OpenDev Migration Patch

This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
changes/17/654017/1
OpenDev Sysadmins 3 years ago
parent
commit
0494180cf8
  1. 4
      .gitreview
  2. 44
      .zuul.d/jobs.yaml
  3. 2
      .zuul.d/shared-jobs.yaml
  4. 2
      tests/playbooks/molecule/post.yaml
  5. 2
      tests/playbooks/post.yaml
  6. 12
      tests/playbooks/pre.yaml
  7. 2
      tests/playbooks/run-pre.yaml
  8. 2
      tests/playbooks/run.yaml

4
.gitreview

@ -1,4 +1,4 @@
[gerrit]
host=review.openstack.org
host=review.opendev.org
port=29418
project=openstack/windmill.git
project=windmill/windmill.git

44
.zuul.d/jobs.yaml

@ -9,27 +9,27 @@
- tests/playbooks/run-post.yaml
post-run: tests/playbooks/post.yaml
required-projects:
- openstack/ansible-role-ansible
- openstack/ansible-role-diskimage-builder
- openstack/ansible-role-gearman
- openstack/ansible-role-logrotate
- openstack/ansible-role-nginx
- openstack/ansible-role-nodepool
- openstack/ansible-role-openstacksdk
- openstack/ansible-role-ssh
- openstack/ansible-role-statsd
- openstack/ansible-role-sudoers
- openstack/ansible-role-virtualenv
- openstack/ansible-role-zookeeper
- openstack/ansible-role-zuul
- windmill/ansible-role-ansible
- windmill/ansible-role-diskimage-builder
- windmill/ansible-role-gear
- windmill/ansible-role-logrotate
- windmill/ansible-role-nginx
- windmill/ansible-role-nodepool
- windmill/ansible-role-openstacksdk
- windmill/ansible-role-ssh
- windmill/ansible-role-statsd
- windmill/ansible-role-sudoers
- windmill/ansible-role-virtualenv
- windmill/ansible-role-zookeeper
- windmill/ansible-role-zuul
- openstack/diskimage-builder
- openstack/openstacksdk
- openstack/windmill
- openstack/windmill-config
- openstack/windmill-ops
- openstack-infra/gear
- openstack-infra/nodepool
- openstack-infra/zuul
- windmill/windmill
- windmill/windmill-config
- windmill/windmill-ops
- opendev/gear
- zuul/nodepool
- zuul/zuul
timeout: 3600
# Testing for install_method: pip
@ -61,10 +61,10 @@
required-projects:
- openstack/diskimage-builder
- openstack/openstacksdk
- openstack-infra/gear
- openstack-infra/nodepool
- opendev/gear
- zuul/nodepool
- openstack/openstacksdk
- openstack-infra/zuul
- zuul/zuul
vars:
windmill_extra_vars_file: tests/extra-vars/git.yaml

2
.zuul.d/shared-jobs.yaml

@ -1,4 +1,4 @@
# TODO(pabelanger): Remove once https://review.openstack.org/593150 is merged.
# TODO(pabelanger): Remove once https://review.opendev.org/593150 is merged.
---
- job:
name: windmill-tox-with-sudo

2
tests/playbooks/molecule/post.yaml

@ -10,7 +10,7 @@
shell: "cp ~/.ara/ansible.sqlite {{ zuul_output_dir }}/logs/logs/ara-report"
# TODO: Migrate to fetch-zuul-logs when
# https://review.openstack.org/#/c/583346/ is merged.
# https://review.opendev.org/#/c/583346/ is merged.
- name: Collect log output
synchronize:
dest: "{{ zuul.executor.log_root }}/"

2
tests/playbooks/post.yaml

@ -25,7 +25,7 @@
shell: "cp ~/.ara/ansible.sqlite {{ zuul_output_dir }}/logs/logs/ara-report"
# TODO: Migrate to fetch-zuul-logs when
# https://review.openstack.org/#/c/583346/ is merged.
# https://review.opendev.org/#/c/583346/ is merged.
- name: Collect log output
synchronize:
dest: "{{ zuul.executor.log_root }}/"

12
tests/playbooks/pre.yaml

@ -19,7 +19,7 @@
- name: Install ansible configuration file
template:
dest: ~/.ansible.cfg
src: "{{ zuul.executor.work_root }}/{{ zuul.projects['git.openstack.org/openstack/windmill-config'].src_dir }}/ansible/ansible.cfg"
src: "{{ zuul.executor.work_root }}/{{ zuul.projects['opendev.org/windmill/windmill-config'].src_dir }}/ansible/ansible.cfg"
- name: Create config directory
file:
@ -29,7 +29,7 @@
- name: Symlink ansible configuration file
file:
dest: ~/.config/windmill
src: "{{ ansible_user_dir }}/{{ zuul.projects['git.openstack.org/openstack/windmill-config'].src_dir }}"
src: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/windmill/windmill-config'].src_dir }}"
state: link
- name: Set ARA fact for Debian
@ -54,8 +54,8 @@
chdir: "{{ item }}"
shell: tox -evenv --notest
with_items:
- ~/src/git.openstack.org/openstack/windmill-ops
- ~/src/git.openstack.org/openstack/windmill
- ~/src/opendev.org/windmill/windmill-ops
- ~/src/opendev.org/windmill/windmill
- name: Install ansible roles via galaxy
args:
@ -63,5 +63,5 @@
executable: /bin/bash
shell: source .tox/venv/bin/activate; ./tools/install_roles.sh --force
with_items:
- ~/src/git.openstack.org/openstack/windmill-ops
- ~/src/git.openstack.org/openstack/windmill
- ~/src/opendev.org/windmill/windmill-ops
- ~/src/opendev.org/windmill/windmill

2
tests/playbooks/run-pre.yaml

@ -15,5 +15,5 @@
# script. However, limit it to only the bastion host.
- name: Bootstrap bastion node using windmill-ops
args:
chdir: "{{ zuul.projects['git.openstack.org/openstack/windmill-ops'].src_dir }}"
chdir: "{{ zuul.projects['opendev.org/windmill/windmill-ops'].src_dir }}"
shell: "tox -evenv -- ansible-playbook -v -f1 playbooks/bootstrap/site.yaml --limit bastion"

2
tests/playbooks/run.yaml

@ -3,7 +3,7 @@
tasks:
- name: Bootstrap all nodes using windmill-ops
args:
chdir: "{{ zuul.projects['git.openstack.org/openstack/windmill-ops'].src_dir }}"
chdir: "{{ zuul.projects['opendev.org/windmill/windmill-ops'].src_dir }}"
shell: "/opt/venv/ansible/bin/ansible-playbook -v -f1 playbooks/bootstrap/site.yaml"
- name: Run ansible-playbook for site.yaml

Loading…
Cancel
Save