Add git timeout setting for nodepool-builder
Use GIT_HTTP_LOW_SPEED_* as a way to time out the git operations talking to remote servers. This should help prevent git from hanging when we clone remote repos from git.o.o. Change-Id: I0e8f8a2bbdf43d5e49c92ed744ba224c2eeccdf8 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
0b8d14fefd
commit
ca0cba8633
@ -47,3 +47,5 @@ diskimages:
|
||||
DIB_DISTRIBUTION_MIRROR: 'http://mirror.regionone.linaro.openstack.org/ubuntu-ports'
|
||||
DIB_DEBOOTSTRAP_EXTRA_ARGS: '--no-check-gpg'
|
||||
DIB_DEBIAN_COMPONENTS: 'main,universe'
|
||||
GIT_HTTP_LOW_SPEED_TIME: '300'
|
||||
GIT_HTTP_LOW_SPEED_LIMIT: '1000'
|
||||
|
@ -118,6 +118,8 @@ diskimages:
|
||||
QEMU_IMG_OPTIONS: compat=0.10
|
||||
DIB_GRUB_TIMEOUT: '0'
|
||||
DIB_EPEL_DISABLED: '1'
|
||||
GIT_HTTP_LOW_SPEED_TIME: '300'
|
||||
GIT_HTTP_LOW_SPEED_LIMIT: '1000'
|
||||
- name: debian-jessie
|
||||
pause: false
|
||||
elements:
|
||||
@ -138,6 +140,8 @@ diskimages:
|
||||
DIB_DISABLE_APT_CLEANUP: '1'
|
||||
DIB_DISTRIBUTION_MIRROR: http://ftp.us.debian.org/debian/
|
||||
DIB_GRUB_TIMEOUT: '0'
|
||||
GIT_HTTP_LOW_SPEED_TIME: '300'
|
||||
GIT_HTTP_LOW_SPEED_LIMIT: '1000'
|
||||
- name: fedora-27
|
||||
pause: false
|
||||
elements:
|
||||
@ -157,6 +161,8 @@ diskimages:
|
||||
DIB_IMAGE_CACHE: /opt/dib_cache
|
||||
QEMU_IMG_OPTIONS: compat=0.10
|
||||
DIB_GRUB_TIMEOUT: '0'
|
||||
GIT_HTTP_LOW_SPEED_TIME: '300'
|
||||
GIT_HTTP_LOW_SPEED_LIMIT: '1000'
|
||||
- name: gentoo-17-0-systemd
|
||||
pause: true
|
||||
elements:
|
||||
@ -176,6 +182,8 @@ diskimages:
|
||||
GENTOO_PYTHON_TARGETS: 'python2_7 python3_5'
|
||||
GENTOO_PYTHON_ACTIVE_VERSION: python3.5
|
||||
GENTOO_PROFILE: 'default/linux/amd64/17.0/systemd'
|
||||
GIT_HTTP_LOW_SPEED_TIME: '300'
|
||||
GIT_HTTP_LOW_SPEED_LIMIT: '1000'
|
||||
- name: opensuse-423
|
||||
pause: false
|
||||
elements:
|
||||
@ -194,6 +202,8 @@ diskimages:
|
||||
DIB_IMAGE_CACHE: /opt/dib_cache
|
||||
QEMU_IMG_OPTIONS: compat=0.10
|
||||
DIB_GRUB_TIMEOUT: '0'
|
||||
GIT_HTTP_LOW_SPEED_TIME: '300'
|
||||
GIT_HTTP_LOW_SPEED_LIMIT: '1000'
|
||||
- name: opensuse-tumbleweed
|
||||
pause: false
|
||||
elements:
|
||||
@ -212,6 +222,8 @@ diskimages:
|
||||
DIB_IMAGE_CACHE: /opt/dib_cache
|
||||
QEMU_IMG_OPTIONS: compat=0.10
|
||||
DIB_GRUB_TIMEOUT: '0'
|
||||
GIT_HTTP_LOW_SPEED_TIME: '300'
|
||||
GIT_HTTP_LOW_SPEED_LIMIT: '1000'
|
||||
- name: ubuntu-bionic
|
||||
pause: false
|
||||
elements:
|
||||
@ -234,6 +246,8 @@ diskimages:
|
||||
DIB_DISTRIBUTION_MIRROR: 'http://mirror.dfw.rax.openstack.org/ubuntu'
|
||||
DIB_DEBOOTSTRAP_EXTRA_ARGS: '--no-check-gpg'
|
||||
DIB_DEBIAN_COMPONENTS: 'main,universe'
|
||||
GIT_HTTP_LOW_SPEED_TIME: '300'
|
||||
GIT_HTTP_LOW_SPEED_LIMIT: '1000'
|
||||
- name: ubuntu-trusty
|
||||
pause: false
|
||||
elements:
|
||||
@ -256,6 +270,8 @@ diskimages:
|
||||
DIB_DISTRIBUTION_MIRROR: 'http://mirror.dfw.rax.openstack.org/ubuntu'
|
||||
DIB_DEBOOTSTRAP_EXTRA_ARGS: '--no-check-gpg'
|
||||
DIB_DEBIAN_COMPONENTS: 'main,universe'
|
||||
GIT_HTTP_LOW_SPEED_TIME: '300'
|
||||
GIT_HTTP_LOW_SPEED_LIMIT: '1000'
|
||||
- name: ubuntu-xenial
|
||||
pause: false
|
||||
elements:
|
||||
@ -279,3 +295,5 @@ diskimages:
|
||||
DIB_DISTRIBUTION_MIRROR: 'http://mirror.dfw.rax.openstack.org/ubuntu'
|
||||
DIB_DEBOOTSTRAP_EXTRA_ARGS: '--no-check-gpg'
|
||||
DIB_DEBIAN_COMPONENTS: 'main,universe'
|
||||
GIT_HTTP_LOW_SPEED_TIME: '300'
|
||||
GIT_HTTP_LOW_SPEED_LIMIT: '1000'
|
||||
|
Loading…
x
Reference in New Issue
Block a user