Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arkindex
Backend
Commits
d2e15225
Commit
d2e15225
authored
4 years ago
by
Bastien Abadie
Browse files
Options
Downloads
Plain Diff
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
!773
Reintroduce OpenAPI CI job
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+11
-0
11 additions, 0 deletions
.gitlab-ci.yml
ci/openapi.sh
+1
-1
1 addition, 1 deletion
ci/openapi.sh
with
12 additions
and
1 deletion
.gitlab-ci.yml
+
11
−
0
View file @
d2e15225
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
ci/openapi.sh
+
1
−
1
View file @
d2e15225
#!/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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment