本页面为机器翻译。阅读英文原文。

Recipe

task-cloud-run

The generic ephemeral compute primitive as one Cloud Run job running the Release's image to completion, on the catalog's shared Cloud Run body. Reach for it in a Google Cloud project with a VPC network; for terraform/task-ecs or cloudformation/task-ecs in an AWS account, terraform/task-container-apps in an Azure subscription, and helm/task on Kubernetes, which also runs a task with no schedule once. A scheduled task is started by a Cloud Scheduler job on its schedule, read in UTC unless infra.overrides.time_zone names another time zone. A task with no schedule carrying core/manual-trigger is deployed without starting, and the operator starts each run with gcloud run jobs execute; any other unscheduled task is refused by name, as this Recipe starts no run when the configuration is applied. The project, region, VPC network and service account are the operator's, each required under infra.overrides; a subnet and network tags are optional. Beside the job and its scheduler job, only a Secret Manager secret and its version for each file the component is handed are emitted: no service account, IAM binding, network or firewall rule. Each env entry an inject block dictates becomes a container variable and each file entry a file mounted alone from a secret volume; timeout arrives by default as TASK_TIMEOUT, for the code to honour. Cloud Run stops each attempt of the task at the job's task timeout, 10 minutes unless infra.overrides.timeout sets another, whatever timeout says. The job runs at the smallest whole-vCPU size meeting infra.compute; an infra.overrides key this Recipe does not read halts.

来源

官方由本目录认定为官方发布者的签名身份签名。
内容摘要
sha256:6be0252f9d2ad8dd11f3b0d0825e0535d3922dc7b72a7d2d88a4d11f9d229aed
发布时间
2026-11-23T02:47:13Z
签名身份
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:018692a122cc737258157eabf717992f26bfecbe69483c007b175de0b4f1a91b

此版本的引用

oci://hub.aggrega.ai/recipe/terraform/task-cloud-run:1.0.0
目标
—
实现
core/compute/task:1.0.1

提供

此配方为使用方接入的确定性指针模板。

未声明 provides 模板。

Workload

未声明工作负载模板。

局部变量

名称模板
value_env{"values.timeout": "TASK_TIMEOUT"}

值映射

名称模板
$importCloudRunArguments#/mappings/JobArguments

关系

与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。

使用

被使用

目录中没有任何内容依赖此实体。

Recipe 概念参考

Aggrega 目录 — 收录组件、功能、配方以及渲染它们的插件的开放索引。

基于共享的 Aggrega 设计系统构建。

隐私