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

Handle maps to structs in schema #37

Merged
merged 7 commits into from
Mar 2, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
failing tests for cluster crd
Signed-off-by: clux <sszynrae@gmail.com>
  • Loading branch information
clux committed Mar 1, 2022
commit 92f915bcfa02e3baa433ef7fecce040cb4116573
8 changes: 7 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SEMVER_VERSION := `grep version Cargo.toml | awk -F"\"" '{print $2}' | head -n 1
default:
@just --list --unsorted | grep -v " default"

test: test-pr test-mv test-argo test-agent
test: test-pr test-mv test-argo test-agent test-certmanager test-cluster

test-pr:
kubectl apply --force-conflicts --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.52.0/example/prometheus-operator-crd/monitoring.coreos.com_prometheusrules.yaml
Expand Down Expand Up @@ -43,5 +43,11 @@ test-certmanager:
kubectl apply -f tests/cert.yaml
cargo test --test runner -- --nocapture

test-cluster:
kubectl apply -f tests/cluster-crd.yaml
cargo run --bin kopium -- clusters.cluster.x-k8s.io > tests/gen.rs
echo "pub type CR = Cluster;" >> tests/gen.rs
cargo test --test runner -- --nocapture

release:
cargo release minor --execute
Loading