summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClark Boylan <clark.boylan@gmail.com>2018-11-19 14:05:47 -0800
committerClark Boylan <clark.boylan@gmail.com>2018-11-19 14:06:30 -0800
commitf6de96597f09cb8d8cd16292fedba1f7e3f6e57a (patch)
tree5f5c5eefec54c13170466a6863f9d1bb7ad98fd4
parent73a0b0e683afe2850fc5b28733ac4bbc60c9030f (diff)
Revert "mirror-workspace-git: use port when pushing git repo through ssh"
This reverts commit 34cfe44ca5c63c354339aa502052d9054a36bf60. The :port suffix doesn't work if the hostname is an ipv6 ip address as the hostname needs to be wrapped in []s in that case. Revert this so that we can fix this in a followup. Change-Id: I2dfee56d40a4cdd096946a2f67c37117fff74cce
Notes
Notes (review): Code-Review+1: Doug Hellmann <doug@doughellmann.com> Code-Review+1: Logan V <logan2211@gmail.com> Code-Review+2: Paul Belanger <pabelanger@redhat.com> Workflow+1: Clark Boylan <cboylan@sapwetik.org> Code-Review+2: Clark Boylan <cboylan@sapwetik.org> Verified+2: Clark Boylan <cboylan@sapwetik.org> Submitted-by: Clark Boylan <cboylan@sapwetik.org> Submitted-at: Mon, 19 Nov 2018 22:41:11 +0000 Reviewed-on: https://review.openstack.org/618849 Project: openstack-infra/zuul-jobs Branch: refs/heads/master
-rw-r--r--roles/mirror-workspace-git-repos/tasks/main.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/mirror-workspace-git-repos/tasks/main.yaml b/roles/mirror-workspace-git-repos/tasks/main.yaml
index 1916124..2c9f191 100644
--- a/roles/mirror-workspace-git-repos/tasks/main.yaml
+++ b/roles/mirror-workspace-git-repos/tasks/main.yaml
@@ -7,7 +7,7 @@
7 with_dict: "{{ zuul.projects }}" 7 with_dict: "{{ zuul.projects }}"
8 8
9- name: Synchronize src repos to workspace directory 9- name: Synchronize src repos to workspace directory
10 command: "git push --mirror git+ssh://{{ ansible_user }}@{{ ansible_host }}:{{ ansible_port }}/{{ ansible_user_dir }}/{{ item.value.src_dir}}" 10 command: "git push --mirror git+ssh://{{ ansible_user }}@{{ ansible_host }}/{{ ansible_user_dir }}/{{ item.value.src_dir}}"
11 args: 11 args:
12 chdir: "{{ zuul.executor.work_root }}/{{ item.value.src_dir }}" 12 chdir: "{{ zuul.executor.work_root }}/{{ item.value.src_dir }}"
13 with_dict: "{{ zuul.projects }}" 13 with_dict: "{{ zuul.projects }}"