@@ -11,21 +11,24 @@ This project contains test sources for various languages, frameworks and tools:
1111
1212## Bootstrapping
1313
14- For a simple local setup use the following instructions:
15- ```
16- $ kubectl testkube init
17- $ kubectl testkube dashboard
14+ ``` bash
15+ # For a simple local setup use the following instructions
16+ kubectl testkube init
17+
18+ # to use Testkube Pro setup and connect an agent
19+ # look at the UI for command with correct tokens
20+ testkube pro init --agent-token=tkcagnt_etc.pp --org-id=tkcorg_etc.pp --env-id=tkcenv_etc.pp
1821```
1922
2023For a GKE based setup using Flux as GitOps tool, use the following instructions:
2124``` bash
2225# define required ENV variables for the next steps to work
23- $ export GITHUB_USER=lreimer
24- $ export GITHUB_TOKEN=< your-token>
26+ export GITHUB_USER=lreimer
27+ export GITHUB_TOKEN=< your-token>
2528
2629# setup a GKE cluster with Flux2
27- $ make create-gke-cluster
28- $ make bootstrap-flux2
30+ make create-gke-cluster
31+ make bootstrap-flux2
2932
3033# modify Flux kustomization and add
3134# - infrastructure-sync.yaml
@@ -36,16 +39,16 @@ $ make bootstrap-flux2
3639# - image-update-automation.yaml
3740
3841# if the TestKube Helm release fails to reconciliate
39- $ flux suspend hr testkube
40- $ flux resume hr testkube
42+ flux suspend hr testkube
43+ flux resume hr testkube
4144
4245# you also need to create the webhook for the Git Repository
4346# Payload URL: http://<LoadBalancerAddress>/<ReceiverURL>
4447# Secret: the webhook-token value
45- # $ kubectl -n flux-system get svc/receiver
46- # $ kubectl -n flux-system get receiver/webapp
48+ # kubectl -n flux-system get svc/receiver
49+ # kubectl -n flux-system get receiver/webapp
4750
48- $ make delete-gke-cluster
51+ make delete-gke-cluster
4952```
5053
5154## TestKube UI and CLI
@@ -161,6 +164,7 @@ kubectl testkube run testsuite hands-on-testkube
161164
162165# alternatively, create test suite via GitOps
163166# see k8s/applications/testsuite.yaml
167+ # this uses the new test workflow CRD
164168```
165169
166170## GitHub Actions Example
0 commit comments