forked from pex-tool/pex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix locks for git+ssh with credentials.
Previously redacted credentials from the Pip download log were embedded in locked artifact URLs rendering the lock unusable. Now credentials are fixed up before the lock file is written. Fixes pex-tool#1918
- Loading branch information
Showing
9 changed files
with
387 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -158,6 +158,7 @@ jobs: | |
name: (${{ matrix.os }}) Pip ${{ matrix.pip-version }} TOXENV=py${{ matrix.python-version[0] }}${{ matrix.python-version[1] }}-integration | ||
needs: org-check | ||
runs-on: ${{ matrix.os }} | ||
environment: CI | ||
strategy: | ||
matrix: | ||
python-version: [[2, 7], [3, 10], [3, 11, "0-rc.2"]] | ||
|
@@ -199,6 +200,10 @@ jobs: | |
with: | ||
path: ${{ env._PEX_TEST_PYENV_ROOT }} | ||
key: ${{ runner.os }}-pyenv-root-v4 | ||
- name: Setup SSH Agent | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
- name: Run Integration Tests | ||
uses: pantsbuild/actions/run-tox@95209b287c817c78a765962d40ac6cea790fc511 | ||
with: | ||
|
@@ -207,6 +212,7 @@ jobs: | |
name: (PyPy ${{ join(matrix.pypy-version, '.') }}) Pip ${{ matrix.pip-version }} TOXENV=pypy${{ join(matrix.pypy-version, '') }}-integration | ||
needs: org-check | ||
runs-on: ubuntu-20.04 | ||
environment: CI | ||
strategy: | ||
matrix: | ||
pypy-version: [[2, 7], [3, 9]] | ||
|
@@ -245,6 +251,10 @@ jobs: | |
with: | ||
path: ${{ env._PEX_TEST_PYENV_ROOT }} | ||
key: ${{ runner.os }}-pyenv-root-v4 | ||
- name: Setup SSH Agent | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
- name: Run Integration Tests | ||
uses: pantsbuild/actions/run-tox@95209b287c817c78a765962d40ac6cea790fc511 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.