Hydra Launcher for DHCore
Project description
Hydra DigitalHub Launcher
DigitalHub Launcher for Hydra apps uses the DigitalHub platform to launch single tasks. It is expected that the task function is defined as a corresponding hydra runtime function. The launcher spawns the execution of the task functions either locally or within the platform, in a batch of parallel jobs.
Development
See CONTRIBUTING for contribution instructions.
Build container images
To build the container image, you need to:
Clone the repository and navigate to the digitalhub-serverless directory. The build process consists of three main steps:
- Build the processor image (modify the
Makefilefile to change the SERVERLESS_DOCKER_REPO and SERVERLESS_CACHE_REPO variable to your Docker repository, e.g.,docker.io/yourusername)
make processor
- Build the base image (chooses the Python 3 version from 9, 10, 11 or 12)
docker build -t python-base-3-<ver> -f ./Dockerfile/Dockerfile-base-3-<ver> .
- Build the onbuild image (Modify the
Dockerfile/Dockerfile-onbuild-3-<ver>file to change the SERVERLESS_DOCKER_REP variable to your Docker repository, e.g.,docker.io/yourusername)
docker build -t python-onbuild-3-<ver> -f ./Dockerfile/Dockerfile-onbuild-3-<ver> .
- Build the runtime image (Modify the
Dockerfile/Dockerfile-handler-3-<ver>file to change the NUCLIO_BASE_IMAGE and NUCLIO_ONBUILD_IMAGE variables that point to the base and onbuild image you just built, e.g.,python-onbuild-3-<ver>)
docker build -t python-runtime-3-<ver> -f ./Dockerfile/Dockerfile-handler-3-<ver> --build-arg GIT_TAG=<some-tag> .
Launch container
To run the container, use the following command:
docker run -e PROJECT_NAME=<project-name> -e RUN_ID=<run-id> python-runtime-3-<ver>
Required environment variables:
PROJECT: The name of the projectRUN_ID: The ID of the run to execute
Security Policy
The current release is the supported version. Security fixes are released together with all other fixes in each new release.
If you discover a security vulnerability in this project, please do not open a public issue.
Instead, report it privately by emailing us at digitalhub@fbk.eu. Include as much detail as possible to help us understand and address the issue quickly and responsibly.
Contributing
To report a bug or request a feature, please first check the existing issues to avoid duplicates. If none exist, open a new issue with a clear title and a detailed description, including any steps to reproduce if it's a bug.
To contribute code, start by forking the repository. Clone your fork locally and create a new branch for your changes. Make sure your commits follow the Conventional Commits v1.0 specification to keep history readable and consistent.
Once your changes are ready, push your branch to your fork and open a pull request against the main branch. Be sure to include a summary of what you changed and why. If your pull request addresses an issue, mention it in the description (e.g., “Closes #123”).
Please note that new contributors may be asked to sign a Contributor License Agreement (CLA) before their pull requests can be merged. This helps us ensure compliance with open source licensing standards.
We appreciate contributions and help in improving the project!
Authors
This project is developed and maintained by DSLab – Fondazione Bruno Kessler, with contributions from the open source community. A complete list of contributors is available in the project’s commit history and pull requests.
For questions or inquiries, please contact: digitalhub@fbk.eu
Copyright and license
Copyright © 2025 DSLab – Fondazione Bruno Kessler and individual contributors.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hydra_dh_launcher-0.16.1b0.tar.gz.
File metadata
- Download URL: hydra_dh_launcher-0.16.1b0.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7411430968a5a508dd349dfaa76bf7eb83d33563e1bb4a49366b7a61b314553
|
|
| MD5 |
cb8e4905d63dd3af84263d6613c35084
|
|
| BLAKE2b-256 |
9d5a2e7db11fe40bb0a8a33d7c2c895dbbbd10f40ce0735b829088531627b5fd
|
File details
Details for the file hydra_dh_launcher-0.16.1b0-py3-none-any.whl.
File metadata
- Download URL: hydra_dh_launcher-0.16.1b0-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d620df919c5de0e70f7d3e11662f29d72c3fca7ce45e5e0bc4ee87c878f5e470
|
|
| MD5 |
4d44521adf787cb033edce6d1f648fe9
|
|
| BLAKE2b-256 |
0c02e19c7014c989390680a85f9fea8a976c4d5f954a25a39beda6150ce72e78
|