Skip to content

Commit

Permalink
[cicd] rename cicd.worker.state down -> offline, idle -> available
Browse files Browse the repository at this point in the history
  • Loading branch information
christophe-kamphaus-jemmic committed Jan 22, 2025
1 parent 2b487a3 commit 88e1c25
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/attributes-registry/cicd.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ This group describes attributes specific to pipelines within a Continuous Integr

| Value | Description | Stability |
|---|---|---|
| `available` | The worker is not performing work for the CICD system. It is available to the CICD system to perform work on (online / idle). [1] | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `busy` | The worker is performing work for the CICD system. | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `down` | The worker is not available to the CICD system (disconnected / down). | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `idle` | The worker is not performing work for the CICD system. It is available to the CICD system to perform work on. [1] | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `offline` | The worker is not available to the CICD system (disconnected / down). | ![Experimental](https://img.shields.io/badge/-experimental-blue) |

**[1]:** Pipelines might have conditions on which workers they are able to run so not every worker might be available to every pipeline.
4 changes: 2 additions & 2 deletions docs/cicd/cicd-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,9 @@ This metric is [recommended][MetricRecommended].

| Value | Description | Stability |
|---|---|---|
| `available` | The worker is not performing work for the CICD system. It is available to the CICD system to perform work on (online / idle). [1] | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `busy` | The worker is performing work for the CICD system. | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `down` | The worker is not available to the CICD system (disconnected / down). | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `idle` | The worker is not performing work for the CICD system. It is available to the CICD system to perform work on. [1] | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `offline` | The worker is not available to the CICD system (disconnected / down). | ![Experimental](https://img.shields.io/badge/-experimental-blue) |

**[1]:** Pipelines might have conditions on which workers they are able to run so not every worker might be available to every pipeline.

Expand Down
10 changes: 5 additions & 5 deletions model/cicd/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,19 +132,19 @@ groups:
- id: cicd.worker.state
type:
members:
- id: idle
value: idle
- id: available
value: available
brief: >-
The worker is not performing work for the CICD system.
It is available to the CICD system to perform work on.
It is available to the CICD system to perform work on (online / idle).
note: "Pipelines might have conditions on which workers they are able to run so not every worker might be available to every pipeline."
stability: experimental
- id: busy
value: busy
brief: "The worker is performing work for the CICD system."
stability: experimental
- id: down
value: down
- id: offline
value: offline
brief: "The worker is not available to the CICD system (disconnected / down)."
stability: experimental
stability: experimental
Expand Down

0 comments on commit 88e1c25

Please sign in to comment.