Skip to content

Commit

Permalink
Merge pull request #11 from mach-kernel/add-tests
Browse files Browse the repository at this point in the history
Add tests
  • Loading branch information
mach-kernel authored Nov 9, 2022
2 parents ad93dc7 + 91465f7 commit 0c43e7d
Show file tree
Hide file tree
Showing 16 changed files with 1,470 additions and 319 deletions.
1 change: 1 addition & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: test
args: -- --test-threads=1
- uses: actions-rs/cargo@v1
with:
command: build
Expand Down
35 changes: 32 additions & 3 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ coverY: 0

# 🦀 databricks-kube-operator

[![Rust](https://github.com/mach-kernel/databricks-kube-operator/actions/workflows/rust.yml/badge.svg?branch=master)](https://github.com/mach-kernel/databricks-kube-operator/actions/workflows/rust.yml)

A [kube-rs](https://kube.rs/) operator to enable GitOps style management of Databricks resources. It supports the following APIs:

| API | CRD |
Expand Down
2 changes: 1 addition & 1 deletion charts/databricks-kube-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.2
version: 0.1.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/databricks-kube-operator/templates/sts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
terminationGracePeriodSeconds: 10
containers:
- name: dko
image: ghcr.io/mach-kernel/databricks-kube-operator:master
image: ghcr.io/mach-kernel/databricks-kube-operator:0.1.1
imagePullPolicy: Always
env:
- name: DATABRICKS_KUBE_CONFIGMAP
Expand Down
8 changes: 6 additions & 2 deletions databricks-kube/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ path = "src/crdgen.rs"
[package]
name = "databricks_kube"
default-run = "databricks_kube"
version = "0.1.0"
version = "0.1.1"
edition = "2021"

[dependencies]
Expand All @@ -30,4 +30,8 @@ serde_yaml = "0.9.14"
schemars = { version = "0.8.11", features = ["derive"] }
tokio = { version = "1.19.2", features = ["macros", "rt-multi-thread"] }
tokio-graceful-shutdown = "0.11.1"
tokio-stream = "0.1.11"
tokio-stream = "0.1.11"

[dev-dependencies]
tower-test = "0.4.0"
hyper = "0.14.23"
Loading

0 comments on commit 0c43e7d

Please sign in to comment.