Skip to content
Snippets Groups Projects
Commit 74bd5427 authored by Erwan Rouchet's avatar Erwan Rouchet Committed by Bastien Abadie
Browse files

Revert "Remove redundant OpenAPI CI job"

This reverts commit 73e061c8.
parent 118430f4
No related branches found
No related tags found
No related merge requests found
......@@ -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