From 1828dfe43a1cf6df40f007946e496e6c0c8fce4c Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Tue, 17 Feb 2026 14:18:49 +0000 Subject: [PATCH] feat: update generated APIs --- cmd/scw/testdata/test-all-usage-jobs-run-list-usage.golden | 4 ++-- docs/commands/jobs.md | 4 ++-- go.mod | 2 +- go.sum | 4 ++-- internal/namespaces/jobs/v1alpha2/jobs_cli.go | 2 ++ 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/cmd/scw/testdata/test-all-usage-jobs-run-list-usage.golden b/cmd/scw/testdata/test-all-usage-jobs-run-list-usage.golden index fdd9d76eb0..63fb1dc28a 100644 --- a/cmd/scw/testdata/test-all-usage-jobs-run-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-jobs-run-list-usage.golden @@ -9,8 +9,8 @@ ARGS: [order-by] (created_at_asc | created_at_desc) [job-definition-id] [project-id] - [state] (unknown_state | initialized | validated | queued | running | succeeded | failed | interrupting | interrupted) - [states.{index}] (unknown_state | initialized | validated | queued | running | succeeded | failed | interrupting | interrupted) + [state] (unknown_state | initialized | validated | queued | running | succeeded | failed | interrupting | interrupted | retrying) + [states.{index}] (unknown_state | initialized | validated | queued | running | succeeded | failed | interrupting | interrupted | retrying) [reasons.{index}] (unknown_reason | invalid_request | timeout | cancellation | technical_error | image_not_found | invalid_image | memory_usage_exceeded | storage_usage_exceeded | exited_with_error | secret_disabled | secret_not_found | quota_exceeded) [organization-id] [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw | all) diff --git a/docs/commands/jobs.md b/docs/commands/jobs.md index 4234557204..551b64baca 100644 --- a/docs/commands/jobs.md +++ b/docs/commands/jobs.md @@ -223,8 +223,8 @@ scw jobs run list [arg=value ...] | order-by | One of: `created_at_asc`, `created_at_desc` | | | job-definition-id | | | | project-id | | | -| state | One of: `unknown_state`, `initialized`, `validated`, `queued`, `running`, `succeeded`, `failed`, `interrupting`, `interrupted` | | -| states.{index} | One of: `unknown_state`, `initialized`, `validated`, `queued`, `running`, `succeeded`, `failed`, `interrupting`, `interrupted` | | +| state | One of: `unknown_state`, `initialized`, `validated`, `queued`, `running`, `succeeded`, `failed`, `interrupting`, `interrupted`, `retrying` | | +| states.{index} | One of: `unknown_state`, `initialized`, `validated`, `queued`, `running`, `succeeded`, `failed`, `interrupting`, `interrupted`, `retrying` | | | reasons.{index} | One of: `unknown_reason`, `invalid_request`, `timeout`, `cancellation`, `technical_error`, `image_not_found`, `invalid_image`, `memory_usage_exceeded`, `storage_usage_exceeded`, `exited_with_error`, `secret_disabled`, `secret_not_found`, `quota_exceeded` | | | organization-id | | | | region | Default: `fr-par`
One of: `fr-par`, `nl-ams`, `pl-waw`, `all` | Region to target. If none is passed will use default region from the config | diff --git a/go.mod b/go.mod index fe417bd6e7..f6a576877b 100644 --- a/go.mod +++ b/go.mod @@ -24,7 +24,7 @@ require ( github.com/moby/buildkit v0.27.1 github.com/moby/go-archive v0.2.0 github.com/opencontainers/go-digest v1.0.0 - github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260210093719-f1d8b14bd589 + github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260216140602-016f04e8505d github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 github.com/spf13/cobra v1.10.2 github.com/spf13/pflag v1.0.10 diff --git a/go.sum b/go.sum index 1754ad0918..4fde2202be 100644 --- a/go.sum +++ b/go.sum @@ -468,8 +468,8 @@ github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7 github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260210093719-f1d8b14bd589 h1:0WldDDnmP03x+tVge+bYAfUnGtYcqADBtw7mqsDWTPc= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260210093719-f1d8b14bd589/go.mod h1:Ysemk+aTe1WHMoiLx50yZHpMS+v4vYljt+QbCMAKsVA= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260216140602-016f04e8505d h1:0LuW1N/w+ordwEY6kfPlyPbIp2R0NQ319O90SUBVnX0= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260216140602-016f04e8505d/go.mod h1:Ysemk+aTe1WHMoiLx50yZHpMS+v4vYljt+QbCMAKsVA= github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8= github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM= github.com/secure-systems-lab/go-securesystemslib v0.9.1 h1:nZZaNz4DiERIQguNy0cL5qTdn9lR8XKHf4RUyG1Sx3g= diff --git a/internal/namespaces/jobs/v1alpha2/jobs_cli.go b/internal/namespaces/jobs/v1alpha2/jobs_cli.go index 30e29473ef..7546fb60e6 100644 --- a/internal/namespaces/jobs/v1alpha2/jobs_cli.go +++ b/internal/namespaces/jobs/v1alpha2/jobs_cli.go @@ -600,6 +600,7 @@ func jobsRunList() *core.Command { "failed", "interrupting", "interrupted", + "retrying", }, }, { @@ -617,6 +618,7 @@ func jobsRunList() *core.Command { "failed", "interrupting", "interrupted", + "retrying", }, }, {