このチュートリアルでは、artifact のメタデータによってトリガーされる Registry オートメーションの構築方法を説明します。Registry 内の artifact に特定のエイリアス (たとえば 本番) が付与されると、W&B は webhook に POST リクエストを送信します。Documentation Index
Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
Use this file to discover all available pages before exploring further.
前提条件
Registry のオートメーションを作成する
- Registry を開き、Automations タブをクリックしてから Create automation をクリックします。
- イベント An artifact エイリアス is added を選択します。対象の エイリアス に一致する Alias regex を入力します (例: production または staging) 。
- Next step をクリックします。Action type を Webhooks に設定し、webhook を選択します。webhook がペイロードを想定している場合は、JSON 本文を貼り付け、
${artifact_collection_name}や${artifact_version_string}などの payload variables を使用します。 - Next step をクリックします。オートメーションの名前と任意の説明を入力し、Create automation をクリックします。
オートメーションをテストする
Go further
- Automation events and scopes for all project and registry event types.
- Create a Slack automation and Create a webhook automation for full UI and payload details.