Skip to content

Commit

Permalink
Inlcude SSL manual check and PIP_TRUSTED_HOST env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
fernando79513 committed May 22, 2024
1 parent d5be8ae commit 1fe2703
Show file tree
Hide file tree
Showing 12 changed files with 84 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/tox-checkbox-ng.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,17 @@ jobs:
tox_env_name: "py310"
steps:
- uses: actions/checkout@v4
- name: Workaround SSL Certificates manual verification for Python
run: |
curl --fail --silent --show-error https://pypi.python.org
curl --fail --silent --show-error https://pypi.org
curl --fail --silent --show-error https://files.pythonhosted.org
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
env:
PIP_TRUSTED_HOST: pypi.python.org pypi.org files.pythonhosted.org
- name: Install tox
run: pip install tox
- name: Run tox
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/tox-checkbox-support.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,17 @@ jobs:
tox_env_name: "py310"
steps:
- uses: actions/checkout@v4
- name: Workaround SSL Certificates manual verification for Python
run: |
curl --fail --silent --show-error https://pypi.python.org
curl --fail --silent --show-error https://pypi.org
curl --fail --silent --show-error https://files.pythonhosted.org
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
env:
PIP_TRUSTED_HOST: pypi.python.org pypi.org files.pythonhosted.org
- name: Install tox
run: pip install tox
- name: Run tox
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/tox-contrib-provider-ce-oem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,17 @@ jobs:
tox_env_name: "py310"
steps:
- uses: actions/checkout@v4
- name: Workaround SSL Certificates manual verification for Python
run: |
curl --fail --silent --show-error https://pypi.python.org
curl --fail --silent --show-error https://pypi.org
curl --fail --silent --show-error https://files.pythonhosted.org
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
env:
PIP_TRUSTED_HOST: pypi.python.org pypi.org files.pythonhosted.org
- name: Install tox
run: pip install tox
- name: Run tox
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/tox-provider-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,17 @@ jobs:
tox_env_name: "py310"
steps:
- uses: actions/checkout@v4
- name: Workaround SSL Certificates manual verification for Python
run: |
curl --fail --silent --show-error https://pypi.python.org
curl --fail --silent --show-error https://pypi.org
curl --fail --silent --show-error https://files.pythonhosted.org
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
env:
PIP_TRUSTED_HOST: pypi.python.org pypi.org files.pythonhosted.org
- name: Install tox
run: pip install tox
- name: Run tox
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/tox-provider-certification-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,17 @@ jobs:
tox_env_name: "py310"
steps:
- uses: actions/checkout@v4
- name: Workaround SSL Certificates manual verification for Python
run: |
curl --fail --silent --show-error https://pypi.python.org
curl --fail --silent --show-error https://pypi.org
curl --fail --silent --show-error https://files.pythonhosted.org
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
env:
PIP_TRUSTED_HOST: pypi.python.org pypi.org files.pythonhosted.org
- name: Install tox
run: pip install tox
- name: Run tox
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/tox-provider-certification-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,17 @@ jobs:
tox_env_name: "py310"
steps:
- uses: actions/checkout@v4
- name: Workaround SSL Certificates manual verification for Python
run: |
curl --fail --silent --show-error https://pypi.python.org
curl --fail --silent --show-error https://pypi.org
curl --fail --silent --show-error https://files.pythonhosted.org
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
env:
PIP_TRUSTED_HOST: pypi.python.org pypi.org files.pythonhosted.org
- name: Install tox
run: pip install tox
- name: Run tox
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/tox-provider-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,17 @@ jobs:
tox_env_name: "py310"
steps:
- uses: actions/checkout@v4
- name: Workaround SSL Certificates manual verification for Python
run: |
curl --fail --silent --show-error https://pypi.python.org
curl --fail --silent --show-error https://pypi.org
curl --fail --silent --show-error https://files.pythonhosted.org
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
env:
PIP_TRUSTED_HOST: pypi.python.org pypi.org files.pythonhosted.org
- name: Install tox
run: pip install tox
- name: Run tox
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/tox-provider-genio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,17 @@ jobs:
tox_env_name: "py310"
steps:
- uses: actions/checkout@v4
- name: Workaround SSL Certificates manual verification for Python
run: |
curl --fail --silent --show-error https://pypi.python.org
curl --fail --silent --show-error https://pypi.org
curl --fail --silent --show-error https://files.pythonhosted.org
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
env:
PIP_TRUSTED_HOST: pypi.python.org pypi.org files.pythonhosted.org
- name: Install tox
run: pip install tox
- name: Run tox
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/tox-provider-gpgpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,17 @@ jobs:
tox_env_name: "py310"
steps:
- uses: actions/checkout@v4
- name: Workaround SSL Certificates manual verification for Python
run: |
curl --fail --silent --show-error https://pypi.python.org
curl --fail --silent --show-error https://pypi.org
curl --fail --silent --show-error https://files.pythonhosted.org
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
env:
PIP_TRUSTED_HOST: pypi.python.org pypi.org files.pythonhosted.org
- name: Install tox
run: pip install tox
- name: Run tox
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/tox-provider-resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,17 @@ jobs:
tox_env_name: "py310"
steps:
- uses: actions/checkout@v4
- name: Workaround SSL Certificates manual verification for Python
run: |
curl --fail --silent --show-error https://pypi.python.org
curl --fail --silent --show-error https://pypi.org
curl --fail --silent --show-error https://files.pythonhosted.org
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
env:
PIP_TRUSTED_HOST: pypi.python.org pypi.org files.pythonhosted.org
- name: Install tox
run: pip install tox
- name: Run tox
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/tox-provider-sru.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,17 @@ jobs:
tox_env_name: "py310"
steps:
- uses: actions/checkout@v4
- name: Workaround SSL Certificates manual verification for Python
run: |
curl --fail --silent --show-error https://pypi.python.org
curl --fail --silent --show-error https://pypi.org
curl --fail --silent --show-error https://files.pythonhosted.org
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
env:
PIP_TRUSTED_HOST: pypi.python.org pypi.org files.pythonhosted.org
- name: Install tox
run: pip install tox
- name: Run tox
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/tox-provider-tpm2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,17 @@ jobs:
tox_env_name: "py310"
steps:
- uses: actions/checkout@v4
- name: Workaround SSL Certificates manual verification for Python
run: |
curl --fail --silent --show-error https://pypi.python.org
curl --fail --silent --show-error https://pypi.org
curl --fail --silent --show-error https://files.pythonhosted.org
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
env:
PIP_TRUSTED_HOST: pypi.python.org pypi.org files.pythonhosted.org
- name: Install tox
run: pip install tox
- name: Run tox
Expand Down

0 comments on commit 1fe2703

Please sign in to comment.