testkube
testkube copied to clipboard
Initialization logs
Before any test is executed we have something called "init container" that fetches the code and prepares the following container to be executed. However, if something fails during the init container phase. The user is not warned at all of what happened unless he goes into kubernetes to check the logs of the init container or in some other way. To prevent that and to give better feedback to what's happening to the user. The first lines of the Test Logs should be follow this pattern:
- Initializing...
- Fetching test content from [source name] (in bold/colour)[source type]
- Copying data to the following dir
- Do an ls -laH of the files in that dir.
- Setting up environment variables
- Print environment variables of type basic
- Setting up secret variables
- Print the name of the variable of the type secret (only the name)
- In case the user specified a file to be uploaded at execution time, print that as well.