From 91a40053ff0318aff6a908a9ca7ca4eb932e8ff1 Mon Sep 17 00:00:00 2001 From: Ralph Luaces <16159770+raluaces@users.noreply.github.com> Date: Thu, 19 Nov 2026 15:26:06 -0600 Subject: [PATCH] Remove Portainer deploy workflow; hosted stack moved to docker-compose The hosted instance at flightaware-mcp.cssnr.com is now deployed from hosted-domains/docker-compose (cssnr-flightaware-mcp/). Drop deploy.yaml and the release job that called it so a release here can't redeploy that stack from this repo's compose. docker-compose-swarm.yaml stays as the public example. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/deploy.yaml | 88 ---------------------------------- .github/workflows/release.yaml | 6 --- README.md | 3 +- docker-compose-swarm.yaml | 2 + 4 files changed, 3 insertions(+), 96 deletions(-) delete mode 100644 .github/workflows/deploy.yaml diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml deleted file mode 100644 index 6e0f618..0000000 --- a/.github/workflows/deploy.yaml +++ /dev/null @@ -1,88 +0,0 @@ -name: "Deploy" - -on: - workflow_call: - inputs: &inputs - version: - description: "Version Tag" - required: false - type: string - workflow_dispatch: - inputs: *inputs - #workflow_run: - # workflows: ["Build"] - # types: [completed] - -env: - traefik-host: flightaware-mcp.cssnr.com - stack-file: docker-compose-swarm.yaml - stack-name: ${{ github.repository_owner }}-${{ github.event.repository.name }} - version: ${{ inputs.version || github.event.workflow_run.head_branch || github.ref_name }} - -jobs: - deploy: - #if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }} - name: "Deploy" - runs-on: ubuntu-latest - timeout-minutes: 5 - - environment: - name: swarm - url: https://flightaware-mcp.cssnr.com/ - - steps: - - name: "Checkout" - uses: actions/checkout@v6 - - - name: "Debug event.json" - if: ${{ !github.event.act }} - continue-on-error: true - run: cat "${GITHUB_EVENT_PATH}" - - name: "Debug CTX github" - if: ${{ !github.event.act }} - continue-on-error: true - env: - GITHUB_CTX: ${{ toJSON(github) }} - run: echo "$GITHUB_CTX" - - name: "Debug Environment" - if: ${{ !github.event.act }} - continue-on-error: true - run: env - - - name: "Debug 1" - continue-on-error: true - run: | - echo "inputs.version: ${{ inputs.version }}" - echo "github.event.workflow_run.head_branch: ${{ github.event.workflow_run.head_branch }}" - echo "github.ref_name: ${{ github.ref_name }}" - echo "env.version: ${{ env.version }}" - - - name: "Portainer Deploy" - uses: cssnr/portainer-stack-deploy-action@v1 - env: - version: ${{ env.version == 'master' && 'latest' || env.version }} - with: - url: ${{ secrets.PORTAINER_URL }} - token: ${{ secrets.PORTAINER_TOKEN }} - file: ${{ env.stack-file }} - name: ${{ env.stack-name }} - username: ${{ vars.GHCR_USER }} - password: ${{ secrets.GHCR_PASS }} - type: file - env_data: | - VERSION: "${{ env.version }}" - STACK_NAME: "${{ env.stack-name }}" - TRAEFIK_HOST: "${{ env.traefik-host }}" - BASIC_AUTH: "${{ secrets.MCP_BASIC_AUTH }}" - AEROAPI_KEY: "${{ secrets.AEROAPI_KEY }}" - - ## https://render.com/docs/deploy-hooks#deploying-from-an-image-registry - #- name: "Deploy Image" - # uses: cssnr/web-request-action@v2 - # continue-on-error: true - # env: - # version: ${{ env.version == 'master' && 'latest' || env.version }} - # with: - # url: ${{ secrets.RENDER_HOOK }} - # params: | - # imgURL: ghcr.io/${{ github.repository }}:${{ env.version }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 97668d3..4c40a72 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -31,12 +31,6 @@ jobs: with: version: ${{ github.ref_name || github.event.release.tag_name }} - deploy: - name: "Deploy" - uses: ./.github/workflows/deploy.yaml - needs: [build] - secrets: inherit - package: name: "Package" uses: ./.github/workflows/package.yaml diff --git a/README.md b/README.md index b92dc07..8280de4 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ [![Image Size](https://badges.cssnr.com/ghcr/size/cssnr/flightaware-mcp)](https://github.com/cssnr/flightaware-mcp/pkgs/container/flightaware-mcp) [![Deployment PyPi](https://img.shields.io/github/deployments/cssnr/flightaware-mcp/pypi?logo=pypi&logoColor=white&label=pypi)](https://pypi.org/project/flightaware-mcp/) [![Workflow Build](https://img.shields.io/github/actions/workflow/status/cssnr/flightaware-mcp/build.yaml?logo=norton&logoColor=white&label=build)](https://github.com/cssnr/flightaware-mcp/actions/workflows/build.yaml) -[![Workflow Deploy](https://img.shields.io/github/actions/workflow/status/cssnr/flightaware-mcp/deploy.yaml?logo=norton&logoColor=white&label=deploy)](https://github.com/cssnr/flightaware-mcp/actions/workflows/deploy.yaml) [![Workflow Release](https://img.shields.io/github/actions/workflow/status/cssnr/flightaware-mcp/release.yaml?logo=norton&logoColor=white&label=release)](https://github.com/cssnr/flightaware-mcp/actions/workflows/release.yaml) [![GitHub Last Commit](https://img.shields.io/github/last-commit/cssnr/flightaware-mcp?logo=listenhub&label=updated)](https://github.com/cssnr/flightaware-mcp/pulse) [![GitHub Repo Size](https://img.shields.io/github/repo-size/cssnr/flightaware-mcp?logo=buffer&label=repo%20size)](https://github.com/cssnr/flightaware-mcp?tab=readme-ov-file#readme) @@ -144,7 +143,7 @@ Note: Set the `url` to the host you are running the server on. For a Docker Swarm + Traefik example see the [docker-compose-swarm.yaml](https://github.com/cssnr/flightaware-mcp/blob/master/docker-compose-swarm.yaml). -For a Portainer Deploy workflow see the [.github/workflows/deploy.yaml](https://github.com/cssnr/flightaware-mcp/blob/master/.github/workflows/deploy.yaml). +The hosted instance at https://flightaware-mcp.cssnr.com/ is deployed from [hosted-domains/docker-compose](https://github.com/hosted-domains/docker-compose/tree/main/cssnr-flightaware-mcp) (private), not from this repository. ## Configure diff --git a/docker-compose-swarm.yaml b/docker-compose-swarm.yaml index 8267739..9d5b72d 100644 --- a/docker-compose-swarm.yaml +++ b/docker-compose-swarm.yaml @@ -1,3 +1,5 @@ +# Example Docker Swarm + Traefik stack. The hosted instance (flightaware-mcp.cssnr.com) is +# deployed from hosted-domains/docker-compose (cssnr-flightaware-mcp/), not from this repo. version: "3.8" services: