Skip to content

Commit cac67cf

Browse files
committed
Yet another attempt to get the authentication to our private pypi (azure artifiacts) to work.
1 parent 7f2b1b1 commit cac67cf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

azure-pipelines.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ steps:
2828
pip install poetry
2929
pip install twine
3030
echo "###########Set ngi-fm = $(PIP_EXTRA_INDEX_URL) ############"
31-
poetry config repositories.ngi-fm $(PIP_EXTRA_INDEX_URL)
31+
# poetry config repositories.ngi-fm $(PIP_EXTRA_INDEX_URL)
32+
export PAT=$(echo "$PIP_EXTRA_INDEX_URL" | sed 's/.*build:\(.*\)@pkgs.*/\1/')
33+
poetry config http-basic.ngi-fm build "$PAT"
3234
echo "#######################"
3335
poetry install
3436
# poetry export -f requirements.txt --output requirements.txt --without-hashes --dev

0 commit comments

Comments
 (0)