Skip to content

Commit 29c7a41

Browse files
committed
add github workflow to check backwards compatibility of api-server
1 parent 0805f3a commit 29c7a41

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci-testing-deploy.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2864,3 +2864,27 @@ jobs:
28642864
env:
28652865
TAG_PREFIX: hotfix-staging-github
28662866
run: ./ci/deploy/dockerhub-deploy.bash -n
2867+
2868+
api-server-api-spec-backwards-compatible:
2869+
timeout-minutes: 5
2870+
name: "api-server-backwards-compatibility"
2871+
runs-on: ubuntu-latest
2872+
steps:
2873+
- uses: actions/checkout@v4
2874+
- name: setup python environment
2875+
uses: actions/setup-python@v5
2876+
with:
2877+
python-version: "3.11"
2878+
- name: install uv
2879+
uses: astral-sh/setup-uv@v4
2880+
with:
2881+
version: "0.4.x"
2882+
enable-cache: false
2883+
cache-dependency-glob: "**/service-library/requirements/ci*.txt"
2884+
- name: setup python .venv
2885+
run: |
2886+
python -m venv .venv
2887+
source .venv/bin/activate
2888+
cd services/api-server
2889+
make install-dev
2890+
make openapi-diff.md OPENAPI_JSON_BASE_URL=https://raw.githubusercontent.com/{{ github.repository }}/refs/heads/{{ github.event.pull_request.base.ref }}/services/api-server/openapi.json

0 commit comments

Comments
 (0)