fix: use container networking for Qdrant so it's accessible at localhost:6333 from within the job container
This commit is contained in:
@@ -13,7 +13,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
|
||||||
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
|
- uses: actions/setup-python@a309ff8b426b258ec0a7b58b98f0e7e9f8689405 # v6
|
||||||
with:
|
with:
|
||||||
python-version: "3.14"
|
python-version: "3.14"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
- name: Start Qdrant
|
- name: Start Qdrant
|
||||||
run: |
|
run: |
|
||||||
docker run -d --name qdrant \
|
docker run -d --name qdrant \
|
||||||
-p 6333:6333 \
|
--network "container:$(hostname)" \
|
||||||
docker.io/qdrant/qdrant:latest
|
docker.io/qdrant/qdrant:latest
|
||||||
|
|
||||||
- name: Wait for Qdrant
|
- name: Wait for Qdrant
|
||||||
@@ -41,7 +41,7 @@ jobs:
|
|||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
|
- uses: actions/setup-python@a309ff8b426b258ec0a7b58b98f0e7e9f8689405 # v6
|
||||||
with:
|
with:
|
||||||
python-version: "3.14"
|
python-version: "3.14"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|||||||
Reference in New Issue
Block a user