Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
105 changes: 105 additions & 0 deletions .github/workflows/mcp-builds.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
name: MCP builds
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:

jobs:
ansible:
runs-on: ubuntu-latest
environment: ci
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: login to quay.io
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: build and push the ansible mcp server
run: |
cd mcp-servers/ansible
curl -ssL -o submodule/mcp/ansible.py https://raw.githubusercontent.com/suppathak/mcp/refs/heads/main/ansible.py
podman build -t quay.io/redhat-et/mcp-ansible:latest .

- name: push the ansible mcp server when merge into main
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: |
podman push quay.io/redhat-et/mcp-ansible:latest

custom:
runs-on: ubuntu-latest
environment: ci
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: login to quay.io
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: build and push the custom mcp server
run: |
cd mcp-servers/custom
podman build -t quay.io/redhat-et/mcp-custom:latest .

- name: push the ansible mcp server when merge into main
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: |
podman push quay.io/redhat-et/mcp-custom:latest

github:
runs-on: ubuntu-latest
environment: ci
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: login to quay.io
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: build and push the github mcp server
run: |
cd mcp-servers/github
podman build -t quay.io/redhat-et/mcp-github:latest .

- name: push the ansible mcp server when merge into main
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: |
podman push quay.io/redhat-et/mcp-github:latest

openshift:
runs-on: ubuntu-latest
environment: ci
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: login to quay.io
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: build and push the openshift mcp server
run: |
cd mcp-servers/openshift
podman build -t quay.io/redhat-et/mcp-openshift:latest .

- name: push the ansible mcp server when merge into main
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: |
podman push quay.io/redhat-et/mcp-openshift:latest
3 changes: 2 additions & 1 deletion kubernetes/mcp-servers/ansible-mcp/ansible-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ spec:
spec:
containers:
- name: ansible-mcp-server
image: quay.io/supathak/ansible-mcp:amd-0.1.0
image: quay.io/redhat-et/mcp-ansible:latest
imagePullPolicy: Always
ports:
- containerPort: 8000
protocol: TCP
Expand Down
3 changes: 2 additions & 1 deletion kubernetes/mcp-servers/custom-mcp/custom-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ spec:
spec:
containers:
- name: custom-mcp-server
image: quay.io/rh-ee-anxie/mcp-custom-server:latests
image: quay.io/redhat-et/mcp-custom:latest
imagePullPolicy: Always
ports:
- containerPort: 8000
protocol: TCP
Expand Down
3 changes: 2 additions & 1 deletion kubernetes/mcp-servers/github-mcp/github-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ spec:
spec:
containers:
- name: github-mcp-server-with-rh-nodejs
image: quay.io/rh-ee-yuan/github_mcp_server:latest
image: quay.io/redhat-et/mcp-github:latest
imagePullPolicy: Always
command: ["/bin/sh", "-c"]
args:
- |
Expand Down
9 changes: 0 additions & 9 deletions mcp-servers/ansible/aap-secret.yaml

This file was deleted.