Commit bbdd7734 authored by Peter Heiss's avatar Peter Heiss 🖖

fixed project_manager yml dockerfile

parent b3a4ff1e
Pipeline #57084 passed with stages
in 4 minutes and 42 seconds
......@@ -11,8 +11,8 @@ RUN pip install -r requirements.txt
# download yaml file for better usability and reproducable behaviour
RUN apk add curl
ENV OPENAPI_FILEPATH_EXTERNAL "https://raw.githubusercontent.com/Sciebo-RDS/Sciebo-RDS/master/RDS/circle2_use_cases/exporter/use-case_exporter.yml"
ENV OPENAPI_FILEPATH "exporter.yml"
ENV OPENAPI_FILEPATH_EXTERNAL "https://raw.githubusercontent.com/Sciebo-RDS/Sciebo-RDS/master/RDS/circle3_central_services/project_manager/central-service_project-manager.yml"
ENV OPENAPI_FILEPATH "project_manager.yml"
RUN curl -X GET "$OPENAPI_FILEPATH_EXTERNAL" -o "$OPENAPI_FILEPATH"
# now add everything else, which changes often
......
......@@ -35,7 +35,7 @@ def monkeypatch():
def bootstrap(name='MicroService', *args, **kwargs):
list_openapi = Util.load_oai(
os.getenv("OPENAPI_FILEPATH", "central-service_project-manager.yml"))
os.getenv("OPENAPI_FILEPATH", "project-manager.yml"))
app = App(name, *args, **kwargs)
......
......@@ -28,9 +28,15 @@ service_token:
token_storage:
helm upgrade circle3-token-storage circle3_token_storage --install
metadata:
helm upgrade circle2-metadata-service circle2_metadata_service --install
project_manager:
helm upgrade circle3-project-manager circle3_project_manager --install
circle1: port_zenodo port_owncloud
circle2: service_token service_exporter
circle3: token_storage
circle2: service_token service_exporter metadata
circle3: token_storage project_manager
features:
helm repo add jaegertracing https://jaegertracing.github.io/helm-charts
......@@ -55,9 +61,15 @@ remove_service_token:
remove_token_storage:
helm delete --purge circle3-token-storage || true
remove_metadata:
helm delete --purge circle2-metadata-service || true
remove_project_manager:
helm delete --purge circle3-project-manager || true
uninstall_circle1: remove_port_zenodo remove_port_owncloud
uninstall_circle2: remove_service_token remove_service_exporter
uninstall_circle3: remove_token_storage
uninstall_circle2: remove_service_token remove_service_exporter remove_metadata
uninstall_circle3: remove_token_storage remove_project_manager
install: install_configmaps features circle3 circle2 circle1
uninstall: uninstall_circle1 uninstall_circle2 uninstall_circle3 remove_features uninstall_configmaps
......
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