Compare commits
22 Commits
edaaddd024
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 5376290e69 | |||
| d23e40b7ec | |||
| 76d1d3c74c | |||
| 76586578d0 | |||
| 6e245949ed | |||
| 1819478cd6 | |||
| 8c79b213f5 | |||
| 94bae3cfb5 | |||
| 197e510a78 | |||
| 6ca8d835b1 | |||
| e44cff1b91 | |||
| f2c9be8d04 | |||
| c41cccc49b | |||
| 8274605557 | |||
| f2ca2c0b3d | |||
| 5ce8c44bc7 | |||
| b997383f81 | |||
| 58de02858d | |||
| f285cf755c | |||
|
edbf2e46ff
|
|||
| 5158b0b093 | |||
| c8e4d68238 |
@@ -12,8 +12,8 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
|
||||||
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
|
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
|
||||||
with:
|
with:
|
||||||
python-version: "3.14"
|
python-version: "3.14"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
@@ -25,10 +25,11 @@ jobs:
|
|||||||
integration-test:
|
integration-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
|
||||||
|
|
||||||
- name: Start Qdrant
|
- name: Start Qdrant
|
||||||
run: |
|
run: |
|
||||||
|
docker rm -f qdrant 2>/dev/null || true
|
||||||
docker run -d --name qdrant \
|
docker run -d --name qdrant \
|
||||||
--network "container:$(hostname)" \
|
--network "container:$(hostname)" \
|
||||||
docker.io/qdrant/qdrant:latest
|
docker.io/qdrant/qdrant:latest
|
||||||
@@ -41,7 +42,7 @@ jobs:
|
|||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
|
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
|
||||||
with:
|
with:
|
||||||
python-version: "3.14"
|
python-version: "3.14"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
@@ -53,32 +54,36 @@ jobs:
|
|||||||
QDRANT_URL: http://localhost:6333
|
QDRANT_URL: http://localhost:6333
|
||||||
COLLECTION_NAME: test_mcp_maildir
|
COLLECTION_NAME: test_mcp_maildir
|
||||||
|
|
||||||
|
- name: Cleanup Qdrant
|
||||||
|
if: always()
|
||||||
|
run: docker rm -f qdrant 2>/dev/null || true
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [test, integration-test]
|
needs: [test, integration-test]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
|
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4
|
uses: docker/login-action@af1e73f918a031802d376d3c8bbc3fe56130a9b0 # v4
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Docker metadata
|
- name: Docker metadata
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9 # v6
|
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6
|
||||||
with:
|
with:
|
||||||
images: jcabillot/mcp-maildir
|
images: jcabillot/mcp-maildir
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
|
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7
|
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: pkg/Dockerfile
|
file: pkg/Dockerfile
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
test
|
||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
mcp==1.28.0
|
mcp==1.28.1
|
||||||
fastmcp==3.4.2
|
fastmcp==3.4.2
|
||||||
qdrant-client==1.18.0
|
qdrant-client==1.18.0
|
||||||
fastembed==0.8.0
|
fastembed==0.8.0
|
||||||
python-dotenv==1.2.2
|
python-dotenv==1.2.2
|
||||||
uvicorn==0.49.0
|
uvicorn==0.50.0
|
||||||
starlette==1.3.1
|
starlette==1.3.1
|
||||||
beautifulsoup4==4.15.0
|
beautifulsoup4==4.15.0
|
||||||
python-dateutil==2.9.0.post0
|
python-dateutil==2.9.0.post0
|
||||||
|
|||||||
Reference in New Issue
Block a user