Fix workflow run in other tests, add logs

This commit is contained in:
Nikola Jokic
2023-12-07 14:21:33 +01:00
parent 2572fbcb1a
commit f914f627f1
9 changed files with 43 additions and 24 deletions

View File

@@ -58,10 +58,13 @@ function main() {
build_image
create_cluster
install_arc
install_scale_set || failed+=("install_scale_set")
run_workflow || failed+=("run_workflow")
install_scale_set
WORKFLOW_FILE="${WORKFLOW_FILE}" SCALE_SET_NAME="${SCALE_SET_NAME}" run_workflow || failed+=("run_workflow")
INSTALLATION_NAME="${SCALE_SET_NAME}" NAMESPACE="${SCALE_SET_NAMESPACE}" cleanup_scale_set || failed+=("cleanup_scale_set")
NAMESPACE="${ARC_NAMESPACE}" arc_logs
delete_cluster
print_results "${failed[@]}"