Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly use TNF_ENABLE_XML_CREATION #1751

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ The test suite has the ability to create the JUNit XML File output containing th
To enable this, set:

```shell
export ENABLE_XML_CREATION=true
export TNF_ENABLE_XML_CREATION=true
```

This will create a file named `cnf-certification-test/cnf-certification-tests_junit.xml`.
Expand Down
2 changes: 1 addition & 1 deletion docs/test-output.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ The "20230620-110654" sample prefix means "June-20th 2023, 11:06:54"
This is the content of the tar.gz file:

* claim.json
* cnf-certification-tests_junit.xml (Only if enabled via `ENABLE_XML_CREATION` environment variable)
* cnf-certification-tests_junit.xml (Only if enabled via `TNF_ENABLE_XML_CREATION` environment variable)
* claimjson.js
* classification.js
* results.html
Expand Down
2 changes: 1 addition & 1 deletion pkg/configuration/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,5 @@ type TestParameters struct {
IncludeWebFilesInOutputFolder bool `split_words:"true" default:"false"`
OmitArtifactsZipFile bool `split_words:"true" default:"false"`
EnableDataCollection bool `split_words:"true" envconfig:"ENABLE_DATA_COLLECTION" default:"false"`
EnableXMLCreation bool `split_words:"true" envconfig:"ENABLE_XML_CREATION" default:"false"`
EnableXMLCreation bool `split_words:"true" envconfig:"TNF_ENABLE_XML_CREATION" default:"false"`
}
2 changes: 1 addition & 1 deletion script/run-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ TNF_OMIT_ARTIFACTS_ZIP_FILE_DEFAULT=false
TNF_INCLUDE_WEB_FILES_IN_OUTPUT_FOLDER_DEFAULT=false
ON_DEMAND_DEBUG_PODS_DEFAULT=false
TNF_ENABLE_DATA_COLLECTION_DEFAULT=false
TNF_ENABLE_XML_CREATION=false
TNF_ENABLE_XML_CREATION_DEFAULT=false

get_container_tnf_kubeconfig_path_from_index() {
local local_path_index="$1"
Expand Down
Loading