From 37dc479f741a7aad338215a9967350fe054f9b38 Mon Sep 17 00:00:00 2001 From: dgboss Date: Thu, 13 Jun 2024 10:20:18 -0700 Subject: [PATCH] Add poetry config for artifactory (#3727) --- .github/workflows/post_merge_integration.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/post_merge_integration.yml b/.github/workflows/post_merge_integration.yml index d39e6a8c2..babf1b4f5 100644 --- a/.github/workflows/post_merge_integration.yml +++ b/.github/workflows/post_merge_integration.yml @@ -60,6 +60,9 @@ jobs: with: path: ~/work/wps/wps/api/.venv key: ${{ runner.os }}-venv-poetry-1.6.1-${{ hashFiles('**/poetry.lock') }} + - name: Configure artifactory creds for poetry + working-directory: ./api + run: poetry config http-basic.psu ${{ secrets.ARTIFACTORY_PYPI_USERNAME }} ${{ secrets.ARTIFACTORY_PYPI_PASSWORD }} - name: Install python dependencies using poetry (api) if: steps.cache-venv.outputs.cache-hit != 'true' working-directory: ./api @@ -135,6 +138,9 @@ jobs: with: path: ~/work/wps/wps/api/.venv key: ${{ runner.os }}-venv-poetry-1.6.1-${{ hashFiles('**/poetry.lock') }} + - name: Configure artifactory creds for poetry + working-directory: ./api + run: poetry config http-basic.psu ${{ secrets.ARTIFACTORY_PYPI_USERNAME }} ${{ secrets.ARTIFACTORY_PYPI_PASSWORD }} - name: Install python dependencies using poetry (api) if: steps.cache-venv.outputs.cache-hit != 'true' working-directory: ./api