ansible-test: do not upgrade homebrew to speed up tests (#49914)

pull/49879/head
Jordan Borean 6 years ago committed by GitHub
parent c97d2c25b4
commit 695feea541
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -55,6 +55,10 @@
update_homebrew: no
become: yes
become_user: "{{ brew_stat.stat.pw_name }}"
# Newer versions of brew want to compile a package which takes a long time. Do not upgrade homebrew until a
# proper solution can be found
environment:
HOMEBREW_NO_AUTO_UPDATE: True
when:
- ansible_python_version.split('.')[0] == '2'
- ansible_os_family == 'Darwin'

@ -79,6 +79,10 @@
become: yes
become_user: "{{ brew_stat.stat.pw_name }}"
when: ansible_distribution in ['MacOSX']
# Newer versions of brew want to compile a package which takes a long time. Do not upgrade homebrew until a
# proper solution can be found
environment:
HOMEBREW_NO_AUTO_UPDATE: True
- name: Install 7zip package if we are on FreeBSD
pkgng:

@ -48,3 +48,7 @@
become: yes
become_user: "{{ brew_stat.stat.pw_name }}"
when: ansible_pkg_mgr == 'homebrew'
# Newer versions of brew want to compile a package which takes a long time. Do not upgrade homebrew until a
# proper solution can be found
environment:
HOMEBREW_NO_AUTO_UPDATE: True

Loading…
Cancel
Save