infrawrench-sdk 1.104.0 → 1.105.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/infrawrench-sdk.gemspec +4 -4
- data/lib/infrawrench/client.rb +32 -2
- data/lib/infrawrench/sdk.rb +2 -2
- data/lib/infrawrench/transport.rb +2 -2
- data/lib/infrawrench/version.rb +3 -3
- data/lib/infrawrench-sdk.rb +2 -2
- data/sig/infrawrench/sdk.rbs +17 -6
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cf54dc3f576bec535b4e08d7c293f8d67bdb1b88b9c42b0743b0b0c0a8d8fac4
|
|
4
|
+
data.tar.gz: d1a73406d4f70f48a80f976252eddf6e1ab52c9e7cefc97611f0dc85f7119a4a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f1e9964fab1d8301ecf6f7acd73fa2590fc842fcec0b5bc8f68b366045f85574c05c9d00e08a85be393ba2093e048a3c90e6802fea50dce151fcf1871dd65b96
|
|
7
|
+
data.tar.gz: 4ca5712ba6657763d414dcd4c4ca6c7491f61959586001de72d7cbb7cc438f67e3cd0066edf531d7bcf32deb91b342585bade714176d60fd86c5ed27f0357a2b
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# infrawrench-sdk
|
|
2
2
|
|
|
3
|
-
Generated Ruby client for the Infrawrench API (API version `1.
|
|
3
|
+
Generated Ruby client for the Infrawrench API (API version `1.105.0`).
|
|
4
4
|
|
|
5
5
|
**Do not edit this gem by hand** — it is regenerated from `openapi.json` and is
|
|
6
6
|
not checked into the repository. Run
|
data/infrawrench-sdk.gemspec
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.105.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.105.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -17,8 +17,8 @@ require_relative "lib/infrawrench/version"
|
|
|
17
17
|
Gem::Specification.new do |spec|
|
|
18
18
|
spec.name = "infrawrench-sdk"
|
|
19
19
|
spec.version = Infrawrench::VERSION
|
|
20
|
-
spec.summary = "Generated Ruby client for the Infrawrench API (v1.
|
|
21
|
-
spec.description = "Generated Ruby client for the Infrawrench API (v1.
|
|
20
|
+
spec.summary = "Generated Ruby client for the Infrawrench API (v1.105.0)."
|
|
21
|
+
spec.description = "Generated Ruby client for the Infrawrench API (v1.105.0). Covers the published API surface only — operations marked x-internal in the spec are not generated. No runtime dependencies."
|
|
22
22
|
spec.authors = ["Infrawrench Services, Inc.", "Astrid Gealer"]
|
|
23
23
|
spec.email = ["astrid@infrawrench.com"]
|
|
24
24
|
spec.homepage = "https://infrawrench.com/docs/team-and-billing/client-sdks"
|
data/lib/infrawrench/client.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.105.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.105.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -6228,6 +6228,36 @@ module Infrawrench
|
|
|
6228
6228
|
)
|
|
6229
6229
|
end
|
|
6230
6230
|
|
|
6231
|
+
# Cancel a CI run
|
|
6232
|
+
#
|
|
6233
|
+
# A queued run, or one waiting for its concurrency group, ends as cancelled
|
|
6234
|
+
# at once. A running one is stopped by its runner, its running jobs as a
|
|
6235
|
+
# timeout would stop them, and ends as cancelled once the runner reports it.
|
|
6236
|
+
# A run waiting for approval is rejected instead.
|
|
6237
|
+
#
|
|
6238
|
+
# _Requires permission: `ci:approve`._
|
|
6239
|
+
#
|
|
6240
|
+
# POST /api/org/{orgId}/ci/runs/{runId}/cancel
|
|
6241
|
+
#
|
|
6242
|
+
# Raises on 404: Not found
|
|
6243
|
+
#
|
|
6244
|
+
# Raises on 409: Conflict
|
|
6245
|
+
#
|
|
6246
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
6247
|
+
# constructed with.
|
|
6248
|
+
# @param run_id [String]
|
|
6249
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
6250
|
+
# @return [Hash] Parsed JSON, shaped as `CiRun` — see `sig/infrawrench/sdk.rbs`.
|
|
6251
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
6252
|
+
def cancel(run_id:, org_id: nil, request_options: nil)
|
|
6253
|
+
@transport.request(
|
|
6254
|
+
http_method: "POST",
|
|
6255
|
+
path: "/api/org/{orgId}/ci/runs/{runId}/cancel",
|
|
6256
|
+
path_params: { "orgId" => org_id, "runId" => run_id },
|
|
6257
|
+
request_options: request_options
|
|
6258
|
+
)
|
|
6259
|
+
end
|
|
6260
|
+
|
|
6231
6261
|
# A short-lived link to a file a job kept for download
|
|
6232
6262
|
#
|
|
6233
6263
|
# The link is signed for this one file for 15 minutes (less when the file
|
data/lib/infrawrench/sdk.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.105.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.105.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.105.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.105.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
data/lib/infrawrench/version.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.105.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.105.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
# Kept in its own file so the gemspec can read the version without loading the
|
|
16
16
|
# client — a gemspec that pulls in net/http is a gemspec that can fail to parse.
|
|
17
17
|
module Infrawrench
|
|
18
|
-
VERSION = "1.
|
|
18
|
+
VERSION = "1.105.0"
|
|
19
19
|
end
|
data/lib/infrawrench-sdk.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.105.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.105.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
data/sig/infrawrench/sdk.rbs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# infrawrench-sdk v1.
|
|
1
|
+
# infrawrench-sdk v1.105.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
|
|
2
2
|
# https://github.com/Infrawrench/Infrawrench
|
|
3
3
|
#
|
|
4
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
4
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.105.0).
|
|
5
5
|
#
|
|
6
6
|
# DO NOT EDIT. Regenerate with:
|
|
7
7
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -2334,7 +2334,7 @@ module Infrawrench
|
|
|
2334
2334
|
"pipeline" => String,
|
|
2335
2335
|
"id" => String,
|
|
2336
2336
|
"name" => String,
|
|
2337
|
-
"status" => "passed" | "failed" | "skipped" | "error",
|
|
2337
|
+
"status" => "passed" | "failed" | "skipped" | "error" | "cancelled",
|
|
2338
2338
|
"reason" => String | nil,
|
|
2339
2339
|
"durationMs" => Numeric | "Infinity" | "-Infinity" | "NaN" | nil,
|
|
2340
2340
|
?"needs" => Array[String],
|
|
@@ -2348,7 +2348,7 @@ module Infrawrench
|
|
|
2348
2348
|
"pipeline" => String,
|
|
2349
2349
|
"id" => String,
|
|
2350
2350
|
"name" => String,
|
|
2351
|
-
"status" => "passed" | "failed" | "skipped" | "error",
|
|
2351
|
+
"status" => "passed" | "failed" | "skipped" | "error" | "cancelled",
|
|
2352
2352
|
"reason" => String | nil,
|
|
2353
2353
|
"durationMs" => Numeric | "Infinity" | "-Infinity" | "NaN" | nil,
|
|
2354
2354
|
?"needs" => Array[String]
|
|
@@ -2383,14 +2383,24 @@ module Infrawrench
|
|
|
2383
2383
|
"githubUrl" => String,
|
|
2384
2384
|
?"retryOfRunId" => String | nil,
|
|
2385
2385
|
?"retriedAsRunId" => String | nil,
|
|
2386
|
-
?"noTaskCache" => bool
|
|
2386
|
+
?"noTaskCache" => bool,
|
|
2387
|
+
?"concurrencyGroups" => Array[String],
|
|
2388
|
+
?"cancelRequested" => bool
|
|
2387
2389
|
}
|
|
2388
2390
|
|
|
2389
2391
|
# Spec schema: `CiRunDetail`.
|
|
2390
2392
|
type ci_run_detail = { "run" => ci_run, "jobs" => Array[ci_job_output] | nil }
|
|
2391
2393
|
|
|
2392
2394
|
# Spec schema: `CiRunStatus`.
|
|
2393
|
-
type ci_run_status = "awaiting_approval"
|
|
2395
|
+
type ci_run_status = "awaiting_approval"
|
|
2396
|
+
| "queued"
|
|
2397
|
+
| "pending"
|
|
2398
|
+
| "running"
|
|
2399
|
+
| "passed"
|
|
2400
|
+
| "failed"
|
|
2401
|
+
| "error"
|
|
2402
|
+
| "rejected"
|
|
2403
|
+
| "cancelled"
|
|
2394
2404
|
|
|
2395
2405
|
# Spec schema: `CiSecret`.
|
|
2396
2406
|
type ci_secret = { "name" => String, "updatedAt" => String }
|
|
@@ -15979,6 +15989,7 @@ module Infrawrench
|
|
|
15979
15989
|
class CiRunsNamespace
|
|
15980
15990
|
def initialize: (Transport) -> void
|
|
15981
15991
|
def approve: (run_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
15992
|
+
def cancel: (run_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_run
|
|
15982
15993
|
def download: (run_id: String, job: String, path: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_download_link
|
|
15983
15994
|
def get: (?org_id: String?, ?status: ci_run_status?, ?limit: Integer?, ?request_options: Hash[Symbol, untyped]?) -> { "runs" => Array[ci_run] }
|
|
15984
15995
|
def get_org_org_id_ci_runs_run_id: (run_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_run_detail
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: infrawrench-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.105.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Infrawrench Services, Inc.
|
|
@@ -11,7 +11,7 @@ bindir: bin
|
|
|
11
11
|
cert_chain: []
|
|
12
12
|
date: 2026-11-12 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
|
-
description: Generated Ruby client for the Infrawrench API (v1.
|
|
14
|
+
description: Generated Ruby client for the Infrawrench API (v1.105.0). Covers the
|
|
15
15
|
published API surface only — operations marked x-internal in the spec are not generated.
|
|
16
16
|
No runtime dependencies.
|
|
17
17
|
email:
|
|
@@ -58,5 +58,5 @@ requirements: []
|
|
|
58
58
|
rubygems_version: 3.5.22
|
|
59
59
|
signing_key:
|
|
60
60
|
specification_version: 4
|
|
61
|
-
summary: Generated Ruby client for the Infrawrench API (v1.
|
|
61
|
+
summary: Generated Ruby client for the Infrawrench API (v1.105.0).
|
|
62
62
|
test_files: []
|