Skip to content

Commit

Permalink
updated ci-agent.sh 001
Browse files Browse the repository at this point in the history
  • Loading branch information
gitofanindya committed Feb 12, 2025
1 parent 5f7706f commit eccf337
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/posix/deploy_ci_agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,12 @@ install_pyenv() {
fi

echo ">>> [pyenv] Initializing"
echo ">>> [pyenv] initiating pyenv to ${path}"
# Ensure pyenv shims are added to PATH, see https://github.com/pyenv/pyenv/issues/1906
eval "$(pyenv init -)"
eval "$(pyenv init --path)"
eval "$(pyenv virtualenv-init -)"
echo ">>> [pyenv] initiated pyenv"
}

install_python() {
Expand All @@ -219,6 +221,7 @@ install_python() {
#fi

echo ">>> Actual Python Version: '$(python3 --version)'"
echo ">>> local version: $(version)"
pyenv install --skip-existing "${version}"
pyenv global "${version}"
eval "$(pyenv init -)"
Expand Down

0 comments on commit eccf337

Please sign in to comment.