Skip to content

Commit

Permalink
🐛Use different ports in/out of GHA containers
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Dec 6, 2022
1 parent a01fa74 commit 3a9eaef
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/self-smoke-test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on: # yamllint disable-line rule:truthy
env:
devpi-password: abcd1234
devpi-username: root
devpi-port: 3141

FORCE_COLOR: 1 # Request colored output from CLI tools supporting it
MYPY_FORCE_COLOR: 1 # MyPy's color enforcement
Expand All @@ -35,7 +36,7 @@ jobs:
env:
DEVPI_PASSWORD: ${{ env.devpi-password }}
ports:
- 3141
- ${{ env.devpi-port }}

timeout-minutes: 2

Expand Down Expand Up @@ -77,7 +78,7 @@ jobs:
TWINE_PASSWORD: ${{ env.devpi-password }}
TWINE_REPOSITORY_URL: >-
http:https://localhost:${{
job.services.devpi.ports['3141']
job.services.devpi.ports[env.devpi-port]
}}/${{
env.devpi-username
}}/public/
Expand All @@ -87,10 +88,6 @@ jobs:
user: ${{ env.devpi-username }}
password: ${{ env.devpi-password }}
repository_url: >-
http:https://devpi:${{
job.services.devpi.ports['3141']
}}/${{
env.devpi-username
}}/public/
http:https://devpi:${{ env.devpi-port }}/${{ env.devpi-username }}/public/
...

0 comments on commit 3a9eaef

Please sign in to comment.