mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-11-13 09:00:38 -05:00
| .. | ||
| .gitignore | ||
| PRODUCT.yaml | ||
| README.md | ||
Reproducing Conformance Test Results
Prerequisites
Follow the docs on how to set up cloud credentials for GCP
Install kubectl for working with Kubernetes
Additionally, Sonobuoy CLI is required. These tests results were produced using Sonobuoy v0.56.10
Provision Constellation Cluster
constellation config generate gcp
Fill the config with the needed values for your cloud subscription.
Set kubernetesVersion: "1.x".
constellation config fetch-measurements
constellation create -c3 -w2 -y
constellation init --conformance
export KUBECONFIG="$PWD/constellation-admin.conf"
Run Conformance Tests
# Runs for ~2 hours.
sonobuoy run --mode certified-conformance
# Once status shows tests have completed...
sonobuoy status
# ... download & display results.
outfile=$(sonobuoy retrieve)
sonobuoy results $outfile
Fetch Test Log & Report
The provided e2e.log & junit_01.xml were fetched like this:
tar -xvf $outfile
cat plugins/e2e/results/global/e2e.log
cat plugins/e2e/results/global/junit_01.xml
Cleanup
# Remove test deployments
sonobuoy delete --wait
# Or, shutdown cluster
constellation terminate
rm constellation-mastersecret.base64