ci: Ensure HOME is set
Prow doesn't set this and it breaks our `cargo install`.
This commit is contained in:
parent
57edf7e638
commit
79f07957f5
@ -1,5 +1,11 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
# OpenShift Prow jobs don't set $HOME, but we need
|
||||
# one for cargo right now.
|
||||
if test -z "$HOME"; then
|
||||
export HOME=$(mktemp -d -t --suffix .prowhome)
|
||||
fi
|
||||
|
||||
pkg_upgrade() {
|
||||
echo "Running dnf -y distro-sync... $(date)"
|
||||
dnf -y distro-sync
|
||||
|
Loading…
Reference in New Issue
Block a user