Skip to content

Commit c32fff6

Browse files
committed
add required gh workflow for api-server backwards compatibility
1 parent 7779f13 commit c32fff6

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
@@ -2771,3 +2771,27 @@ jobs:
27712771
./ci/github/helpers/openapi-specs-backwards-compatibility.bash breaking \
27722772
https://raw.githubusercontent.com/${{ github.event.pull_request.base.repo.full_name }}/refs/heads/${{ github.event.pull_request.base.ref }} \
27732773
.
2774+
2775+
api-server-backwards-compatible:
2776+
needs: [changes]
2777+
if: ${{ needs.changes.outputs.anything-py == 'true' || github.event_name == 'push' }}
2778+
timeout-minutes: 10
2779+
name: "api-server-backwards-compatibility"
2780+
runs-on: ubuntu-latest
2781+
steps:
2782+
- name: setup python environment
2783+
uses: actions/setup-python@v5
2784+
with:
2785+
python-version: "3.11"
2786+
- name: install uv
2787+
uses: astral-sh/setup-uv@v4
2788+
with:
2789+
version: "0.4.x"
2790+
enable-cache: false
2791+
- name: checkout
2792+
uses: actions/checkout@v4
2793+
- name: Check api-server backwards compatibility
2794+
run: |
2795+
./scripts/openapi-diff.bash breaking --fail-on ERR\
2796+
https://raw.githubusercontent.com/${{ github.event.pull_request.base.repo.full_name }}/refs/heads/${{ github.event.pull_request.base.ref }}/services/api-server/openapi.json \
2797+
./services/api-server/openapi.json

0 commit comments

Comments
 (0)