From 11b00bd52580f7f28d27cceeeeb758180423908f Mon Sep 17 00:00:00 2001 From: ansgarz Date: Wed, 15 Dec 2021 18:59:22 +0100 Subject: [PATCH] [skip ci] add puml for integrationtest --- .../integration-test.puml | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 src/test/resources/local-integration-test/integration-test.puml diff --git a/src/test/resources/local-integration-test/integration-test.puml b/src/test/resources/local-integration-test/integration-test.puml new file mode 100644 index 0000000..defc14e --- /dev/null +++ b/src/test/resources/local-integration-test/integration-test.puml @@ -0,0 +1,44 @@ +@startuml + +autonumber + +skinparam sequenceBox { + borderColor White +} + +participant gitlab_runner + +box "outer container" #LightBlue + +participant .gitlab_ci +participant PreparingCommands +participant test_script + +end box + + +box "k3s" #CornSilk + +participant k3s_api_server +participant backup_pod + +end box + + +gitlab_runner -> k3s_api_server: run k3s as container +gitlab_runner -> .gitlab_ci : run + +.gitlab_ci -> PreparingCommands : Install packages (curl bash ...) +.gitlab_ci -> PreparingCommands : get k3s_api_server config for k3s_api_server + +.gitlab_ci -> test_script : run + +test_script -> k3s_api_server: apply cert-manager +test_script -> k3s_api_server: apply localstack +test_script -> k3s_api_server: enable tls / create certificates +test_script -> k3s_api_server: apply cloud +test_script -> k3s_api_server: create backup_pod (by scale to 1) +test_script -> backup_pod: backup +test_script -> backup_pod: restore + +@enduml