Skip to content

Commit 17c69b4

Browse files
JavierGOrdonnezJavier Garcia OrdonezGitHK
authored
new service integration library (#115)
* change to root user * remove push GitHub action * changed .osparc and Makefile structure to that of cookiecutter-jupyter * new GitHub actions only (in sync w new Makefile) * use latest ci-service-integration-library * Update publish local * updated few things to resemble Jupyter Pysonic (recently updated by Andrei) * update ci-service-integration-library in Makefile compose-spec * cleaning && adding necessary new files * pin CI service integration library version Co-authored-by: Andrei Neagu <5694077+GitHK@users.noreply.github.com> * pin CI service integration library version Co-authored-by: Andrei Neagu <5694077+GitHK@users.noreply.github.com> --------- Co-authored-by: Javier Garcia Ordonez <ordonez@zmt.swiss> Co-authored-by: Andrei Neagu <5694077+GitHK@users.noreply.github.com>
1 parent 05e58bc commit 17c69b4

File tree

12 files changed

+96
-374
lines changed

12 files changed

+96
-374
lines changed

{{cookiecutter.project_slug}}/.github/workflows/build-test-publish.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build and check image
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
verify-image-build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout repo content
10+
uses: actions/checkout@v2
11+
- name: ooil version
12+
uses: docker://itisfoundation/ci-service-integration-library:v2.1.25
13+
with:
14+
args: ooil --version
15+
- name: Assemble docker compose spec
16+
uses: docker://itisfoundation/ci-service-integration-library:v2.1.25
17+
with:
18+
args: ooil compose
19+
- name: Build all images if multiple
20+
uses: docker://itisfoundation/ci-service-integration-library:v2.1.25
21+
with:
22+
args: docker compose build

{{cookiecutter.project_slug}}/.osparc/Makefile

Lines changed: 0 additions & 68 deletions
This file was deleted.

{{cookiecutter.project_slug}}/.osparc/bin/activate

Lines changed: 0 additions & 67 deletions
This file was deleted.

{{cookiecutter.project_slug}}/.osparc/bin/ooil

Lines changed: 0 additions & 40 deletions
This file was deleted.

{{cookiecutter.project_slug}}/.osparc/bin/yq

Lines changed: 0 additions & 17 deletions
This file was deleted.

{{cookiecutter.project_slug}}/.osparc/metadata.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ key: simcore/services/{%- if cookiecutter.project_type == "computational" -%}com
33
type: {{ cookiecutter.project_type }}
44
integration-version: 1.0.0
55
version: {{ cookiecutter.version }}
6-
version_display: {{ cookiecutter.version_display }}
76
description: {{ cookiecutter.project_short_description }}
8-
contact: {{ cookiecutter.contact_email }}
7+
contact: {{ cookiecutter.author_email }}
98
thumbnail: https://github.com/ITISFoundation/osparc-assets/blob/cb43207b6be2f4311c93cd963538d5718b41a023/assets/default-thumbnail-cookiecutter-osparc-service.png?raw=true
109
authors:
1110
- name: {{ cookiecutter.author_name }}
@@ -18,6 +17,7 @@ inputs:
1817
label: input_{{ i+1 }}_label
1918
description: The input {{ i+1 }} description
2019
type: string
20+
# allowed input / output types are "string", "number", "bool", "data:*/*"
2121
defaultValue: some_value(optional)
2222
fileToKeyMap:
2323
somefilename.ext: input_{{ i+1 }}
@@ -29,6 +29,7 @@ outputs:
2929
label: output_{{ i+1 }}_label
3030
description: The input {{ i+1 }} description
3131
type: string
32+
# allowed input / output types are "string", "number", "bool", "data:*/*"
3233
fileToKeyMap:
3334
somefilename.ext: output_{{ i+1 }}
3435
{% endfor %}
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
restart-policy: no-restart
22
settings:
3+
- name: constraints
4+
type: string
5+
value:
6+
- node.platform.os == linux
37
- name: Resources
48
type: Resources
59
value:
6-
Limits:
10+
Limits: # TODO Default resource limits. Change if necessary.
711
NanoCPUs: 1000000000 # 100% of CPU cycles on 1 CPU
8-
MemoryBytes: 2147483648 # 2 Gigabytes
9-
12+
MemoryBytes: 2147483648 # 2 Gigabytes

0 commit comments

Comments
 (0)