Skip to content

Commit

Permalink
feat: replay cookiecutter, add back GHA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mihirsamdarshi committed Aug 12, 2024
1 parent 38b57b5 commit f4c8249
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 6 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/check-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build and check image

on: [push, pull_request]

jobs:
verify-image-build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo content
uses: actions/checkout@v2
- name: ooil version
uses: docker://itisfoundation/ci-service-integration-library:v1.0.4
with:
args: ooil --version
- name: Assemble docker compose spec
uses: docker://itisfoundation/ci-service-integration-library:v1.0.4
with:
args: ooil compose
- name: Build all images if multiple
uses: docker://itisfoundation/ci-service-integration-library:v1.0.4
with:
args: docker compose build
4 changes: 2 additions & 2 deletions .osparc/metadata.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Osparc Differential Expression
key: simcore/services/comp/dex
key: simcore/services/comp/osparc-differential-expression
type: computational
integration-version: 1.0.0
version: 0.1.0
description: Generate differential expression results from scRNA-seq data in OSparc, output as AnnData
description: Easily generate differential expression results from OSparc data
contact: [email protected]
thumbnail: https://github.com/ITISFoundation/osparc-assets/blob/cb43207b6be2f4311c93cd963538d5718b41a023/assets/default-thumbnail-cookiecutter-osparc-service.png?raw=true
authors:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ endef


.PHONY: build build-devel build-nc build-devel-nc
build build-devel build-nc build-devel-nc: VERSION docker-compose.yml service.cli ## builds image
build build-devel build-nc build-devel-nc: VERSION docker-compose.yml service.cli/run ## builds image
# building image local/${DOCKER_IMAGE_NAME}...
@$(call _docker_compose_build)

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ Easily generate differential expression results from OSparc data
1. The [Dockerfile](osparc_dex_service/docker/Dockerfile) shall be modified to install the command-line tool you'd like to execute and additional dependencies

All the rest is optional:
1. The [.osparc](.osparc) is the configuration folder and source of truth for metadata: describes service info and expected inputs/outputs of the service. If you need to change the inputs/outputs of the service, description, thumbnail, etc... check the [`metadata.yml`](.osparcetadata.yml) file
2. If you need to change the start-up behavior of the service, modify the [`service.cli/execute.sh`](service.clixecute.sh) file
1. The [.osparc](.osparc) is the configuration folder and source of truth for metadata: describes service info and expected inputs/outputs of the service. If you need to change the inputs/outputs of the service, description, thumbnail, etc... check the [`metadata.yml`](./.osparc/metadata.yml) file
2. If you need to change the start-up behavior of the service, modify the [`service.cli/execute.sh`](./service.cli/execute.sh) file


Testing:
1. The service docker image may be built with ``make build`` (see "Useful Commands" below)
2. The service docker image may be run locally with ``make run-local``. You'll need to edit the [input.json](validationnput/inputs.json) to execute your command.
2. The service docker image may be run locally with ``make run-local``. You'll need to edit the [input.json](./validation/input/inputs.json) to execute your command.

### Publish the Service on o²S²PARC
Once you're happy with your code:
Expand Down

0 comments on commit f4c8249

Please sign in to comment.