Skip to content

Commit bd739e6

Browse files
fix test results not found issue in nightly job
1 parent de30df8 commit bd739e6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.ibm/pipelines/jobs/periodic.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,28 @@ handle_nightly() {
1515
initiate_deployments
1616
add_sanity_plugins_check
1717
deploy_test_backstage_provider "${NAME_SPACE}"
18+
19+
run_standard_deployment_tests
20+
run_rds_deployment_tests
21+
# run_runtime_config_change_tests
22+
23+
}
24+
25+
run_standard_deployment_tests() {
1826
local url="https://${RELEASE_NAME}-backstage-${NAME_SPACE}.${K8S_CLUSTER_ROUTER_BASE}"
1927
check_and_test "${RELEASE_NAME}" "${NAME_SPACE}" "${url}"
2028
local rbac_url="https://${RELEASE_NAME_RBAC}-backstage-${NAME_SPACE_RBAC}.${K8S_CLUSTER_ROUTER_BASE}"
2129
check_and_test "${RELEASE_NAME_RBAC}" "${NAME_SPACE_RBAC}" "${rbac_url}"
30+
}
2231

32+
run_rds_deployment_tests() {
2333
# Only test TLS config with RDS and Change configuration at runtime in nightly jobs
2434
initiate_rds_deployment "${RELEASE_NAME}" "${NAME_SPACE_RDS}"
2535
local rds_url="https://${RELEASE_NAME}-backstage-${NAME_SPACE_RDS}.${K8S_CLUSTER_ROUTER_BASE}"
2636
check_and_test "${RELEASE_NAME}" "${NAME_SPACE_RDS}" "${rds_url}"
37+
}
2738

39+
run_runtime_config_change_tests() {
2840
# Deploy `showcase-runtime` to run tests that require configuration changes at runtime
2941
configure_namespace "${NAME_SPACE_RUNTIME}"
3042
uninstall_helmchart "${NAME_SPACE_RUNTIME}" "${RELEASE_NAME}"

0 commit comments

Comments
 (0)