aboutsummaryrefslogtreecommitdiff
path: root/contrib/cirrus/runner.sh
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2022-06-22 21:20:31 +0000
committerGitHub <noreply@github.com>2022-06-22 21:20:31 +0000
commit8e88abda85f7bf44b6857ad5d62c8ef58206fce5 (patch)
tree25cdcd4526720c14189052b7416e8d19cdb34706 /contrib/cirrus/runner.sh
parent0d1fa2b50419236ee46b4daf0c0b6ea97deabcaa (diff)
parentef563c5a1e1a638a99dc615a34324d068993c106 (diff)
downloadpodman-8e88abda85f7bf44b6857ad5d62c8ef58206fce5.tar.gz
podman-8e88abda85f7bf44b6857ad5d62c8ef58206fce5.tar.bz2
podman-8e88abda85f7bf44b6857ad5d62c8ef58206fce5.zip
Merge pull request #14608 from edsantiago/logformatter_new_url
logformatter: link to logs using Cirrus API
Diffstat (limited to 'contrib/cirrus/runner.sh')
-rwxr-xr-xcontrib/cirrus/runner.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/cirrus/runner.sh b/contrib/cirrus/runner.sh
index b9f43f395..d49286ad3 100755
--- a/contrib/cirrus/runner.sh
+++ b/contrib/cirrus/runner.sh
@@ -142,7 +142,10 @@ exec_container() {
# Line-separated arguments which include shell-escaped special characters
declare -a envargs
while read -r var_val; do
- envargs+=("-e $var_val")
+ # Pass "-e VAR" on the command line, not "-e VAR=value". Podman can
+ # do a much better job of transmitting the value than we can,
+ # especially when value includes spaces.
+ envargs+=("-e" "$(awk -F= '{print $1}' <<<$var_val)")
done <<<"$(passthrough_envars)"
# VM Images and Container images are built using (nearly) identical operations.