यह पेज मशीन से अनुवादित है। अंग्रेज़ी मूल पढ़ें।

Recipe

task

The generic ephemeral compute primitive on Docker Compose: one service running infra.image to completion, with restart set to no, so Compose never starts it again when it exits. Reach for helm/task on Kubernetes, which also runs a task on a schedule. With nothing attached, the service runs once each time the stack is started with docker compose up. With core/manual-trigger attached, it carries the profile manual, so docker compose up leaves it stopped and each run is one someone starts with docker compose run --rm <service>, the service named after the component. A task with a schedule is refused by name, as Docker Compose has no scheduler. The service is sized from infra.compute and publishes no port. The developer's timeout value reaches the container as TASK_TIMEOUT by default for the application's own code to honour, as Compose sets no deadline on a run. An edge's inject block dictates what reaches the container: each env entry a variable under that name, beside TASK_TIMEOUT, which no edge may dictate while it is the default, and each file entry a file from a Compose config. The component's own inject block delivers env entries the same way, and one reading timeout alone replaces TASK_TIMEOUT, its default name. An arg entry, or any other mechanism, is refused by name: the recipe renders no command line.

संस्करण

1.0.01.0.1

प्रोवेनेंस

आधिकारिकऐसी हस्ताक्षर आइडेंटिटी द्वारा हस्ताक्षरित, जिसे यह कैटलॉग आधिकारिक प्रकाशक के रूप में मान्यता देता है।
सामग्री डाइजेस्ट
sha256:d26d8129bdf7b3ae49ed0cb83c3cdb1cb768e8378e1cba79926798cf29267ce5
प्रकाशित
2026-11-15T08:09:30Z
हस्ताक्षर आइडेंटिटी
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

हस्ताक्षर

  • आधिकारिकapplication/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:ae0e7d37f7364bfc07f288a81545afa2af0891bc40185cc3dde00ebad88d3185

इस संस्करण का रेफ़रेंस

oci://hub.aggrega.ai/recipe/compose/task:1.0.1
लक्ष्य
—
इम्प्लीमेंट करता है
core/compute/task:1.0.1

प्रदान करता है

नियतात्मक पॉइंटर टेम्पलेट, जिन्हें यह रेसिपी उपभोक्ताओं के लिए वायर करती है।

कोई provides टेम्पलेट घोषित नहीं है।

Workload

कोई वर्कलोड टेम्पलेट घोषित नहीं है।

लोकल मान

नामटेम्पलेट
instance_id{{ .context.instance_id }}
cpu_millicores{{- $c := toString (optional (optional .infra "compute" dict) "cpu" "") -}} {{- if regexMatch `^[0-9]+m task 1.0.1 · Aggrega कैटलॉग $c -}}{{ atoi (trimSuffix "m" $c) }} {{- else if regexMatch `^[0-9]+(\.[0-9]{1,3})? task 1.0.1 · Aggrega कैटलॉग $c -}} {{- $p := splitList "." $c -}}{{- $f := 0 -}} {{- if eq (len $p) 2 }}{{ $f = atoi (substr 0 3 (printf "%s000" (index $p 1))) }}{{ end -}} {{- add (mul (atoi (index $p 0)) 1000) $f -}} {{- end -}}
memory_mib{{- $m := toString (optional (optional .infra "compute" dict) "memory" "") -}} {{- if regexMatch `^[0-9]+Mi task 1.0.1 · Aggrega कैटलॉग $m -}}{{ atoi (trimSuffix "Mi" $m) }} {{- else if regexMatch `^[0-9]+Gi task 1.0.1 · Aggrega कैटलॉग $m -}}{{ mul (atoi (trimSuffix "Gi" $m)) 1024 }} {{- end -}}
cpus{{- $mc := atoi (toString .locals.cpu_millicores) -}} {{- if mod $mc 1000 -}}{{ printf "%d.%03d" (div $mc 1000) (mod $mc 1000) | trimSuffix "0" | trimSuffix "0" }} {{- else -}}{{ div $mc 1000 }} {{- end -}}
memory_bytes{{ mul (atoi (toString .locals.memory_mib)) 1048576 }}

मान-मैपिंग

कोई मान-मैपिंग घोषित नहीं है।

संबंध

अन्य प्रकाशित एंटिटी की ओर जाने वाले और उनसे आने वाले टाइप किए गए एज। जिस रेफ़रेंस का कोई प्रकाशित लक्ष्य नहीं है, वह लिंक के बजाय टूटे हुए एज के रूप में दिखाया जाता है।

इनका उपयोग करता है

  • इम्प्लीमेंट करता हैइम्प्लीमेंट करता है

    core/compute/task:1.0.1

इनके द्वारा उपयोग किया जाता है

कैटलॉग में कुछ भी इस एंटिटी पर निर्भर नहीं है।

Recipe का अवधारणा संदर्भ

Aggrega कैटलॉग — घटकों, फ़ीचरों, रेसिपियों और उन्हें रेंडर करने वाले प्लगइनों का एक खुला इंडेक्स।

साझा Aggrega डिज़ाइन सिस्टम से बनाया गया।

गोपनीयता