Fix initial data workflow
This commit is contained in:
parent
0e95e7f7e0
commit
72d5ee06d3
3
.github/workflows/models.yml
vendored
3
.github/workflows/models.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user