@@ -2661,84 +2661,3 @@ jobs:
26612661 env :
26622662 TAG_PREFIX : hotfix-staging-github
26632663 run : ./ci/deploy/dockerhub-deploy.bash -n
2664-
2665- system-api-specs :
2666- needs : [changes]
2667- if : ${{ needs.changes.outputs.anything-py == 'true' || github.event_name == 'push' }}
2668- timeout-minutes : 10
2669- name : " [sys] check api-specs are up to date"
2670- runs-on : ubuntu-latest
2671- steps :
2672- - name : Ensure job passes if not PR # ensure pass so upstream jobs which depend on this will run (dockerhub deployment)
2673- if : ${{ github.event.pull_request == null }}
2674- run : echo "::notice Passing job because not in PR"; exit 0
2675- - name : setup python environment
2676- uses : actions/setup-python@v5
2677- with :
2678- python-version : " 3.11"
2679- - name : install uv
2680- uses : astral-sh/setup-uv@v4
2681- with :
2682- version : " 0.4.x"
2683- enable-cache : false
2684- - name : checkout source branch
2685- uses : actions/checkout@v4
2686- - name : Regenerate specs and check
2687- run : |
2688- uv venv .venv && source .venv/bin/activate
2689- make openapi-specs
2690- ./ci/github/helpers/openapi-specs-diff.bash diff \
2691- https://raw.githubusercontent.com/${{ github.event.pull_request.head.repo.full_name }}/refs/heads/${{ github.event.pull_request.head.ref }} \
2692- .
2693-
2694- system-backwards-compatibility :
2695- needs : [changes, system-api-specs]
2696- if : ${{ needs.changes.outputs.anything-py == 'true' || github.event_name == 'push' }}
2697- timeout-minutes : 10
2698- name : " [sys] api-server backwards compatibility"
2699- runs-on : ubuntu-latest
2700- steps :
2701- - name : Ensure job passes if not PR # ensure pass so upstream jobs which depend on this will run (dockerhub deployment)
2702- if : ${{ github.event.pull_request == null }}
2703- run : echo "::notice Passing job because not in PR"; exit 0
2704- - name : setup python environment
2705- uses : actions/setup-python@v5
2706- with :
2707- python-version : " 3.11"
2708- - name : install uv
2709- uses : astral-sh/setup-uv@v4
2710- with :
2711- version : " 0.4.x"
2712- enable-cache : false
2713- - name : checkout
2714- uses : actions/checkout@v4
2715- - name : check api-server backwards compatibility
2716- run : |
2717- ./scripts/openapi-diff.bash breaking --fail-on ERR\
2718- 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 \
2719- /specs/services/api-server/openapi.json
2720-
2721- api-spec-backwards-compatibility :
2722- needs : [changes, system-api-specs]
2723- if : ${{ needs.changes.outputs.anything-py == 'true' && github.event_name == 'push' && github.event.pull_request != null }}
2724- continue-on-error : true
2725- timeout-minutes : 10
2726- name : " api-specs-backwards-compatibility"
2727- runs-on : ubuntu-latest
2728- steps :
2729- - name : setup python environment
2730- uses : actions/setup-python@v5
2731- with :
2732- python-version : " 3.11"
2733- - name : install uv
2734- uses : astral-sh/setup-uv@v4
2735- with :
2736- version : " 0.4.x"
2737- enable-cache : false
2738- - name : checkout
2739- uses : actions/checkout@v4
2740- - name : Check openapi-specs backwards compatibility
2741- run : |
2742- ./ci/github/helpers/openapi-specs-diff.bash breaking \
2743- https://raw.githubusercontent.com/${{ github.event.pull_request.base.repo.full_name }}/refs/heads/${{ github.event.pull_request.base.ref }} \
2744- .
0 commit comments