Merge pull request #6243 from jsangmeister/fix-gh-actions

Fix initial data workflow
This commit is contained in:
reiterl 2021-10-05 13:12:35 +02:00 committed by GitHub
commit 973184237a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,5 +131,8 @@ jobs:
- name: Export migrated data from the datastore - name: Export migrated data from the datastore
run: "curl --header 'Content-Type: application/json' -d '{}' http://localhost:9010/internal/datastore/reader/get_everything 2> /dev/null | python3 dev-commands/strip-meta-fields.py > export.json" run: "curl --header 'Content-Type: application/json' -d '{}' http://localhost:9010/internal/datastore/reader/get_everything 2> /dev/null | python3 dev-commands/strip-meta-fields.py > export.json"
- name: generate models.py for next step
run: python openslides-backend/cli/generate_models.py docs/models.yml
- name: Validate exported initial-data.json - name: Validate exported initial-data.json
run: python openslides-backend/cli/check_json.py --partial export.json run: python openslides-backend/cli/check_json.py --partial export.json