From 45dba96e319b3402bbbf6e465e72e83a5c4c253d Mon Sep 17 00:00:00 2001 From: Thomas Tendyck Date: Tue, 25 Oct 2022 09:52:16 +0200 Subject: [PATCH] remove conformance folder --- .github/docs/layout.md | 1 - conformance/.gitignore | 2 -- conformance/PRODUCT.yaml | 9 ------- conformance/README.md | 58 ---------------------------------------- 4 files changed, 70 deletions(-) delete mode 100644 conformance/.gitignore delete mode 100644 conformance/PRODUCT.yaml delete mode 100644 conformance/README.md diff --git a/.github/docs/layout.md b/.github/docs/layout.md index 7ef135736..3939b45bf 100644 --- a/.github/docs/layout.md +++ b/.github/docs/layout.md @@ -13,7 +13,6 @@ Core components: Development components: * [3rdparty](/3rdparty): Contains the third party dependencies used by Constellation -* [conformance](/conformance): Kubernetes conformance tests * [debugd](/debugd): Debug daemon and client * [hack](/hack): Development tools * [proto](/proto): Proto files generator diff --git a/conformance/.gitignore b/conformance/.gitignore deleted file mode 100644 index 342d4dc92..000000000 --- a/conformance/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -e2e.log -junit_01.xml diff --git a/conformance/PRODUCT.yaml b/conformance/PRODUCT.yaml deleted file mode 100644 index 1e6d514a9..000000000 --- a/conformance/PRODUCT.yaml +++ /dev/null @@ -1,9 +0,0 @@ -vendor: Edgeless Systems -name: Constellation -version: v2.1.0 -website_url: https://www.edgeless.systems/products/constellation/ -documentation_url: https://docs.edgeless.systems/constellation -product_logo_url: https://docs.edgeless.systems/constellation/img/logos/constellation_white_bg.svg -repo_url: https://github.com/edgelesssys/constellation -type: distribution -description: Constellation leverages confidential computing to isolate entire Kubernetes clusters from the infrastructure. diff --git a/conformance/README.md b/conformance/README.md deleted file mode 100644 index 104fb9e29..000000000 --- a/conformance/README.md +++ /dev/null @@ -1,58 +0,0 @@ -# Reproducing Conformance Test Results - -## Prerequisites - -[Follow the docs on how to set up cloud credentials for GCP](https://docs.edgeless.systems/constellation/getting-started/install#set-up-cloud-credentials) - -[Install kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/) for working with Kubernetes - -Additionally, [Sonobuoy CLI is required.](https://github.com/vmware-tanzu/sonobuoy/releases) -These tests results were produced using Sonobuoy v0.56.10 - -## Provision Constellation Cluster - -```sh -constellation config generate gcp -``` - -Fill the config with the needed values for your cloud subscription. -Set `kubernetesVersion: "1.x"`. - -```sh -constellation config fetch-measurements -constellation create -c3 -w2 -y -constellation init --conformance -export KUBECONFIG="$PWD/constellation-admin.conf" -``` - -## Run Conformance Tests - -```sh -# 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: - -```sh -tar -xvf $outfile -cat plugins/e2e/results/global/e2e.log -cat plugins/e2e/results/global/junit_01.xml -``` - -## Cleanup - -```sh -# Remove test deployments -sonobuoy delete --wait -# Or, shutdown cluster -constellation terminate -rm constellation-mastersecret.base64 -```