Merge pull request #9779 from GabyCT/topic/fixcoscript

tests: Fix indentation in common script
This commit is contained in:
GabyCT 2024-06-07 15:37:10 -06:00 committed by GitHub
commit 03bcc167a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -488,11 +488,11 @@ function check_containerd_config_for_kata() {
} }
function ensure_yq() { function ensure_yq() {
: "${GOPATH:=${GITHUB_WORKSPACE:-$HOME/go}}" : "${GOPATH:=${GITHUB_WORKSPACE:-$HOME/go}}"
export GOPATH export GOPATH
export PATH="${GOPATH}/bin:${PATH}" export PATH="${GOPATH}/bin:${PATH}"
INSTALL_IN_GOPATH=true "${repo_root_dir}/ci/install_yq.sh" INSTALL_IN_GOPATH=true "${repo_root_dir}/ci/install_yq.sh"
hash -d yq 2> /dev/null || true # yq is preinstalled on GHA Ubuntu 22.04 runners so we clear Bash's PATH cache. hash -d yq 2> /dev/null || true # yq is preinstalled on GHA Ubuntu 22.04 runners so we clear Bash's PATH cache.
} }
# dependency: What we want to get the version from the versions.yaml file # dependency: What we want to get the version from the versions.yaml file