Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ upgrade api-server dependencies #6860

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
5097e16
upgrade api-server dependencies
bisgaard-itis Nov 28, 2024
3a9f368
Merge branch 'master' into upgrade-api-server-dependencies
bisgaard-itis Nov 28, 2024
e6fcbed
Merge branch 'master' into upgrade-api-server-dependencies
bisgaard-itis Dec 3, 2024
a87c031
Merge branch 'master' into upgrade-api-server-dependencies
bisgaard-itis Dec 4, 2024
78b1ebf
make typechecking test happy
bisgaard-itis Dec 4, 2024
ba8809d
Merge branch 'master' into upgrade-api-server-dependencies
bisgaard-itis Dec 6, 2024
74ce033
upgrade once again
bisgaard-itis Dec 6, 2024
698e00c
Merge branch 'master' into upgrade-api-server-dependencies
bisgaard-itis Dec 6, 2024
78ac8bf
upgrade reqs
bisgaard-itis Dec 6, 2024
8c9baf8
avoid httpx 0.28.0 due to https://github.com/lundberg/respx/pull/278
bisgaard-itis Dec 6, 2024
05484a3
Merge branch 'master' into upgrade-api-server-dependencies
bisgaard-itis Dec 6, 2024
24cae71
whitespace to test ci triggers
bisgaard-itis Dec 6, 2024
7f64796
Merge branch 'master' into upgrade-api-server-dependencies
bisgaard-itis Dec 6, 2024
72fcd5c
Merge branch 'master' into upgrade-api-server-dependencies
bisgaard-itis Dec 6, 2024
8fba066
Merge branch 'master' into upgrade-api-server-dependencies
bisgaard-itis Dec 9, 2024
b24e041
Merge branch 'master' into upgrade-api-server-dependencies
bisgaard-itis Dec 9, 2024
b5239b7
Merge branch 'master' into upgrade-api-server-dependencies
bisgaard-itis Dec 9, 2024
92dc0b0
Merge branch 'master' into upgrade-api-server-dependencies
bisgaard-itis Dec 9, 2024
a3be13e
Merge branch 'master' into upgrade-api-server-dependencies
bisgaard-itis Dec 10, 2024
3605ef2
Merge branch 'master' into upgrade-api-server-dependencies
bisgaard-itis Dec 10, 2024
f78e10a
update openapi specs
bisgaard-itis Dec 10, 2024
9263404
Merge branch 'master' into upgrade-api-server-dependencies
bisgaard-itis Dec 10, 2024
e484083
update openapi specs
bisgaard-itis Dec 10, 2024
4931206
improve error messages in ci
bisgaard-itis Dec 10, 2024
b5c8f96
minor fixes to workflow files
bisgaard-itis Dec 10, 2024
0bd94da
test ci
bisgaard-itis Dec 10, 2024
bb90b70
minor fixes to workflow files
bisgaard-itis Dec 10, 2024
59cd15e
update api-server openapi.json
bisgaard-itis Dec 10, 2024
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
14 changes: 8 additions & 6 deletions .github/workflows/ci-testing-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:
jobs:
api-specs:
timeout-minutes: 10
name: "check oas' are up to date"
name: "check OAS' are up to date"
runs-on: ubuntu-latest
steps:
- name: setup python environment
Expand All @@ -35,11 +35,13 @@ jobs:
run: |
uv venv .venv && source .venv/bin/activate
make openapi-specs
./ci/github/helpers/openapi-specs-diff.bash diff \
if ! ./ci/github/helpers/openapi-specs-diff.bash diff \
https://raw.githubusercontent.com/${{ github.event.pull_request.head.repo.full_name }}/refs/heads/${{ github.event.pull_request.head.ref }} \
.
.; then \
echo "::error:: OAS are not up to date. Run 'make openapi-specs' to update them"; exit 1; \
fi

api-server-backwards-compatibility:
api-server-oas-breaking:
needs: api-specs
timeout-minutes: 10
name: "api-server backwards compatibility"
Expand All @@ -62,11 +64,11 @@ jobs:
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 \
/specs/services/api-server/openapi.json

oas-backwards-compatibility:
all-oas-breaking:
needs: api-specs
continue-on-error: true
timeout-minutes: 10
name: "oas backwards compatibility"
name: "OAS backwards compatibility"
runs-on: ubuntu-latest
steps:
- name: setup python environment
Expand Down
1 change: 1 addition & 0 deletions services/api-server/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ openapi-diff.md: guard-OPENAPI_JSON_BASE_URL openapi.json ## Diffs against a rem
# SEE https://schemathesis.readthedocs.io/en/stable/index.html
APP_URL:=http://$(get_my_ip).nip.io:8006


test-api: ## Runs schemathesis against development server (NOTE: make up-devel first)
@docker run schemathesis/schemathesis:stable run \
"$(APP_URL)/api/v0/openapi.json"
2 changes: 2 additions & 0 deletions services/api-server/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -5548,6 +5548,7 @@
"urls": {
"items": {
"type": "string",
"minLength": 1,
"format": "uri"
},
"type": "array",
Expand Down Expand Up @@ -6161,6 +6162,7 @@
},
"download_link": {
"type": "string",
"minLength": 1,
"format": "uri",
"title": "Download Link"
}
Expand Down
Loading
Loading