From 1b445523af96abc6eb979b3c5caff16f1ca40268 Mon Sep 17 00:00:00 2001 From: Elisabetta Iavarone <18575092+elisabettai@users.noreply.github.com> Date: Thu, 20 Apr 2023 10:47:52 +0200 Subject: [PATCH] Small fixes to Makefile, default resources and thumbnail (#105) --- {{cookiecutter.project_slug}}/.osparc/metadata.yml | 2 +- {{cookiecutter.project_slug}}/.osparc/runtime.yml | 2 +- {{cookiecutter.project_slug}}/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/{{cookiecutter.project_slug}}/.osparc/metadata.yml b/{{cookiecutter.project_slug}}/.osparc/metadata.yml index ea3cd943..3af3a0e6 100644 --- a/{{cookiecutter.project_slug}}/.osparc/metadata.yml +++ b/{{cookiecutter.project_slug}}/.osparc/metadata.yml @@ -5,7 +5,7 @@ integration-version: 1.0.0 version: {{ cookiecutter.version }} description: {{ cookiecutter.project_short_description }} contact: {{ cookiecutter.contact_email }} -thumbnail: https://github.com/ITISFoundation/osparc-assets/blob/cb43207b6be2f4311c93cd963538d5718b41a023/assets/default-thumbnail-cookiecutter-osparc-service.png +thumbnail: https://github.com/ITISFoundation/osparc-assets/blob/cb43207b6be2f4311c93cd963538d5718b41a023/assets/default-thumbnail-cookiecutter-osparc-service.png?raw=true authors: - name: {{ cookiecutter.author_name }} email: {{ cookiecutter.author_email }} diff --git a/{{cookiecutter.project_slug}}/.osparc/runtime.yml b/{{cookiecutter.project_slug}}/.osparc/runtime.yml index 56eaea2b..c0d3d9f3 100644 --- a/{{cookiecutter.project_slug}}/.osparc/runtime.yml +++ b/{{cookiecutter.project_slug}}/.osparc/runtime.yml @@ -4,6 +4,6 @@ settings: type: Resources value: Limits: - NanoCPUs: 1 # 100% of CPU cycles on 1 CPU + NanoCPUs: 1000000000 # 100% of CPU cycles on 1 CPU MemoryBytes: 2147483648 # 2 Gigabytes diff --git a/{{cookiecutter.project_slug}}/Makefile b/{{cookiecutter.project_slug}}/Makefile index 2bdb7990..0cf16bed 100644 --- a/{{cookiecutter.project_slug}}/Makefile +++ b/{{cookiecutter.project_slug}}/Makefile @@ -105,7 +105,7 @@ push push-force: ## pushes (resp. force) services to the registry if service not .PHONY: publish-local publish-local: ## push to local throw away registry to test integration - docker tag simcore/services/simcore/services/{%- if cookiecutter.project_type == "computational" -%}comp{%- elif cookiecutter.project_type == "dynamic" -%}dynamic{%- endif -%}/${DOCKER_IMAGE_NAME}:${DOCKER_IMAGE_TAG} registry:5000/simcore/services/{%- if cookiecutter.project_type == "computational" -%}comp{%- elif cookiecutter.project_type == "dynamic" -%}dynamic{%- endif -%}/$(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_TAG) + docker tag simcore/services/{%- if cookiecutter.project_type == "computational" -%}comp{%- elif cookiecutter.project_type == "dynamic" -%}dynamic{%- endif -%}/${DOCKER_IMAGE_NAME}:${DOCKER_IMAGE_TAG} registry:5000/simcore/services/{%- if cookiecutter.project_type == "computational" -%}comp{%- elif cookiecutter.project_type == "dynamic" -%}dynamic{%- endif -%}/$(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_TAG) docker push registry:5000/simcore/services/{%- if cookiecutter.project_type == "computational" -%}comp{%- elif cookiecutter.project_type == "dynamic" -%}dynamic{%- endif -%}/$(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_TAG) @curl registry:5000/v2/_catalog | jq