-
Notifications
You must be signed in to change notification settings - Fork 16
fix: add pr-preview for testing env #350
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
base: main
Are you sure you want to change the base?
Conversation
…ama-ai/kms into fred/feat/add-devspace-for-dev-testing
Vulnerability Scan ResultsDetails |
…ama-ai/kms into fred/feat/add-devspace-for-dev-testing
|
🚀 PR preview environment is deployed in "threshold" mode You can now port-forward the kms-core to run your tests locally against the preview environment. tailscale configure kubeconfig tailscale-operator-zws-dev.diplodocus-boa.ts.net
kubectl port-forward svc/kms-core-1-core-1 -n "kms-ci-fegmorte-350" 50100:50100 & \
kubectl port-forward svc/kms-core-2-core-2 -n "kms-ci-fegmorte-350" 50200:50100 & \
kubectl port-forward svc/kms-core-3-core-3 -n "kms-ci-fegmorte-350" 50300:50100 & \
kubectl port-forward svc/kms-core-4-core-4 -n "kms-ci-fegmorte-350" 50400:50100 &And launch your tests: cargo nextest run --test <your-test-name>You can connect to the core-client with: kubectl exec kms-core-client -n "kms-ci-fegmorte-350" -it -- /bin/bash |
|
🚀 PR preview environment is deployed in "thresholdWithEnclave" mode You can now port-forward the kms-core to run your tests locally against the preview environment. tailscale configure kubeconfig tailscale-operator-zws-dev.diplodocus-boa.ts.net
kubectl port-forward svc/kms-core-1-core-1 -n "kms-ci-fegmorte-350" 50100:50100 & \
kubectl port-forward svc/kms-core-2-core-2 -n "kms-ci-fegmorte-350" 50200:50100 & \
kubectl port-forward svc/kms-core-3-core-3 -n "kms-ci-fegmorte-350" 50300:50100 & \
kubectl port-forward svc/kms-core-4-core-4 -n "kms-ci-fegmorte-350" 50400:50100 &And launch your tests: cargo nextest run --test <your-test-name>You can connect to the core-client with: kubectl exec kms-core-client -n "kms-ci-fegmorte-350" -it -- /bin/bash |
|
🚀 PR preview environment is deployed in "threshold" mode You can now port-forward the kms-core to run your tests locally against the preview environment. tailscale configure kubeconfig tailscale-operator-zws-dev.diplodocus-boa.ts.net
kubectl port-forward svc/kms-core-1-core-1 -n "kms-ci-fegmorte-350" 50100:50100 & \
kubectl port-forward svc/kms-core-2-core-2 -n "kms-ci-fegmorte-350" 50200:50100 & \
kubectl port-forward svc/kms-core-3-core-3 -n "kms-ci-fegmorte-350" 50300:50100 & \
kubectl port-forward svc/kms-core-4-core-4 -n "kms-ci-fegmorte-350" 50400:50100 &And launch your tests: cargo nextest run --test <your-test-name>You can connect to the core-client with: kubectl exec kms-core-client -n "kms-ci-fegmorte-350" -it -- /bin/bash |
|
🚀 PR preview environment is deployed in "thresholdWithEnclave" mode You can now port-forward the kms-core to run your tests locally against the preview environment. tailscale configure kubeconfig tailscale-operator-zws-dev.diplodocus-boa.ts.net
kubectl port-forward svc/kms-core-1-core-1 -n "kms-ci-fegmorte-350" 50100:50100 & \
kubectl port-forward svc/kms-core-2-core-2 -n "kms-ci-fegmorte-350" 50200:50100 & \
kubectl port-forward svc/kms-core-3-core-3 -n "kms-ci-fegmorte-350" 50300:50100 & \
kubectl port-forward svc/kms-core-4-core-4 -n "kms-ci-fegmorte-350" 50400:50100 &And launch your tests: cargo nextest run --test <your-test-name>You can connect to the core-client with: kubectl exec kms-core-client -n "kms-ci-fegmorte-350" -it -- /bin/bash |
|
🚀 PR preview environment is deployed in "threshold" mode You can now port-forward the kms-core to run your tests locally against the preview environment. tailscale configure kubeconfig tailscale-operator-zws-dev.diplodocus-boa.ts.net
"kubectl port-forward svc/kms-core-1-core-1 -n "kms-ci-fegmorte-350" 50100:50100 & \
kubectl port-forward svc/kms-core-2-core-2 -n "kms-ci-fegmorte-350" 50200:50100 & \
kubectl port-forward svc/kms-core-3-core-3 -n "kms-ci-fegmorte-350" 50300:50100 & \
kubectl port-forward svc/kms-core-4-core-4 -n "kms-ci-fegmorte-350" 50400:50100 &"Copy config.toml from core-client to ./core-client/config/"client_local_threshold.toml" kubectl cp "kms-ci-fegmorte-350"/kms-core-client-0:/app/kms-core-client/config.toml ./core-client/config/"client_local_threshold.toml"And launch your tests: cargo nextest run --test "kubernetes_test_threshold" --profile ci --no-fail-fastYou can connect to the core-client with: kubectl exec kms-core-client -n "kms-ci-fegmorte-350" -it -- /bin/bashClose your port-forwarding with: pgrep -f "kubectl port-forward" | xargs -n 1 kill |
Description of changes
Issue ticket number and link
PR Checklist
I attest that all checked items are satisfied. Any deviation is clearly justified above.
chore: ...).TODO(#issue).unwrap/expect/paniconly in tests or for invariant bugs (documented if present).devopslabel + infra notified + infra-team reviewer assigned.!and affected teams notified.Zeroize+ZeroizeOnDropimplemented.unsafe; if unavoidable: minimal, justified, documented, and test/fuzz covered.Dependency Update Questionnaire (only if deps changed or added)
Answer in the
Cargo.tomlnext to the dependency (or here if updating):More details and explanations for the checklist and dependency updates can be found in CONTRIBUTING.md