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.
tags/3.8.1
OpenDev Sysadmins 7 months ago
parent
commit
6afa22c994
4 changed files with 12 additions and 12 deletions
  1. 2
    2
      .gitreview
  2. 4
    4
      .zuul.yaml
  3. 2
    2
      playbooks/zuul-stream/functional.yaml
  4. 4
    4
      playbooks/zuul-stream/pre.yaml

+ 2
- 2
.gitreview View File

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

+ 4
- 4
.zuul.yaml View File

@@ -85,7 +85,7 @@
post-run: playbooks/quick-start/post.yaml
requires: docker-image
required-projects:
- openstack-infra/zuul
- zuul/zuul

# Image building jobs
- secret:
@@ -108,7 +108,7 @@
name: zuul-build-image
parent: opendev-build-docker-image
description: Build Docker images.
allowed-projects: openstack-infra/zuul
allowed-projects: zuul/zuul
vars: &zuul_image_vars
docker_images:
- context: .
@@ -134,7 +134,7 @@
name: zuul-upload-image
parent: opendev-upload-docker-image
description: Build Docker images and upload to Docker Hub.
allowed-projects: openstack-infra/zuul
allowed-projects: zuul/zuul
secrets:
name: docker_credentials
secret: zuul-dockerhub
@@ -145,7 +145,7 @@
name: zuul-promote-image
parent: opendev-promote-docker-image
description: Promote previously uploaded Docker images.
allowed-projects: openstack-infra/zuul
allowed-projects: zuul/zuul
secrets:
name: docker_credentials
secret: zuul-dockerhub

+ 2
- 2
playbooks/zuul-stream/functional.yaml View File

@@ -8,7 +8,7 @@
- name: Run ansible that should succeed
command: >
/usr/lib/zuul/ansible/{{ zuul_ansible_version }}/bin/ansible-playbook
src/git.openstack.org/openstack-infra/zuul/playbooks/zuul-stream/fixtures/test-stream.yaml
src/opendev.org/zuul/zuul/playbooks/zuul-stream/fixtures/test-stream.yaml
environment:
ZUUL_JOB_LOG_CONFIG: "{{ ansible_user_dir}}/logging.json"
ZUUL_JOBDIR: "{{ ansible_user_dir}}"
@@ -18,7 +18,7 @@
- name: Run ansible playbook that should fail
command: >
/usr/lib/zuul/ansible/{{ zuul_ansible_version }}/bin/ansible-playbook
src/git.openstack.org/openstack-infra/zuul/playbooks/zuul-stream/fixtures/test-stream-failure.yaml
src/opendev.org/zuul/zuul/playbooks/zuul-stream/fixtures/test-stream-failure.yaml
register: failed_results
failed_when: "failed_results.rc != 2"
environment:

+ 4
- 4
playbooks/zuul-stream/pre.yaml View File

@@ -3,15 +3,15 @@

- role: bindep
bindep_profile: test
bindep_dir: src/git.openstack.org/openstack-infra/zuul
bindep_dir: src/opendev.org/zuul/zuul

- role: bindep
bindep_dir: src/git.openstack.org/openstack/ara
bindep_dir: src/opendev.org/recordsansible/ara

post_tasks:

- name: Install software
command: python3 -m pip install src/git.openstack.org/openstack-infra/zuul
command: python3 -m pip install src/opendev.org/zuul/zuul
become: yes

- name: Install managed ansible versions
@@ -29,4 +29,4 @@
dest: "{{ ansible_user_dir }}/ansible.cfg"

- name: Generate logging config
command: python3 src/git.openstack.org/openstack-infra/zuul/zuul/ansible/logconfig.py
command: python3 src/opendev.org/zuul/zuul/zuul/ansible/logconfig.py

Loading…
Cancel
Save