Skip to content

Commit

Permalink
Merge branch '090424/job-status-run-duration-bug'
Browse files Browse the repository at this point in the history
  • Loading branch information
mach-kernel committed Sep 4, 2024
2 parents 3fa9295 + 970e529 commit e47402d
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- id: tag
name: Read HEAD tag
run: echo "tag=$(git tag --points-at HEAD | head -1)" >> $GITHUB_OUTPUT
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
Expand All @@ -58,6 +61,7 @@ jobs:
tags: |
type=raw,value=latest
type=raw,value=${{ github.ref_name }}
type=raw,value=${{ steps.tag.outputs.tag }}
- uses: actions/download-artifact@v4
with:
name: crd_gen
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions charts/databricks-kube-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: 0.8.3
appVersion: 0.8.4
name: databricks-kube-operator
description: A kube-rs operator for managing Databricks API resources
version: 0.9.4
version: 0.9.5

home: https://github.com/mach-kernel/databricks-kube-operator
sources:
Expand Down
2 changes: 1 addition & 1 deletion databricks-rust-jobs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "databricks_rust_jobs"
version = "2.1.3"
version = "2.1.4"
authors = ["OpenAPI Generator team and contributors"]
description = "The Jobs API allows you to create, edit, and delete jobs. You should never hard code secrets or store them in plain text. Use the [Secrets API](https://docs.databricks.com/dev-tools/api/latest/secrets.html) to manage secrets in the [Databricks CLI](https://docs.databricks.com/dev-tools/cli/index.html). Use the [Secrets utility](https://docs.databricks.com/dev-tools/databricks-utils.html#dbutils-secrets) to reference secrets in notebooks and jobs."
# Override this license by providing a License Object in the OpenAPI.
Expand Down
2 changes: 1 addition & 1 deletion databricks-rust-jobs/docs/JobsRunsGet200Response.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Name | Type | Description | Notes
**execution_duration** | Option<**i64**> | The time in milliseconds it took to execute the commands in the JAR or notebook until they completed, failed, timed out, were cancelled, or encountered an unexpected error. The duration of a task run is the sum of the `setup_duration`, `execution_duration`, and the `cleanup_duration`. The `execution_duration` field is set to 0 for multitask job runs. The total duration of a multitask job run is the value of the `run_duration` field. | [optional]
**cleanup_duration** | Option<**i64**> | The time in milliseconds it took to terminate the cluster and clean up any associated artifacts. The duration of a task run is the sum of the `setup_duration`, `execution_duration`, and the `cleanup_duration`. The `cleanup_duration` field is set to 0 for multitask job runs. The total duration of a multitask job run is the value of the `run_duration` field. | [optional]
**end_time** | Option<**i64**> | The time at which this run ended in epoch milliseconds (milliseconds since 1/1/1970 UTC). This field is set to 0 if the job is still running. | [optional]
**run_duration** | Option<**i32**> | The time in milliseconds it took the job run and all of its repairs to finish. This field is only set for multitask job runs and not task runs. The duration of a task run is the sum of the `setup_duration`, `execution_duration`, and the `cleanup_duration`. | [optional]
**run_duration** | Option<**i64**> | The time in milliseconds it took the job run and all of its repairs to finish. This field is only set for multitask job runs and not task runs. The duration of a task run is the sum of the `setup_duration`, `execution_duration`, and the `cleanup_duration`. | [optional]
**trigger** | Option<[**crate::models::TriggerType**](TriggerType.md)> | | [optional]
**run_name** | Option<**String**> | An optional name for the run. The maximum allowed length is 4096 bytes in UTF-8 encoding. | [optional][default to Untitled]
**run_page_url** | Option<**String**> | The URL to the detail page of the run. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion databricks-rust-jobs/docs/Run.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Name | Type | Description | Notes
**execution_duration** | Option<**i64**> | The time in milliseconds it took to execute the commands in the JAR or notebook until they completed, failed, timed out, were cancelled, or encountered an unexpected error. The duration of a task run is the sum of the `setup_duration`, `execution_duration`, and the `cleanup_duration`. The `execution_duration` field is set to 0 for multitask job runs. The total duration of a multitask job run is the value of the `run_duration` field. | [optional]
**cleanup_duration** | Option<**i64**> | The time in milliseconds it took to terminate the cluster and clean up any associated artifacts. The duration of a task run is the sum of the `setup_duration`, `execution_duration`, and the `cleanup_duration`. The `cleanup_duration` field is set to 0 for multitask job runs. The total duration of a multitask job run is the value of the `run_duration` field. | [optional]
**end_time** | Option<**i64**> | The time at which this run ended in epoch milliseconds (milliseconds since 1/1/1970 UTC). This field is set to 0 if the job is still running. | [optional]
**run_duration** | Option<**i32**> | The time in milliseconds it took the job run and all of its repairs to finish. This field is only set for multitask job runs and not task runs. The duration of a task run is the sum of the `setup_duration`, `execution_duration`, and the `cleanup_duration`. | [optional]
**run_duration** | Option<**i64**> | The time in milliseconds it took the job run and all of its repairs to finish. This field is only set for multitask job runs and not task runs. The duration of a task run is the sum of the `setup_duration`, `execution_duration`, and the `cleanup_duration`. | [optional]
**trigger** | Option<[**crate::models::TriggerType**](TriggerType.md)> | | [optional]
**run_name** | Option<**String**> | An optional name for the run. The maximum allowed length is 4096 bytes in UTF-8 encoding. | [optional][default to Untitled]
**run_page_url** | Option<**String**> | The URL to the detail page of the run. | [optional]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pub struct JobsRunsGet200Response {
pub end_time: Option<i64>,
/// The time in milliseconds it took the job run and all of its repairs to finish. This field is only set for multitask job runs and not task runs. The duration of a task run is the sum of the `setup_duration`, `execution_duration`, and the `cleanup_duration`.
#[serde(rename = "run_duration", skip_serializing_if = "Option::is_none")]
pub run_duration: Option<i32>,
pub run_duration: Option<i64>,
#[serde(rename = "trigger", skip_serializing_if = "Option::is_none")]
pub trigger: Option<crate::models::TriggerType>,
/// An optional name for the run. The maximum allowed length is 4096 bytes in UTF-8 encoding.
Expand Down
2 changes: 1 addition & 1 deletion databricks-rust-jobs/src/models/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pub struct Run {
pub end_time: Option<i64>,
/// The time in milliseconds it took the job run and all of its repairs to finish. This field is only set for multitask job runs and not task runs. The duration of a task run is the sum of the `setup_duration`, `execution_duration`, and the `cleanup_duration`.
#[serde(rename = "run_duration", skip_serializing_if = "Option::is_none")]
pub run_duration: Option<i32>,
pub run_duration: Option<i64>,
#[serde(rename = "trigger", skip_serializing_if = "Option::is_none")]
pub trigger: Option<crate::models::TriggerType>,
/// An optional name for the run. The maximum allowed length is 4096 bytes in UTF-8 encoding.
Expand Down

0 comments on commit e47402d

Please sign in to comment.