From c7529eee8e3307ef6c22cc2a1d88ea799a068373 Mon Sep 17 00:00:00 2001 From: Marek Michali Date: Wed, 25 Sep 2024 12:40:20 +0200 Subject: [PATCH] Update docs --- docs/contributor/05-10-e2e_tests.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/docs/contributor/05-10-e2e_tests.md b/docs/contributor/05-10-e2e_tests.md index 0370baa48a..61a5ac189b 100644 --- a/docs/contributor/05-10-e2e_tests.md +++ b/docs/contributor/05-10-e2e_tests.md @@ -126,6 +126,31 @@ The test executes the following steps: make skr-networking-test ``` +## Binding Tests + +### Usage + +The test executes the following steps: +1. Provisions a Kyma runtime cluster. +2. Creates a binding and saves the returned kubeconfig. +3. Inits a k8s client with the returned kubeconfig. +4. Tries to fetch a secret. +5. Deprovisions the Kyma runtime instance and cleans up the resources. + +### Test Execution + +1. Before you run the test, prepare the `.env` file based on this [`.env.template`](/testing/e2e/skr/skr-test/.env.template). +2. To set up the environment variables in your system, run: + + ```bash + export $(xargs < .env) + ``` + +3. Run the test scenario: + ```bash + make skr-binding-test + ``` + ## CI Pipelines The tests are run once per day at 01:05 by the given ProwJobs: