コンテンツにスキップ
これは最新の機能を備えた最新リリースですが、長期サポートは提供されません。サポートを継続するには、新しいリリースごとにアップグレードするか、四半期ごとの安定版リリースをご利用ください。

For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.

arctl wait

Page as Markdown

レジストリリソースが目標状態に到達するまで待機します

レジストリリソースが目標状態に到達するまで、またはタイムアウトが期限切れになるまでポーリングして待機します。

サポートされるのはデプロイのみです。終了コード:

0 デプロイがリクエストされた状態に達しました。1 デプロイが別の終端状態に達した、存在しない、またはタイムアウトを超過しました。

タイムアウトの動作:

-timeout=5m (既定) 最大 5 分間待機します。-timeout=0 一度だけポーリングして現在の状態を返します。-timeout=-1 無期限に待機します。

使用方法

arctl wait TYPE NAME [flags]

例:

arctl wait deployment aws-v1
arctl wait deployment team-a/aws-v1
arctl wait deployment aws-v1 --for=failed
arctl wait deployment aws-v1 --for=delete --timeout=10m

コマンド固有のフラグ

--for string: Target state to wait for: deployed, failed, undeployed, delete (default "deployed").
--timeout duration: Maximum time to wait. 0 polls once and exits; negative waits forever. (default 5m0s).

グローバルフラグ

-h, --help: Display help information for the command.
--registry-token string: Registry bearer token (defaults to value of ARCTL_API_TOKEN env var).
--registry-url string: Registry URL (overrides ARCTL_API_BASE_URL env var; defaults to http://localhost:12121).