Installing from private source on pre-commit hook #9625
Replies: 1 comment
-
|
Ah, I didn't spot that after adding runtime env variables in gitlab-ci.yaml pre-commit:
variables:
POETRY_HTTP_BASIC_GITLAB_USERNAME: build-pipeline-deploy-token
POETRY_HTTP_BASIC_GITLAB_PASSWORD: $DEPLOY_TOKENmy gitlab pipeline is failing because of DIFFERENT (and real) reason. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I saw this thread: https://github.com/orgs/python-poetry/discussions/8844
but what I'm trying to do is to run poetry-lock pre-commit hook on the CI when having a explicit private source.
It looks that it is not possible to use env variables for authentication https://python-poetry.org/docs/configuration/#using-environment-variables (see pre-commit/pre-commit#758) nor using
poetry config ....as there is no place to run it in pre-commit config.Did anyone have similar problem? How to solve that?
Beta Was this translation helpful? Give feedback.
All reactions