From f8bd224c99fc611267f14287e9e739985eb4d3f3 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Thu, 9 Mar 2023 06:42:33 +0100 Subject: [PATCH] Add macOS 13.2 to CI (#581) * Add macOS 13.2 to CI. * Run brew --prefix with same user used for installing with brew. --- .azure-pipelines/azure-pipelines.yml | 8 ++++---- tests/integration/targets/setup_openssl/tasks/main.yml | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.azure-pipelines/azure-pipelines.yml b/.azure-pipelines/azure-pipelines.yml index 08fe1d83..c9e8199c 100644 --- a/.azure-pipelines/azure-pipelines.yml +++ b/.azure-pipelines/azure-pipelines.yml @@ -202,8 +202,8 @@ stages: parameters: testFormat: devel/{0} targets: - - name: macOS 12.0 - test: macos/12.0 + - name: macOS 13.2 + test: macos/13.2 - name: RHEL 7.9 test: rhel/7.9 - name: RHEL 9.1 @@ -223,6 +223,8 @@ stages: parameters: testFormat: 2.14/{0} targets: + - name: macOS 12.0 + test: macos/12.0 - name: RHEL 9.0 test: rhel/9.0 - name: FreeBSD 12.3 @@ -238,8 +240,6 @@ stages: parameters: testFormat: 2.13/{0} targets: - # - name: macOS 12.0 - # test: macos/12.0 - name: RHEL 8.5 test: rhel/8.5 - name: FreeBSD 13.0 diff --git a/tests/integration/targets/setup_openssl/tasks/main.yml b/tests/integration/targets/setup_openssl/tasks/main.yml index aa478f45..83da50c8 100644 --- a/tests/integration/targets/setup_openssl/tasks/main.yml +++ b/tests/integration/targets/setup_openssl/tasks/main.yml @@ -64,6 +64,8 @@ - name: MACOS | Locale openssl binary command: brew --prefix openssl + become: true + become_user: "{{ brew_stat.stat.pw_name }}" register: brew_openssl_prefix - name: MACOS | Point to OpenSSL binary