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

Add simple enum support #65

Merged
merged 6 commits into from
May 2, 2022
Merged
Show file tree
Hide file tree
Changes from all 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
12 changes: 6 additions & 6 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test-pr:

test-sm:
kubectl apply --force-conflicts --server-side -f tests/servicemon-crd.yaml
cargo run --bin kopium -- -izf tests/servicemon-crd.yaml > tests/gen.rs
cargo run --bin kopium -- -izdf tests/servicemon-crd.yaml > tests/gen.rs
echo "pub type CR = ServiceMonitor;" >> tests/gen.rs
kubectl apply -f tests/servicemon.yaml
cargo test --test runner -- --nocapture
Expand Down Expand Up @@ -68,11 +68,11 @@ test-linkerd-serverauth:
cargo test --test runner -- --nocapture

test-linkerd-server:
kubectl apply --server-side -f tests/server-crd.yaml
cargo run --bin kopium -- -ibz servers.policy.linkerd.io > tests/gen.rs
echo "pub type CR = Server;" >> tests/gen.rs
kubectl apply -f tests/server.yaml
cargo test --test runner -- --nocapture
#kubectl apply --server-side -f tests/server-crd.yaml
#cargo run --bin kopium -- -ibz servers.policy.linkerd.io > tests/gen.rs
#echo "pub type CR = Server;" >> tests/gen.rs
#kubectl apply -f tests/server.yaml
#cargo test --test runner -- --nocapture

test-istio-destrule:
kubectl apply --server-side -f tests/destinationrule-crd.yaml
Expand Down
Loading