
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
.. image:: https://img.shields.io/pypi/v/container-hub.svg :target: https://pypi.python.org/pypi/container-hub
.. image:: https://github.com/nens/container-hub/workflows/Python%20application/badge.svg?branch=master :target: https://github.com/nens/container-hub/actions?query=branch%3Amaster .. image:: https://pyup.io/repos/github/nens/container-hub/shield.svg :target: https://pyup.io/repos/github/nens/container-hub/ :alt: Updates
Spiritual successor of the machine manager. Main purpose is starting and stopping threedi simulation containers.
The container hub solely exposes two functions, up()
and down()
in backend classes.
A backend class can be imported via the `get_backend`` helper function
from container_hub import get_backend
backend = get_backend(settings) # settings is either simple-settings/Django settings or similar object.
Based on provided settings this gives you a carrier backend,
either from the container_hub.carriers.marathon.backend
or the
container_hub.carriers.docker.backend
.
This package was created with Cookiecutter_ and the audreyr/cookiecutter-pypackage
_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _audreyr/cookiecutter-pypackage
: https://github.com/audreyr/cookiecutter-pypackage
Kubernetes job should only run once.
Allow size limit on EmptyDirVolumeSource
.
annotations
and resources
(limits/requests).EmptyDirVolumeSource
with name "shared-data" between simulation and scheduler container.scheduler-worker
container in Kubernetes.Automically remove pod under job.
Add the option of opening a debug port for the docker backend.
imagePullSecrets
, NodeAffinity
and Resources
options for Kubernetes simulation Job
.container_list()
needs to return simulation-id's only.up
function envs
parameter.gridadmin_download_url
and tables_download_url
parameters
are both given.gridadmin_download_url
and tables_download_url
parameters
to the up()
functionRemoved threedi-api-client as requirement.
Added a pypi release pipeline to github action workflow.
up()
function.mem
must be string for marathon strange enough.pause_timeout
arg to the up()
function.Use a generic envs
arg that will set the container env variables.
Added args sim_uid, sim_ref_datetime, end_time, duration and start_mode
to
container CMD.
ImportErrors
for simple settings.FAQs
The 3Di simulation container hub
We found that container-hub demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.