PCQA-1152 auto accept conda TOS when running PyCharm env tests

following the official recommendation https://github.com/anaconda/conda-anaconda-tos?tab=readme-ov-file#cicd-environments

without this conda will ask the user to accept Terms Of Service
while running PyCharm env tests - and there is no user on CI


Merge-request: IJ-MR-169304
Merged-by: Ilya Kazakevich <ilya.kazakevich@jetbrains.com>

GitOrigin-RevId: 533f5f34d9a0128cac57a0a35d57e1fd19860820
This commit is contained in:
Pavel Karateev
2025-07-16 01:42:48 +00:00
committed by intellij-monorepo-bot
parent d360a489c9
commit 98c8572ba6
+4
View File
@@ -40,6 +40,10 @@ ENV LC_ALL=en_US.UTF-8
ENV PYCHARM_PYTHONS=/pythons/
ENV CONDA_PATH=/pythons/conda/bin/conda
# don't ask the user to accept conda TOS
# see PCQA-1152 and https://github.com/anaconda/conda-anaconda-tos?tab=readme-ov-file#cicd-environments
ENV CONDA_PLUGINS_AUTO_ACCEPT_TOS=yes
COPY --from=builder /pythons/ /pythons
# To make sure all pythons are executable