You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a decide-if-modulectl-command.sh in the test-infra/ado/scripts which reads the module_config and returns true if we should use modulectl, or false otherwise. This could be done based on the icons field (since it is mandatory in the modulectl) in the module-config, so if there is an icons field, the script should return true, otherwise false.
Use collect-module-info.sh as a reference how to fetch the module-config file when a PR is created.
We also need to add this script as a step in the test-infra/ado/templates/submission-pipeline.yaml and only execute the following (already existing) steps if the result is false:
download_kyma_cli
validate_module_changes
kyma_alpha_create_module
Reasons
We need to support both Kyma-cli and modulectl depending on the module-config file provided.
ACs
Create decide-if-modulectl-command.sh script
Add it as a step in the submission-pipeline workflow
Add a condition to execute the above-mentioned steps if the output of the script is false.
The text was updated successfully, but these errors were encountered:
Description
Create a
decide-if-modulectl-command.sh
in the test-infra/ado/scripts which reads the module_config and returns true if we should use modulectl, or false otherwise. This could be done based on theicons
field (since it is mandatory in the modulectl) in the module-config, so if there is anicons
field, the script should return true, otherwise false.We also need to add this script as a step in the test-infra/ado/templates/submission-pipeline.yaml and only execute the following (already existing) steps if the result is false:
Reasons
We need to support both Kyma-cli and modulectl depending on the module-config file provided.
ACs
decide-if-modulectl-command.sh
scriptsubmission-pipeline
workflowThe text was updated successfully, but these errors were encountered: