Conversation
…e trusted host is set for pip install
…tter command handling
|
@gerardcl I added uv to the python rhel9 variant because we could not install older python versions using the package manager anymore so I switched to already add uv and use it to install python instead. |
|
@terra-naut @tbugfinder could you check if the rhel9 terraform agents works properly ? |
…ved pip configuration
really nice!! with Fabian we were also planning to include it at some point this year! you go some steps ahead!! hehe nice! 💯 I've added some other minor comments! |
| PATH=$HOME/.cargo/bin:$JAVA_HOME/bin:$PATH | ||
|
|
||
| RUN yum install -y autoconf automake gcc gcc-c++ openssl-devel libffi-devel && \ | ||
| curl -LsSf https://astral.sh/uv/install.sh | sh && \ |
There was a problem hiding this comment.
I think it makes sense to pin the version of uv, like:
curl -LsSf https://astral.sh/uv/0.10.6/install.sh | sh
see https://docs.astral.sh/uv/getting-started/installation/#standalone-installer
| ENV PYTHONUNBUFFERED=1 \ | ||
| PYTHONIOENCODING=UTF-8 \ | ||
| UV_INDEX_URL=https://${nexusAuth}@${nexusHost}/repository/pypi-all/simple \ | ||
| UV_TRUSTED_HOST=${nexusHost} \ |
There was a problem hiding this comment.
the env UV_TRUSTED_HOST does not exist anymore.
see https://docs.astral.sh/uv/reference/environment/
Depends on opendevstack/ods-core#1336
TEST:
We cannot build the agents in GH actions as there is no base rhel9 agent (there is no public rhel9 agent to build our agent base)