Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blewis/skip locks #483

Merged
merged 3 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions components/schemas/pipelines/runs/PipelineRun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ properties:
pipeline_id:
type: string
description: The ID for the pipeline this run belongs to.
sub_queue:
description: Describes the sub queue defined during pipeline trigger, if present.
type:
- string
- "null"
skip_locks:
description: Describes if a skip lock was defined during pipeline trigger.
type: boolean
stages:
type: array
description: An array of pipeline stages.
Expand Down
7 changes: 7 additions & 0 deletions platform/paths/pipelines/trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ post:
type:
- string
- "null"
skip_locks:
description: |
To enable skip locks, pass the current UNIX timestamp. Must be accurate within 10 minutes of the current UTC time.
This will skip lock checks when running a pipeline - the user takes all risk of ensuring two pipeline runs won't make conflicting changes.
type:
- int
- "null"
responses:
201:
description: Returns a Pipeline.
Expand Down
Loading