From 15b36817900ac2c71db035c52b194a727db8de67 Mon Sep 17 00:00:00 2001 From: Gerrod Ubben Date: Tue, 17 Dec 2024 11:28:28 -0500 Subject: [PATCH] Remove sudo from post_before_script in CI (cherry picked from commit 8b69766270f1ed661b3da2fd9276ac924b374de5) --- .github/workflows/scripts/post_before_script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scripts/post_before_script.sh b/.github/workflows/scripts/post_before_script.sh index f691146fe..71c734dde 100644 --- a/.github/workflows/scripts/post_before_script.sh +++ b/.github/workflows/scripts/post_before_script.sh @@ -6,7 +6,7 @@ fi # add the copied certificates from install.sh to the container's trusted certificates list if [[ "$TEST" = "azure" ]]; then - cmd_prefix sudo trust anchor /etc/pki/tls/cert.pem + cmd_prefix trust anchor /etc/pki/tls/cert.pem else - cmd_prefix sudo trust anchor /etc/pulp/certs/pulp_webserver.crt + cmd_prefix trust anchor /etc/pulp/certs/pulp_webserver.crt fi