Commit 78c0d310 authored by Idriss Neumann's avatar Idriss Neumann
Browse files

Remove useless routes and import

parent 5789ff49
Pipeline #3445 passed with stages
in 1 minute and 36 seconds
......@@ -15,7 +15,7 @@ mirror:
kompose-api-x86:
stage: publish
script:
- setsid ./ci/docker-deliver.sh "kompose-api" "2.6" "x86"
- setsid ./ci/docker-deliver.sh "kompose-api" "2.7" "x86"
only:
refs:
- /^(main.*)$/
......
......@@ -5,7 +5,6 @@ from subprocess import check_output
from multiprocessing import Process
import os
import json
import sys
import re
import uuid
......@@ -107,12 +106,12 @@ class ManifestEndPoint(Resource):
'reason': err
}, 500
kompose_routes = ['/', '/kompose', '/kompose-api', '/kompose/', '/kompose-api/']
kompose_routes = ['/']
versions_routes = ['/versions', '/versions/']
manifest_routes = ['/manifest', '/manifest/']
api.add_resource(VersionsApi, *versions_routes)
api.add_resource(KomposeApi, *kompose_routes)
api.add_resource(VersionsApi, *versions_routes)
api.add_resource(ManifestEndPoint, *manifest_routes)
if __name__ == '__main__':
......
......@@ -2,7 +2,7 @@ version: "3.3"
services:
kompose-api:
image: comworkio/kompose-api:2.6
image: comworkio/kompose-api:2.7
user: root
environment:
- FLASK_RUN_PORT=8072
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment