Skip to content
Snippets Groups Projects
Commit d2e15225 authored by Bastien Abadie's avatar Bastien Abadie
Browse files

Merge branch 'openapi-ci' into 'master'

Reintroduce OpenAPI CI job

Closes #276

See merge request !773
parents 118430f4 74bd5427
No related branches found
No related tags found
1 merge request!773Reintroduce OpenAPI CI job
......@@ -59,6 +59,17 @@ backend-migrations:
- pip install -e .
- arkindex/manage.py makemigrations --check --noinput --dry-run -v 3
backend-openapi:
extends: .backend-setup
stage: build
script:
- ci/openapi.sh
artifacts:
paths:
- output/
backend-static:
extends: .backend-setup
stage: build
......
#!/bin/sh -e
mkdir -p output
pip install -e .
PONOS_DATA_DIR=/tmp arkindex/manage.py generateschema --generator_class arkindex.project.openapi.SchemaGenerator > output/schema.yml
arkindex/manage.py generateschema --generator_class arkindex.project.openapi.SchemaGenerator > output/schema.yml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment