Add macOS 14.3 to CI and `ansible-test`

Additionally, this patch takes care of installing GPG within the
`ansible-galaxy-collection` test when running under macOS 14 and higher.

PR #82697

ci_complete
pull/82703/head
Sviatoslav Sydorenko (Святослав Сидоренко) 3 months ago committed by GitHub
parent 437457e6d9
commit 386edc666e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -77,8 +77,8 @@ stages:
- template: templates/matrix.yml # context/target
parameters:
targets:
- name: macOS 13.2
test: macos/13.2
- name: macOS 14.3
test: macos/14.3
- name: RHEL 9.3 py39
test: rhel/9.3@3.9
- name: RHEL 9.3 py311
@ -91,8 +91,8 @@ stages:
- template: templates/matrix.yml # context/controller
parameters:
targets:
- name: macOS 13.2
test: macos/13.2
- name: macOS 14.3
test: macos/14.3
- name: RHEL 9.3
test: rhel/9.3
- name: FreeBSD 13.2

@ -0,0 +1,6 @@
---
minor_changes:
- ansible-test - Added a macOS 14.3 remote VM.
...

@ -0,0 +1,7 @@
- name: uninstall gpg
command: brew uninstall gpg
become: yes
become_user: >-
{{ brew_stat.stat.pw_name }}
environment:
HOMEBREW_NO_AUTO_UPDATE: True

@ -7,6 +7,27 @@
- absent
- directory
- when: ansible_facts.distribution == 'MacOSX'
block:
- name: MACOS | Find brew binary
command: which brew
register: brew_which
- name: MACOS | Get owner of brew binary
stat:
path: >-
{{ brew_which.stdout }}
register: brew_stat
- command: brew install gpg
become: yes
become_user: >-
{{ brew_stat.stat.pw_name }}
environment:
HOMEBREW_NO_AUTO_UPDATE: True
notify:
- uninstall gpg
- name: get username for generating key
command: whoami
register: user

@ -5,6 +5,7 @@ fedora become=sudo provider=aws arch=x86_64
freebsd/13.2 python=3.9,3.11 python_dir=/usr/local/bin become=su_sudo provider=aws arch=x86_64
freebsd python_dir=/usr/local/bin become=su_sudo provider=aws arch=x86_64
macos/13.2 python=3.11 python_dir=/usr/local/bin become=sudo provider=parallels arch=x86_64
macos/14.3 python=3.11 python_dir=/usr/local/bin become=sudo provider=parallels arch=x86_64
macos python_dir=/usr/local/bin become=sudo provider=parallels arch=x86_64
rhel/9.3 python=3.9,3.11 become=sudo provider=aws arch=x86_64
rhel become=sudo provider=aws arch=x86_64

Loading…
Cancel
Save