-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8300 from cvat-ai/release-2.16.3
Release v2.16.3
- Loading branch information
Showing
95 changed files
with
2,296 additions
and
1,715 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,18 +133,23 @@ jobs: | |
- name: Verify API schema | ||
id: verify_schema | ||
run: | | ||
docker run --rm --entrypoint /bin/bash cvat/server:${CVAT_VERSION} \ | ||
docker run --rm cvat/server:${CVAT_VERSION} bash \ | ||
-c 'python manage.py spectacular' > cvat/schema-expected.yml | ||
if ! git diff --no-index cvat/schema.yml cvat/schema-expected.yml; then | ||
echo | ||
echo 'API schema has changed! Please update cvat/schema.yml:' | ||
echo | ||
echo ' docker run --rm --entrypoint /bin/bash cvat/server:dev \' | ||
echo ' docker run --rm cvat/server:dev bash \' | ||
echo " -c 'python manage.py spectacular' > cvat/schema.yml" | ||
exit 1 | ||
fi | ||
- name: Verify migrations | ||
run: | | ||
docker run --rm cvat/server:${CVAT_VERSION} bash \ | ||
-c 'python manage.py makemigrations --check' | ||
- name: Upload expected schema as an artifact | ||
if: failure() && steps.verify_schema.conclusion == 'failure' | ||
uses: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.